Solved Variables not updating

  • 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.

RetroGamerSP

Member
Jul 12, 2017
21
0
0
29
Skript Version: 2.2
Skript Author: Me (i think this is what it means :emoji_stuck_out_tongue:)
Minecraft Version:1.8.8

---
Full Code:

code_language.skript:
#NovaKitPvP By RetroGamerSP





on death of player:
    attacker is player:
        add 1 to {kills.%attacker%}
        add 1 to {deaths.%victim%}
        add 10 * {killstreak.%attacker%} to {coins.%attacker%}
        add 1 to {killstreak.%attacker%}
        set {killstreak.%victim%} to 0
        if {killstreak.%attacker%} > 2:
            broadcast "&6%attacker% &chas reached a killstreak of %{killstreak,%attacker%}%"

command /killstats <player>:
    trigger:
        message "&c--------------------------------"
        message "&6Killstats"
        message "&cPlayer: &6%arg%"
        message "&cKills: &6%{kills.%arg%}%"
        message "&cDeaths: &6%{deaths.%arg%}%"
        message "&cKillstreak: &6%{killstreak.%arg%}%"


Other Useful Info:
NO ERRORS IN CONSOLE OR ON SK RELOAD :emoji_stuck_out_tongue:

Addons using (including versions):
SKquery Latest Version

The issue im having is that this should work but when killing a player it doesnt raise my kill count and idk it worked on my main server (i was using as a test server and lost access to the files for a short time) and had to recode it for my new test server but now it doesnt work EVEN THOUGH IT SHOULD
[doublepost=1502712296,1502711726][/doublepost]Found The Issue
 
Status
Not open for further replies.