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

How to make a new thread or whatever?

Asked by
816i 19
7 years ago
Edited 7 years ago

So Im using a while true and wait() do script, I want to be able to use scripts even after that one How would I go by doing that?

while true and wait() do
    if wag < MIN or wag > MAX then --If number is out of bounds
        bool = not bool --switch the bool
    end
    wag = (bool and wag + 1) or wag - 1 --increment value according to bool
end
print('1')

the print is in there as to show it wont print 1

Answer this question