So I have game where is team change gui and when I spam in one it will spawn me very fast and then sometimes start spawning me at another team spawn what do?
This is topic isn’t about scripting, but
You need to change a property inside the spawnpoint which indicates which team the spawnpoint is for.
First, check if the player isn’t already on the team that the player wants to change.
Second, add a debounce so the players are unable to spam the button until it is completed.