Hey guys. So i am currently making a rankup script, but whenever i try to rank up it says i dont have enough exp. I have checked this multiple times and sorry if i am missing something very clear that is right in front of me
I am using skript verion 2.2
I am using skript verion 2.2
Code:
command /rank [<text>] [<player>] [<text>]:
trigger:
if args 1 is not set:
send "&2/&arank levelup &4> Level up!"
if args 1 is "levelup":
if {Kitpvp.rank.%player%} is "Default":
if {Kitpvp.exp.%player%} is more than or equal to 100:
set {Kitpvp.rank.%player%} to "Fighter"
broadcast "&a&l%player% &3&lhas levelled up to &a&l%{Kitpvp.rank.%player%}%"
else:
send "&c<!> You do not have enough exp to level"
send "&c<!> Your current exp is %{Kitpvp.exp.%player%}%"