I am trying to make a code entering system

3 Likes

Welcome to the community or the entire website, and please explain a bit more of what the problem is.

2 Likes

Is your problem that the laser isn’t turning off?

1 Like

yes that is the problem. I have it set so the code is a property. if the numbers given are the same as the property it should work. but it doesnt

Well, in the last if block, you forgot to put get property for the “code” property.

2 Likes

If one of these worked please mark a solution. Also you spelled fourth wrong (its fourth not forth)