Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What time measurement does wait() use?

Hello! noob scripter here, I wanted to know what time measurement is supposed to go in between the parenthesis in the wait() function. Is it milliseconds or regular seconds?

2 answers

✓ Accepted answer

Well, the amount inside the parenthesis of wait() is number of seconds. For eg: wait(1) is waiting for 1 second. Also, if you'll use only wait(), so the wait is actually 1/33th second.

Lemme know if it helps!

4 comments

0

Thanks a lot! this exactly what i needed. see the thing is i'm trying to sync up 2 different animations that start at different times so i needed to make one animation wait before starting. Thank you!

0

Well, for that you can also use, AnimationTrack.Stopped:wait(), it will execute the further when the AnimationTrack stopped, i.e., completes.

0

I mean it won't execute the further code

0

Oh, Ok. but for now i think i'll stick with wait()

This discussion is preserved as it was. New answers, comments, and votes are closed.