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

0

I highly recommend you to add a wait(3) on the 6th line, so it makes it works each 3 seconds properly.

0

I'll try that, thanks

0

It worked, thanks

0

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.

0

Yeah I see that now :P