How do you make it so that a certain team has a certain GUI?
I’ve been trying to figure out how to to this, but I can’t find any solutions. How do you make it so that a certain team has GUI, and when they change teams the GUI disappears. Here’s a script that’s been working but won’t disable the GUI when I change teams
1 | game.Players.PlayerAdded:Connect( function (plr) |
2 | if plr.TeamColor = = BrickColor.new(“Dark stone grey”) then |
3 | local GUI = game.ReplicatedStorage.SpectateGUI |
4 | GUI.Parent = plr.PlayerGui |
Please help, my peanut of a brain is going to melt