Switch Team, how to fix and why it not works?
Error: LoadCharacter can only be called by the backend server
LocalScript:
script.Parent.MouseButton1Click:connect(function()
game.Players.LocalPlayer.TeamColor = BrickColor.new("Light stone grey")
game.Players.LocalPlayer:LoadCharacter()
print(game.Players.LocalPlayer.Name.." has changed team to "..script.Parent.Name.." team!")
end)
