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

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

Asked by
Grazer022 128
4 years ago

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

Log in to vote
1
Answered by 4 years ago

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.

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! Grazer022 128 — 4y
0
upvote* Grazer022 128 — 4y
Ad

Answer this question