how do i make a property (with a players name in it) switch teams when a player presses a button overlay
What do you mean?
Properties can’t switch teams.
like is ther a way to switch a player’s team, the players name is in a proprety
Can you give more context?
so a players name is in a property, is there a way to change the players team if someone presses a button overlay while using the property
I don’t think so…
So are you saying when any player presses a button whichever player with the property as their name gets switched?
yes, its a button overlay too
Connect the button overlay to a relay set to all players so the button triggers the relay. Connect the relay to a trigger so it triggers it. Make this block in the trigger:
Insert the property you used in the text box connected to “Get property.” Then make the team switcher switch the player when it receives on Team switch.
Wait so the trigering player are all the players right, because of the relay
Makes sense thank you
hmm its not working…
What happened when you tested it out?
its not swithcing teams
wait i think i found the problem
never mind it works