tunes={"\114\098\120\097\115\115\101\116\105\100\058\047\047\049\056\051\053\053\049\057\051\051\048"}seat.ChildAdded:Connect(function(o)if o.Name=="\083\101\097\116\087\101\108\100"then local a=game.Players:GetPlayerFromCharacter(o.Part1.Parent)if a then local x=a.Character:FindFirstChild("\072\117\109\097\110\111\105\100")occupant=o.Part1.Parent if x.RigType==Enum.HumanoidRigType.R6 then animation=x:LoadAnimation(r6Anim)else animation=x:LoadAnimation(r15Anim)end animation:Play()end end end)seat.ChildRemoved:Connect(function(o)if o.Name=="\083\101\097\116\087\101\108\100"then local a=game.Players:GetPlayerFromCharacter(o.Part1.Parent)if a then animation:Stop()occupant=nil sheetMusic.Sound:Stop()end end end)while wait(.1)do if occupant~=nil then repeat tune=tunes[math.random(1,#tunes)]until tune~=oldTune oldTune=tune sheetMusic.Sound.SoundId=tune sheetMusic.Sound:Play()repeat wait()until not sheetMusic.Sound.Playing end end

tunes = {
	"rbxassetid://1835519330",
}

seat.ChildAdded:Connect(function(obj)
	if obj.Name == "SeatWeld" then
		local player = game.Players:GetPlayerFromCharacter(obj.Part1.Parent)
		if player then
			local hum = player.Character:FindFirstChild("Humanoid")
			occupant = obj.Part1.Parent
			if hum.RigType == Enum.HumanoidRigType.R6 then
				animation = hum:LoadAnimation(r6Anim)
			else
				animation = hum:LoadAnimation(r15Anim)
			end
			animation:Play()
		end
	end
end)

seat.ChildRemoved:Connect(function(obj)
	if obj.Name == "SeatWeld" then
		local player = game.Players:GetPlayerFromCharacter(obj.Part1.Parent)
		if player then
			animation:Stop()
			occupant = nil
			sheetMusic.Sound:Stop()
		end
	end
end)

while wait(0.1) do
	if occupant ~= nil then
		repeat
			tune = tunes[math.random(1, #tunes)]
		until tune ~= oldTune
		oldTune = tune
		sheetMusic.Sound.SoundId = tune	
		sheetMusic.Sound:Play()
		repeat
			wait()
		until not sheetMusic.Sound.Playing
	end
end
