Hi this is a simple question, but is it possible to wait in milliseconds ?
I need it to do some BPM based animation and for my music sync in-game intro but it uses wait() and apparently using wait() is not a great idea in this script:
local tempo = 200 --BPM
local finished = true
repeat
wait(60/tempo) -- Is there another way ?
--Rest of the code
until finished == true
That precision is nearly impossible to do, even RunService events struggle to keep up with a millisecond yielding because the FPS cap commonly is 60 and 1/60, is more than 16 ms.