Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How to give certain teams money per minute? [closed]

Asked by 8 years ago

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!

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. M39a9am3R 3210 — 8y
0
I only have the Money IntValue in the script right now, so I haven't attempted doing this yet. earthlypyromancer101 0 — 8y

Closed as Not Constructive by Sublimus, ChipioIndustries, and User#6546

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?