How to make a button which changes your team at the same time as refreshing your character? and i'm also confused how it works. ("GUI button")
COMMUNITY QUESTION
How to make a button which changes your team as well as refreshing your character?
1 answer
Take a look at a couple of these resources
https://developer.roblox.com/en-us/api-reference/function/Players/GetPlayerFromCharacter
https://developer.roblox.com/en-us/api-reference/function/Player/LoadCharacter
https://developer.roblox.com/en-us/api-reference/class/Team
https://developer.roblox.com/en-us/api-reference/property/Player/Team
https://developer.roblox.com/en-us/articles/Remote-Functions-and-Events
P.s. Sorry i'm not helping further...i'm in class lol
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Please respond as fast at you can.
What type of button are we talking about? GuiButton, a part with a ClickDetector on it?
GUI button