Halp SH It never works without a loop
✓ ANSWER ACCEPTED
Why is if statements only working with loops when I use them??
1 answer
✓ Accepted answer
enabled = true
while enabled = true do
if RandomValue == false then
print("whatever")
enabled = false
end
wait()
end
This should do..I wrote it straight in the answer box but I can't see any errors..
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
What are you trying to do? If you don't have something like a connected event, code will only run as soon as it is loaded (or as soon as waits end). Do you intend your code to run once at the beginning or sometime else?
Its already answered I made this so SHdrivingmenuts could answer it.