I'm messing around with wait (), and I've found out that even though I'm decreasing the wait time in an object by half when it's in motion, it still looks to be around the speed after wait (.0125)
seconds.
The minimum wait() time is 1/30 of a second (about 0.033), if you need to process something at smaller intervals than that then you'll have to use a LocalScript
and connect to the RunService.RenderStepped
event, which delays by approximately 1/60 of a second:
game:GetService("RunService").RenderStepped:connect(function() --Fires around every 1/60 of a second end)
The slowest wait is wait() which is per frame.I'm not sure but I think wait() it's equal to 0.0333 seconds.
it can be anywhere between 0.1-what ever number like 200 or something
wait() waits for 2 frames, but wait(0) waits for 1 frame.