hi, I guess you're you are trying to restore the money to the player "only" when he connects to the server, this would be done once therefore it is not necessary to create an infinite loop since it recreates an overload to the server and more if it is a zp
for them we can make sure that the player has entered and chosen a team, and then give them the money.