----------------------------------
-----------CONNECTIONS------------
----------------------------------


SeatWeldConnection = nil

function MakeSeatConnections()
	SeatWeldConnection = SeatWeld.Changed:connect(WeldChanged)
end
function BreakSeatConnections()
	SeatWeldConnection:disconnect()
end

Piano.Bench.Seat.Changed:Connect(function()
	Piano.Bench.Seat.Changed:Wait()
	if Piano.Bench.Seat.Occupant == nil or Piano.Bench.Seat.Changed == "" or not Piano.Bench.Seat.Changed then
		Shutdown()
	end
end)

Seat.ChildAdded:connect(ChildAdded)
