I'm just strugging to make a radio with Filtering Enabled It's a server script.
01 | local PonerMusica = game.Workspace.PonerMusicaGlobal |
02 | local PararMusica = game.Workspace.PararMusicaGlobal |
03 | local EventoFiltering = game.Workspace.CambiarTexto |
04 | Debug = 0 |
05 |
06 | local function PonerMusicaGlobal(p) |
07 | if Debug = = 0 then |
08 | Debug = 1 |
09 | Audio = Instance.new( "Sound" ) |
10 | Audio.Name = "Audio" |
11 | Audio.Parent = game.Workspace |
12 | local ID = script.Parent.Text |
13 | Audio.Looped = true |
14 | Audio.SoundId = "rbxassetid://" ..ID |
15 | Audio:Play() |
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.