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

How do I get the players position on a server script not a local script?

Asked by 3 years ago

hey I want to know this because I am making a transformers game and I am trying to code it so when the player equips a tool called transform it copies a car model for replicated storage and sets it to the players position. When I learn how animations work I will play a transform animation before this so it looks like you're transforming. I got it all working but you can't sit in the car seat because the car model is being moved to the player via local script. But if I don't use a local script I can't set the car copy to the players position, so that's why I am trying to find the players position server side and set it that way so you can sit in the seat of the car. if you could also suggest a different way of making it work I'm all ears

Answer this question