Click detector that changes players team

Im trying to make a object that when clicked puts the player back on the first team in the game.
image
Its simply not working and when I click its not changing my team.

2 Likes

Is this in a LocalScript? Do you have MaxActivationDistance set to something? Is it printing the output when you click?

This isnt a local script, MaxActivationDistance was set to 8 and yes it does print the output.

At this point I just want to know how to properly change a players team using a proxprompt…