RunService use/what is it?

Quick little question. Is RunService like a while loop and when would you use it?

1 Like

Please research topics before making a post here. RunService | Roblox Creator Documentation

2 Likes

run service is a service that executes code in a certain way check it here RunService | Roblox Creator Documentation

Like someone stated before use search.

There is a wiki article on this lol

image

1 Like

You can do a lot of things with RunService. Just to name a few:

  • Check if it’s Roblox Player, or Roblox Studio
  • Make Loops using RunService.RenderStepped, RunService.Heartbeat (and a lot of others), a good alternative to while true do loops.
  • Check if it’s on the Client or the Server
    You can check out more from the wiki that many others have linked.
2 Likes

I read the article and I didnt get it.