Custom Economy Skript help?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

PotatoGoesMoo

Member
Sep 1, 2017
20
0
0
Hey,

I don't understand why this skript isn't working:
code_language.skript:
on death of zombie:
    attacker is player:
        message "&aYou have recieved &21 &aCoins for killing &2%victim%&a. Get more kills to earn more Coins."
        add 1 to {coins.%attacker%}
Thanks a ton! :emoji_slight_smile:

EDIT: No errors when I reload it or anything. Just doesn't work.
 
send "text" to attacker
Thanks for the reply! :emoji_slight_smile:
I now have this:
code_language.skript:
on death of zombie:
    attacker is player:
        send "&aYou have recieved &21 &aCoins for killing &2%victim%&a. Get more kills to earn more Coins." to attacker
        add 1 to {coins.%attacker%}
However this still doesn't seem to work. This seems completely right, though... Any ideas?
 
Should be fine. what doesn't work?

Maybe
attacker is A player

and btw next time maybe using List variables.
 
Status
Not open for further replies.