Custom level up 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!

Status
Not open for further replies.

bebeli555

Member
Feb 6, 2020
28
0
0
So uhm im thinking of making a custom level up system. it would be like player needs to kill 100 pigs to levelup after they have killed 100pigs they would automatically levelup to next level. So like can someone tell me the skript how to make this?


Like this as example.

in kill of pig:
add 1 to players levelup
if players levelup is 100:
rankup player.
 
Do you have skript-mirror? I could make custom skript-mirror effects that you can use to expand the system if you do have/could get skript-mirror.

If you have skript-mirror:
Code:
effect level up %players%:
    trigger:
        set {lvlup::%expr-1's uuid%} to 0
        add 1 to {level::%expr-1's uuid%}

effect rank[ ]up %players%:
    trigger:
        set {level::%expr-1's uuid%} to 0
        add 1 to {rank::%expr-1's uuid%}
on death of pig:
    attacker is a player
    if {lvlup::%attackers's uuid%} is 99:
        if {level::%attacker's uuid%} is 99:
            rankup attacker
        else:
            level up attacker
    else:
        add 1 to {lvlup::%attacker's uuid%}
 
Last edited:
Status
Not open for further replies.