I have this team change gui, it worked in my older game but for some reason it doesn't now, with the same script.
LOCAL SCRIPT
BU.MouseButton1Click:Connect(function() sound:Play() game.ReplicatedStorage.ChangeTeamEvent:FireServer(script.Parent.Name) workspace.Theme:Stop() workspace.Main:Play() Camera.CameraType = Enum.CameraType.Custom gui.Enabled = false end)
SERVER SCRIPT
local Teams = game:GetService("Teams") game.ReplicatedStorage.ChangeTeamEvent.OnServerEvent:Connect(function(Player, Team) local PhysicalTeam = game.Teams:FindFirstChild(Team).TeamColor Player.TeamColor = PhysicalTeam Player:LoadCharacter() end)