function onChildAdded(O)if O.Name=="\083\101\097\116\087\101\108\100"then local X=O.part1.Parent:findFirstChild("\072\117\109\097\110\111\105\100")if X~=nil then print("\072\117\109\097\110 \073\078")seat.SirenControl.CarName.Value=X.Parent.Name.."\'\115 \067\097\114"seat.Parent.Name=X.Parent.Name.."\'\115 \067\097\114"seat.SirenControl.Vehicle.Value=script.Parent.Parent;(s.Parent.SirenControl:clone()).Parent=(game.Players:findFirstChild(X.Parent.Name)).PlayerGui end end end function onChildRemoved(O)if O.Name=="\083\101\097\116\087\101\108\100"then local X=O.part1.Parent:findFirstChild("\072\117\109\097\110\111\105\100")if X~=nil then print("\072\117\109\097\110 \079\085\084");(game.Players:findFirstChild(X.Parent.Name)).PlayerGui.SirenControl:remove()end end end script.Parent.ChildAdded:connect(onChildAdded)script.Parent.ChildRemoved:connect(onChildRemoved)
---------------------------------------------------------------
function onChildAdded(child)
	if child.Name == "SeatWeld" then
		local human = child.part1.Parent:findFirstChild("Humanoid")
		if human ~= nil then
			print("Human IN")
			seat.SirenControl.CarName.Value = human.Parent.Name .. "'s Car"
			seat.Parent.Name = human.Parent.Name .. "'s Car"
			seat.SirenControl.Vehicle.Value = script.Parent.Parent
			s.Parent.SirenControl:clone().Parent = game.Players:findFirstChild(human.Parent.Name).PlayerGui
		end
	end
end

function onChildRemoved(child)
	if child.Name == "SeatWeld" then
		local human = child.part1.Parent:findFirstChild("Humanoid")
		if human ~= nil then
			print("Human OUT")
			game.Players:findFirstChild(human.Parent.Name).PlayerGui.SirenControl:remove()
		end
	end
end

script.Parent.ChildAdded:connect(onChildAdded)
script.Parent.ChildRemoved:connect(onChildRemoved)
