local player = game.Players.LocalPlayer local sound = Instance.new("Sound",script) sound.Looped = true local remote = game.Players.LocalPlayer.Character:WaitForChild("RemoteEvent") remote.OnClientEvent:Connect(function(macaroni,id) sound.SoundId = "rbxassetid://"..id sound:Play() end) player.Chatted:Connect(function(msg) if msg:sub(1,5) == "/stop" then sound:Stop() end end) while true do wait() remote:FireServer(sound.PlaybackLoudness) end