I been trying to make an expanding and de-expanding block but i dont know how to use Boolean value AKA True and False
--declare a bool like any other variable in roblox lua bool = true --can set it to true or false bool = false print(bool)--prints false since bool == false --can also use in an if statment if bool == false then --some code end
Closed as Non-Descriptive by BlueTaslem
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?