Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

how can i make a part move locally that uses body position to move?

Asked by 2 years ago

I'm trying to make a platformer in which I need moving parts that can move the player with them but I also need it to be done locally, to reduce lag. I have a local script that uses body position to move the part and also move the player with it but the body position doesn't work as it would in a normal script, I put the local script in starterplayerscripts. how would I go about making the local script function as a normal script would? also when I say the local script does not function properly I mean that the body position doesn't work unless the player is touching the part the body position is inside of.

0
Ah yes, some wonky player part ownership moment. Set the ownership of the part to the player from the server. Choppiness can be cringe indeed greatneil80 2647 — 2y
0
Actually I just created the part inside the local script to give the client ownership from the start and it works. ZeInventor 5 — 2y

Answer this question