#I can't prestige :(

1 messages · Page 1 of 1 (latest)

ivory fulcrum
#

Does it send any errors?

#

I was looking through it for a bit and then found >=

#

Maybe replace that with is greater than or equal to.

ivory fulcrum
#

Wdym no?

urban raft
#

= is the symbols for greater or equal to. and it works in skript

ivory fulcrum
#

So it has to be something else… hmmm

#

Idrk if he is trying to make it if he has exactly 20 rebirths then prestige or if he wants it to be more than 20 and exactly 20 aswell

tawdry fiber
#

Debug

pastel steppe
pastel steppe
pastel steppe
#
command /prestige-confirm:
    trigger:
        set {prestige::%player%} to 0 if {prestige::%player%} is not set 
        set {_p} to {prestige::%player%}
        set {_p} to 0 if {_p} is not set
        set {_rebirthRequired2p} to 10
        if {_p} >= 1:
            add {_p}*10 to {_rebirthRequired2p}
            
        if {rebirth::%player%} >= {_rebirthRequired2p}:
            add 1 to {prestige::%player%}
            set {rebirth::%player%} to 0
            set {balance::%player%} to 0
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            broadcast "&7%player% has prestiged %{prestige::%player%}% times!"
            clear player's inventory
        else:
            send "&cYou do not have enough rebirths, you need &b%{_rebirthRequired2p}%!"

is the new code for anyone who wants to see

pastel steppe
urban raft
#

bot no worky

pastel steppe
#

ok

urban raft
#

ok so debuging means that you need to figure where and what in your code does not work

fair zealot