Skript Upgrade System

  • 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 community!

    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!

Code:
[Put the event you want to call here]:
    add 0.6 to {damage::%player%}

on damage:
    attacker is a player
    set damage to (damage + {damage::%player%})
 
Code:
[Put the event you want to call here]:
    add 0.6 to {damage::%player%}

on damage:
    attacker is a player
    set damage to (damage + {damage::%player%})
bro look at my other one
Code:
command /upgrade:
    permission: smithing.upgradegui
    permission message: &cYou Can't Do this!
    cooldown: 3 seconds
    cooldown message: &cKill yourself! :)
    executable by: players
    trigger:
        add 0.6 to {level.of.attack.%player's uuid%}

on damage:
    add {level.of.attack.%attacker's uuid%} to the damage

on join:
    if {level.of.attack.%player's uuid%} is not set:
        set {level.of.attack.%player's uuid%} to 0
 
DONE!
Code:
command /upgrade:
    permission: smithing.upgradegui
    permission message: &cYou Can't Do this!
    cooldown: 3 seconds
    cooldown message: &cKill yourself! :)
    executable by: players
    trigger:
        add 0.6 to {level.of.attack.%player's uuid%}

on damage:
    add {level.of.attack.%attacker's uuid%} to the damage

on join:
    if {level.of.attack.%player's uuid%} is not set:
        set {level.of.attack.%player's uuid%} to 0
You forgot to check if the attacker is a player. It is kinda crucial. Other than that, it most likely works.
 
You forgot to check if the attacker is a player. It is kinda crucial. Other than that, it most likely works.
well then
Code:
command /upgrade:
    permission: smithing.upgradegui
    permission message: &cYou Can't Do this!
    cooldown: 3 seconds
    cooldown message: &cKill yourself! :)
    executable by: players
    trigger:
        add 0.6 to {level.of.attack.%player's uuid%}

on damage:
    if attacker is player:
        add {level.of.attack.%attacker's uuid%} to the damage

on join:
    if {level.of.attack.%player's uuid%} is not set:
        set {level.of.attack.%player's uuid%} to 0
 
well then
Code:
command /upgrade:
    permission: smithing.upgradegui
    permission message: &cYou Can't Do this!
    cooldown: 3 seconds
    cooldown message: &cKill yourself! :)
    executable by: players
    trigger:
        add 0.6 to {level.of.attack.%player's uuid%}

on damage:
    if attacker is player:
        add {level.of.attack.%attacker's uuid%} to the damage

on join:
    if {level.of.attack.%player's uuid%} is not set:
        set {level.of.attack.%player's uuid%} to 0
Or just:

Code:
on damage:
    attacker is a player
    add {level.of.attack.%attacker's uuid%} to the damage
 
bro look at my other one
Code:
command /upgrade:
    permission: smithing.upgradegui
    permission message: &cYou Can't Do this!
    cooldown: 3 seconds
    cooldown message: &cKill yourself! :)
    executable by: players
    trigger:
        add 0.6 to {level.of.attack.%player's uuid%}

on damage:
    add {level.of.attack.%attacker's uuid%} to the damage

on join:
    if {level.of.attack.%player's uuid%} is not set:
        set {level.of.attack.%player's uuid%} to 0
Well sorry I sent the message 10 seconds after you