i have gui button if i press it then car will teleport to place i needed but wheels wont move and when i sit in car wheels will tear it apart
local Camera = game.Workspace.CurrentCamera
local startCFrame = CFrame.new(-30.12, 4.018, 22.29) * CFrame.Angles(0, 0, math.rad(-90))
local endCFrame = CFrame.new(-30.37, 5, -218.21) * CFrame.Angles(0,0, math.rad(-90))
local model = game.Workspace.cars.Rally7
script.Parent.MouseButton1Click:Connect(function()
model:SetPrimaryPartCFrame(endCFrame)
model.fhoodB.Anchored = false
script.Parent.Parent.Parent.Enabled = false
Camera.CameraType = "Scriptable"
Camera.CFrame = game.Workspace.cars.Rally7.campartrace1.CFrame
game.Players.LocalPlayer.character.LowerTorso.CFrame = CFrame.new(-30.37, 5, -218.21)
end)
my car

1 comment
the teleport should be made via ServerScript