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

What does RunService do? And what is RunService useful for?

I get confused and I don’t understand RunService really well. I would appreciate it if someone could explain this to me in a really detailed way. Thanks again!

1 answer

✓ Accepted answer

RunService takes care of any and all progression of time and determining where a script is running (server or client).

The functions RunService:IsClient(), RunService:IsServer(), and RunService:IsStudio() can determine whether a script exists, and the events Heartbeat, Stepped, and RenderStepped are used to perform actions literally every frame. There are countless others -- make sure to check the documentation.

2 comments

0

thank you so much! I’ve learned how to use it and now i used it in my script without getting confused at all! This really helps, you get an upbote!

0

upvote*

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