-- Functions


play.OnServerEvent:Connect(function(player, character)
	
	character.Radio.Sound:Play()
	
end)

pause.OnServerEvent:Connect(function(player, character)
	
	character.Radio.Sound:Pause()
	
end)

resume.OnServerEvent:Connect(function(player, character)
	
	character.Radio.Sound:Resume()
	
end)

stop.OnServerEvent:Connect(function(player, character)
	
	character.Radio.Sound:Stop()
	
end)

changeID.OnServerEvent:Connect(function(player, character, value)
	
	wait(.5)
		
	character:WaitForChild("Radio").Sound:Stop()
	character:WaitForChild("Radio").Sound.SoundId = ('rbxassetid://'..value)
	
end)
