|
| 27 Aug 2014 07:00 AM |
Hey There!
When i try to teleport a car, it only teleports one the object thats selected, and not everything thats welded to it, like in a Humanoid. This is what i do:
local car = game.ReplicatedStorage:FindFirstChild(v:WaitForChild("Data").SelectedCar.Text):Clone() car.Parent = game.Workspace.Cars car.VehicleSeat.CFrame = CFrame.new(Vector3.new(32.5, 5.19, -12.5)) wait() for i, v in ipairs(car:GetChildren()) do v:MakeJoints() v.Anchored = false end
So it only teleports the VehicleSeat.
How do i do this successfully?
THX! Planesoldier |
|
|
| Report Abuse |
|
|
ByDefault
|
  |
| Joined: 25 Jul 2014 |
| Total Posts: 3197 |
|
|
| 27 Aug 2014 07:02 AM |
| car:MoveTo(Vector3.new(0, 100, 0)) |
|
|
| Report Abuse |
|
|
ByDefault
|
  |
| Joined: 25 Jul 2014 |
| Total Posts: 3197 |
|
|
| 27 Aug 2014 07:03 AM |
| Car being the model that all the car parts are in |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2014 07:05 AM |
| THX! That worked! Thanks for your help :D |
|
|
| Report Abuse |
|
|
ByDefault
|
  |
| Joined: 25 Jul 2014 |
| Total Posts: 3197 |
|
| |
|
Zelphurx
|
  |
| Joined: 15 Dec 2012 |
| Total Posts: 534 |
|
|
| 27 Aug 2014 07:46 AM |
| I wish I knew anything about that script.... I just started. |
|
|
| Report Abuse |
|
|