The local script

"local RemoteEvent = game.ReplicatedStorage.ChangeTeam local menuButton local frame = script.Parent:WaitForChild("Frame") -- TEAM COLOURS local PoliceColor = "Cyan" local CriminalsColor = "Bright orange" frame.Criminals.MouseButton1Click:Connect(function() RemoteEvent:FireServer(BrickColor.new(CriminalsColor)) end)

frame.Criminals.MouseButton1Click:Connect(function() RemoteEvent:FireServer(BrickColor.new(PoliceColor)) end)"

is not working. can any of you guys help me?

1 comment

0

First of all, please don't write irrelevant stuff in the title. Secondly, use code blocks and properly format your code. Thirdly, please at least tell us what this script is supposed to do. The information you provided is not enough.