I'm just strugging to make a radio with Filtering Enabled It's a server script.
local PonerMusica = game.Workspace.PonerMusicaGlobal local PararMusica = game.Workspace.PararMusicaGlobal local EventoFiltering = game.Workspace.CambiarTexto Debug = 0 local function PonerMusicaGlobal(p) if Debug == 0 then Debug = 1 Audio = Instance.new("Sound") Audio.Name = "Audio" Audio.Parent = game.Workspace local ID = script.Parent.Text Audio.Looped = true Audio.SoundId = "rbxassetid://"..ID Audio:Play() end end local function PararMusicaGlobal(p) if Debug == 1 then Debug = 0 Audio.Looped = false Audio:Stop() end end PararMusica.OnServerEvent:Connect(PararMusicaGlobal) PonerMusica.OnServerEvent:Connect(PonerMusicaGlobal)
You need to make a RemoteEvent inside the player with a local script that changes the text in the textbox. The RemoteEvent needs to be triggered by your ServerScript.