Code:
wait(2)
while bowser.Health > 0 do
end
createFirebolt()
wait(2)
Code:
wait(2)
while bowser.Health > 0 do
end
createFirebolt()
wait(2)
Here
wait(2)
while bowser.Health > 0
wait()
end
createFirebolt()
wait(2)
I am not sure if you need the wait(2) at the end and I also don't know what "createFirebolt()" does since you don't have any function created
You should provide an explenation as to why the error occoured instead of just giving them their fixed code.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
put wait() on line 3
It's because while loops run so fast that it crashes your script just put a wait within the scope of the loop