Yes i might be dumb, but, can someone help me understand boolean more? im confused and dont understand how to use them right.
Yes i know you can do
var1 = true
while var1 == true do
print"hello"
end
and if its not true then while not.
but my problem is, how do i make it where if i do something the variable is false? all the tutorials i watch tell me that simple problems i did above but never put it to a real situation.
Like
var1 = true
while var1 == true do print"hello" wait(1) end
wait (10)
var1= false
while not var1 == true do print"nope" wait(1) end
I tried that but it never worked. Please help me im stupid.

1 comment
http://wiki.roblox.com/index.php?title=Boolean