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

What time measurement does wait() use?

Asked by 3 years ago

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

Log in to vote
0
Answered by 3 years ago

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!

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! AHeldalil 1 — 3y
0
Well, for that you can also use, AnimationTrack.Stopped:wait(), it will execute the further when the AnimationTrack stopped, i.e., completes. BestCreativeBoy 1395 — 3y
0
I mean it won't execute the further code BestCreativeBoy 1395 — 3y
0
Oh, Ok. but for now i think i'll stick with wait() AHeldalil 1 — 3y
Ad
Log in to vote
0
Answered by 3 years ago

It does 1 seconds

0
so if i were to do wait(3) it would wait for 3 seconds? AHeldalil 1 — 3y
0
yes BestCreativeBoy 1395 — 3y

Answer this question