Help with make something run in server but not locally

Hi! So im making a script that makes my character’s arms follow my mouse(only Y axis), like an fps game and im having trouble making it run smoothly in the client but optimised in the server.
How Im trying to do this is using while true do (which runs slower obvs) and renderstepped for client but i cant seem to make the while true do only run in server and not replicate in the client since having 2 fast loops (the while true do one and renderstepped) at the same time makes my arms stutter really badly.

1 Like

You may have posted in a wrong sub-category. Delete the post, and repost it in #help-and-feedback:scripting-support.

Neoasync

1 Like