I followed alvin blox tutorial on team change gui but why this doesnt work?
Local script inside startergui:
local frame = script.Parent.Frame
local remote = game.ReplicatedStorage.RemoteEvent
frame.Deman.MouseButton1Click:Connect(function()
remote:FireServer()
end)
script.Parent.TextButton.MouseButton1Click:Connect(function()
script.Parent.TextButton:Destroy()
frame.Visible = not frame.Visible
end)
Listener Script:
local remote = game.ReplicatedStorage.RemoteEvent
local teamcolor = BrickColor.new("Maroon")
remote.OnServerEvent:Connect(function(player)
player.TeamColor = teamcolor
player:LoadCharacter()
end)

3 comments
What type of instance is Deman?
Deman is the name of a textbutton
you have to specify a character to load, it cant just be blank