Ive asked this twice because no one answered on the last one
script.Parent.ChildAdded:connect(function(child)
if (child.Name == "SeatWeld") then
local Char = child.Part1.Parent
local Human = game.Players:GetPlayerFromCharacter(Char)-- Relocate
if (not Human) then
return
end
local heli = script.Parent.Parent
heli.Parent = game.Players.LocalPlayer.Character -- moves the heli into the player model
end
end)
script.Parent.ChildAdded:connect(function(child) -- ignore this i made it like this
while wait(0.2) do
if script.Parent:FindFirstChild("SeatWeld") == nil then -- Checks if the seatweld is there or not
local Char = child.Part1.Parent
local Human = game.Players:GetPlayerFromCharacter(Char) -- Locate out (if left seat)
if (not Human) then
return
end
local heli = script.Parent.Parent
heli.Parent = game.Workspace -- moves the heli out of the player model
end
end
end)
This is placed in a seat. It works perfectly fine in studio but in server mode, the helicopter model doesn't move into the player model.

1 comment
Finally! it worked! thank you...