Quick little question. Is RunService like a while loop and when would you use it?
1 Like
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
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 towhile 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.