Gui that changes other players team

So I been playing RB world recently If you would press TAB and click admin It would let Change a players team. And I been wanting to recreate that but I don’t know how to. Here an example:

I don’t know if you want an entire script but I’d suggest using remote events and UserInputService?
Use UserInputService to detect when a player presses TAB, then use Tweens if you want it to transition to the screen smoothly.
I’m not too sure how to work the Player list but I’m sure theres tutorials on it
Then connect a Local Script to a remote event and fire it
Then in the script check if the player has admin and then change the selected players team

3 Likes

Not trying to sound rude but. I need help with making a team changing Gui. I’m not scripting the whole menu.

Hello, in order to do this, you have to create and fire remote event with player’s name in it.
So, you click player’s name in playerlist, fires remote with it’s nickname and selected team (team that you want to switch to), then the server should get player instance and change Player.Team or Player.TeamColor.

2 Likes

Thank you for helping me out I appciated man.

Im sorry. I wasn’t understanding at first thanks for the help.

1 Like