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