Local Script:
PanicButton.MouseButton1Click:Connect(function()
RadioEvent2:FireServer("**PANIC BUTTON PRESSED IN " .. string.upper(CurrentChannel) .. "**",CurrentChannel,"panic")
end)
Server Script:
RadioEvent2.OnServerEvent:Connect(function(Player,Message,Channel,Type)
if Type == "panic" then
local sound = Instance.new("Sound", game.Workspace)
sound.Pitch = 1
sound.SoundId = "rbxassetid://2831166360"
sound.Volume = 10
sound.Looped = false
sound:Play()
wait(5)
sound:Destroy()
end
if Type == "radio" then
local sound = Instance.new("Sound", game.Workspace)
sound.Pitch = 1
sound.SoundId = "rbxassetid://2600299714"
sound.Volume = 10
sound.Looped = false
sound:Play()
wait(5)
sound:Destroy()
end
end)