Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

why doesent and work instead of or?

Asked by 6 years ago
Edited 6 years ago

when i make the script like this it works but doesent do what i want because a brick cant be waterpart and inflammable at the same time

if waterpart or inflammable == false then

end

if i do this it doesent work at all

if waterpart and inflamable == false then

end

and there isnt any errors

0
Is there a need for the if statement xEiffel 280 — 6y
0
It's pretty self explanatory. "and" only works if both are true, and "or" needs at least one to be true. UgOsMiLy 1074 — 6y

Answer this question