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

Why is runservice used in cframing, cameras, and etc.?

So I dont understand why you need runservice, its used a lot in cameras and cframing but i really dont know why.

1 answer

✓ Accepted answer

RunService is used a lot in cameras and CFraming because sometimes the client (aka a user) isn't always running a stable 60 frames per second or the same framerate as you. With different frame rates, the animation you make could last 5 seconds while it could last 50 seconds for someone else. The reason RunService is great is because you can run a piece of code to counteract that delay per frame so an animation runs exactly the same for everyone regardless of the framerate condition.

You can read more about RunService here: http://wiki.roblox.com/index.php?title=API:Class/RunService

1 comment

0

Oh wow thank you!

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