I was learning about RunService. But when I read about RunService.RenderStepped, Stepped, Heartbeat's description, it says they all fire every approximately 1/60th of a second. If they all fire at that time and rate, what's the difference between them all?
✓ ANSWER ACCEPTED
What's the difference between RunService.RenderStepped, Stepped, Heartbeat?
1 answer
✓ Accepted answer
The RenderStepped event fires right before a new frame is drawn, and can only be used on the client. It's usefull for things like UI or Camera movement.
Heartbeat fires before every physics update and Stepped fires after the physics update.
All these events usualy fire around 60 times per second, but it could get decreased if your server is heavily loaded. (Or if your pc is a potato, for RenderStepped, that is.)
2 comments
0
What do you mean by before a new frame id drawn and physics update? (Sorry I'm new.)
0
^ you might want to read about what frames are (and FPS is) https://en.wikipedia.org/wiki/Frame_rate
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I think the fire rate varies with the client's frame rate and i think renderstepped runs before stepped which runs before heartbeat