I’ve seen some youtubers using this type of Service. Now i’m interested in learning RunService too. I would appreciate it if someone could explain this in a detailed way. Thanks!
what is RunService? And what does RunService do?
1 answer
RunService has many events, so it's hard to explain all of them... The most used one in my opinion is RenderStepped (RunService.RenderStepped). This is used in localscripts and is a great way to make a forever loop. If you put a function inside of the event...
game:GetService("RunService").RenderStepped:Connect(function()
print("Hello World")
end)
It will run every frame. If you don't know what frames are, they are like moving pictures that continuesly goes (On roblox it is max 60 frames per second, unless you use a rbx unlocker)
2 comments
I like NordicM's explanation. Developers use RunService to make things smoother in their game. For example, if I was trying to code being able to move furniture by moving my mouse, I would use RunService to help make the furniture move smoothly along with my mouse.
Thanks a lot for the help!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Watch this first - https://www.youtube.com/watch?v=nKDKxucbXOQ
Thanks!