How would I delay this function for 2 seconds?
`` coroutine.resume(coroutine.create(function(part) wait(0.03) Bulle.Touched:connect(function() Bulle:Remove() Bulsmok:Remove() end) end))
How would I delay this function for 2 seconds?
`` coroutine.resume(coroutine.create(function(part) wait(0.03) Bulle.Touched:connect(function() Bulle:Remove() Bulsmok:Remove() end) end))
you can use wait(2) :/
Use wait(2)
I found out the answer to my own question....
delay(0.2, function()
end)
don't use wait. putting wait in a function just makes the function stop for however long you want, then it'll keep going. using delay(x, function() end) makes it so that the function cannot fire again for x10. idk tho im only hypothesizing
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
http://wiki.roblox.com/index.php?title=Global_namespace/Roblox_namespace#delay