local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
player.TeamColor = BrickColor.new("Br. yellowish orange")
script.Parent.Parent.Visible = false
player:LoadCharacter()
end)
LoadCharacter doesn't work as a LocalScript in the actual game, so I made it a script instead. Transferring over the raw code doesn't work because of the GUI, though, so I'm curious of what I need to do to get it to work as a script. I'm running it inside of StarterGUI.
