Ok so, i have to make a script where only one team can press the spectate button, can anyone help?
local player = game.Players.LocalPlayer local team = player.TeamColor while wait() do if team == BrickColor.new("Fossil") then player.PlayerGui:WaitForChild("SpectateGui").Button.Visible = true else if team == BrickColor.new("Alder") then player.PlayerGui:WaitForChild("SpectateGui").Button.Visible = true end end