This is a local script in a Gui button. When it clones the plane into the workspace, the welds break and I also can't sit in the VehicleSeat.
local plane = game.Lighting:FindFirstChild("plane")
position = Vector3.new(0,5,0)
script.Parent.MouseButton1Down:connect(function()
local copy = plane:Clone()
copy.Parent = workspace
copy:MoveTo(position)
copy:MakeJoints()
local player = game.Players.LocalPlayer
player.Character:MoveTo(position)
end)
What I'm trying to make is a script that clones a plane into the workspace and teleports the player to the seat for them to instantly sit down in it.
