Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to delay this function for 2 seconds?

Asked by 6 years ago

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))

4 answers

Log in to vote
0
Answered by 6 years ago

you can use wait(2) :/

Ad
Log in to vote
0
Answered by 6 years ago

Use wait(2)

Log in to vote
0
Answered by 6 years ago

I found out the answer to my own question.... delay(0.2, function()
end)

Log in to vote
0
Answered by 4 years ago

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

Answer this question