I tried making a simple team change gui that obviously changes your team.
Here is the local script for one of the buttons:
local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() player.TeamColor = BrickColor.new ('Bright blue') player.Character.Humanoid.Health = 0 end)
It was working a couple days ago but now it isn't.
A few things, 1. Make sure FilteringEnabled in workspace is turned off 2. Make sure you put in a LocalScript in StarterPack, StarterPlayerScripts, or the Gui itself. 3. If it still doesn't work, tell me and try again.
In the future, please be more descriptive with your answers, I have little to nothing to work with here.