#On right clicking if the player is holding more than 1 of the item it doesn't work

1 messages · Page 1 of 1 (latest)

proper zinc
#
    P : &c&lAFK &8»&7
    A : &8»&r
    AA : &8«&r

on right click:
    if player is holding axolotl spawn egg named "<##ECB9D9>&lAFK BOOSTER":
        if player is in the region "afk":
            set {_r} to random number between 1 and 100
            if {_r} > 95:
                console command "/crates key give %player% panda_crate 1 -s"
                send title "{@A} &4&lPanda Key! &r{@AA}" to player for 5 seconds
            else if {_r} > 85:
                console command "/crates key give %player% exotic_crate 1 -s"
                send title "{@A} &4&lExotic Key! &r{@AA}" to player for 5 seconds
            else if {_r} > 70:
                console command "/crates key give %player% wild_crate 1 -s"
                send title "{@A} &4&lWild Key! &r{@AA}" to player for 5 seconds
            else if {_r} > 40:
                console command "/crates key give %player% survival_crate 1 -s"
                send title "{@A} &4&lSurvival Key! &r{@AA}" to player for 5 seconds
            else:
                console command "/crates key give %player% jungle_crate 1 -s"
                send title "{@A} &4&lJungle Key! &r{@AA}" to player for 5 seconds
        else:
            message "&cYou need to be in the AFK pool to use this item."```
rocky nacelle
#

Solved btw

proper zinc
#

ty

viral birch
#

if it is solved please this post with the solved tag

formal iron