Okay, so I'm using the leaderboard to show a player's money, and I'm wondering how to make it so that if they are in a certain team they are awarded a certain amount of money per minute or whatever

ex.? PlayerX is in a team labeled "Firefighter" Firefighter team earns $23 every minute while PlayerY is in a team labeled "Unemployed" Unemployed team earns $0 every minute

Thanks ahead of time!

2 comments

1

Can we see an attempt at your script? You would use a while loop, use if statements to indicate if a player has the leaderstats or not, then another if then statement to determine what team the player is on. Finally you would be able to add cash to the player. Once again, we need to see an attempt at a script at least.

0

I only have the Money IntValue in the script right now, so I haven't attempted doing this yet.