function WeldChanged(F)if F=="\080\097\114\101\110\116"and SeatWeld.Parent==nil then SeatWeld=nil Deactivate()BreakSeatConnections()end end function ChildAdded(F)if F:IsA("\087\101\108\100")then local O=F.Part1 local e=O.Parent local h=game.Players:GetPlayerFromCharacter(e)if h then SeatWeld=F Activate(h)MakeSeatConnections()end end end


function WeldChanged(property)
	if property == "Parent" and SeatWeld.Parent == nil then
		SeatWeld = nil
		Deactivate()
		BreakSeatConnections()
	end
end
function ChildAdded(child)
	if child:IsA("Weld") then
		local root = child.Part1
		local character = root.Parent
		local player = game.Players:GetPlayerFromCharacter(character)
		if player then
			SeatWeld = child
			Activate(player)
			MakeSeatConnections()
		end
	end
end
