Alright, so I have a map that's got many teams, one being "NJSP" and one other "Criminals." Lets say "Player1" in "NJSP" kills "Player2" in "Criminals." I want Player1 to get money, probably 1000. I have the leaderstat for money. And if Player1 killed, lets say, "Player3" in team "Tellers" (bankers), they would get no money.
How can I script this?
If possible, could I make a command to change the value given to the NJSP killer? |