This script should enable a particle named "Steam" and after 3 seconds it should disappear. It should also loop the whole thing forever.
The thing is that it just get stuck on "script.Parent.Steam.Enabled = true" and then nothing happens.
What is wrong with it?
while true do
script.Parent.Steam.Enabled = true
wait(3)
script.Parent.Steam.Enabled = false
end
Thanks

5 comments
I highly recommend you to add a wait(3) on the 6th line, so it makes it works each 3 seconds properly.
I'll try that, thanks
It worked, thanks
what is happening is that it immediately goes from line 5 to line 3 again in a split second because there's no wait(3) in between.
Yeah I see that now :P