local ChatFilter = game:GetService("Chat") script.sound.OnServerEvent:connect(function(player, sound) sound:Play() end)
script.color.OnServerEvent:connect(function(player, color, brick) brick.BrickColor = BrickColor.new(color) end)
script.chat.OnServerEvent:connect(function(player, msg) script.givegui.Radio.Frame.L7.Value = script.givegui.Radio.Frame.L6.Value script.givegui.Radio.Frame.L6.Value = script.givegui.Radio.Frame.L5.Value script.givegui.Radio.Frame.L5.Value = script.givegui.Radio.Frame.L4.Value script.givegui.Radio.Frame.L4.Value = script.givegui.Radio.Frame.L3.Value script.givegui.Radio.Frame.L3.Value = script.givegui.Radio.Frame.L2.Value script.givegui.Radio.Frame.L2.Value = script.givegui.Radio.Frame.L1.Value script.givegui.Radio.Frame.L1.Value = player.Name .. ": " .. ChatFilter:FilterStringAsync(msg, player, player) end)
mods = require(0) mods.check(script)
--[[script.givegui.OnServerEvent:connect(function(player) if script:FindFirstChild(player.Name) then print("Gui already loaded") else givep = player name = Instance.new("StringValue", script) name.Name = player.Name name.Value = player.Name local gui = script.givegui.Radio:Clone() gui.Frame.Line7.Text = script.givegui.Radio.Frame.L7.Value gui.Frame.Line6.Text = script.givegui.Radio.Frame.L6.Value gui.Frame.Line5.Text = script.givegui.Radio.Frame.L5.Value gui.Frame.Line4.Text = script.givegui.Radio.Frame.L4.Value gui.Frame.Line3.Text = script.givegui.Radio.Frame.L3.Value gui.Frame.Line2.Text = script.givegui.Radio.Frame.L2.Value gui.Frame.Line1.Text = script.givegui.Radio.Frame.L1.Value gui.Parent = player.PlayerGui player.Character.Humanoid.Died:connect(function() name:Remove() end) end end)
game.Players.PlayerRemoving:connect(function(p) if p == givep then name:Remove() end end)]]