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

Teleport a car from game.ServerStorage to workspace?

Asked by
IDKBlox 349 Moderation Voter
9 years ago

Im trying to teleport a car using :MoveTo() and when i do it... It teleports the care out of game.ServerStorage and into workspace, but when its in workspace the wheels fall off. Anyone know why?

Okay thanks

1 answer

Log in to vote
2
Answered by 9 years ago

From what your saying, I'm guessing you didn't use :MakeJoints(), so here is a example.

local car = game.ServerStorage.CarNameExample -- Car directory

local clone = car:Clone() -- Duplicate the car, if you want it for further use.
clone:MakeJoints() -- If it's unanchored, it'll fall apart without this.
clone.Parent = game.Workspace -- Change's the Clone's parent.
Ad

Answer this question