function Seated(E)player=game.Players:playerFromCharacter(E.Part1.Parent)if player~=nil then thing2=script.Parent.Turret1211:clone()thing2.Parent=player.Backpack thing2.Vehicle.Value=script.Parent.Parent end end function UNSeated(E)player=game.Players:playerFromCharacter(E.Part1.Parent)if player~=nil then if player.Backpack:findFirstChild("\084\117\114\114\101\116\049\050\049\049")~=nil then(player.Backpack:findFirstChild("\084\117\114\114\101\116\049\050\049\049")).Active=false;(player.Backpack:findFirstChild("\084\117\114\114\101\116\049\050\049\049")):remove()end end end script.Parent.ChildAdded:connect(Seated)script.Parent.ChildRemoved:connect(UNSeated)



function Seated(theSeated)
	player = game.Players:playerFromCharacter(theSeated.Part1.Parent) 
	if player ~= nil then
		thing2 = script.Parent.Turret1211:clone()
		thing2.Parent = player.Backpack
		thing2.Vehicle.Value = script.Parent.Parent
	end
end


function UNSeated(theSeated)
	player = game.Players:playerFromCharacter(theSeated.Part1.Parent) 
	if player ~= nil then
		if player.Backpack:findFirstChild("Turret1211") ~= nil then
			player.Backpack:findFirstChild("Turret1211").Active = false
			player.Backpack:findFirstChild("Turret1211"):remove()
		end
	end
end

script.Parent.ChildAdded:connect(Seated)
script.Parent.ChildRemoved:connect(UNSeated)
