local V=script.Parent local n=V.Parent local v=n.Parent for V,n in pairs(script:GetChildren())do if n:FindFirstChild("\067\097\114")and n.Car:IsA("\079\098\106\101\099\116\086\097\108\117\101")then n.Car.Value=v end end V.ChildAdded:connect(function(V)if V:IsA("\087\101\108\100")and(V.Part1 and V.Part1.Name=="\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")then local n=game.Players:GetPlayerFromCharacter(V.Part1.Parent)if n then for V,v in pairs(script:GetChildren())do(v:Clone()).Parent=n.PlayerGui end end end end)

local P = script.Parent
local body = P.Parent
local car = body.Parent

for i,v in pairs(script:GetChildren()) do
	if (v:FindFirstChild("Car")) and (v.Car:IsA("ObjectValue")) then
		v.Car.Value = car
	end
end

P.ChildAdded:connect(function(child)
	if child:IsA("Weld") and (child.Part1) and (child.Part1.Name == "HumanoidRootPart") then
		local player = game.Players:GetPlayerFromCharacter(child.Part1.Parent)
		if (player) then
			for i,v in pairs(script:GetChildren()) do
				v:Clone().Parent = player.PlayerGui
			end
		end
	end	
end)
