This doesn't give off errors and it does everything but gives me the xp Heres the code vbs on right click with a paper: if player's tool is paper named "&fblabla" with lore "&fBlabla": tool of the player is enchanted with mending: execute console command "xp give %player% 100" remove item from player's inventory not poggers. no work ):
#Xp helpM (1.17.1 (Skbee, Skquery) are the addons
1 messages · Page 1 of 1 (latest)
@covert falcon you holding multiple papers?
ah just was wondering
on right click with a paper:
if player's tool is paper named "&fblabla" with lore "&fBlabla":
if tool of the player is enchanted with mending:
execute console command "xp give %player% 100"
remove item from player's inventory``` improved
I'm little lost on the issue outside of your intends being pretty off
what do you mean by
it does everything but gives me the xp
like it doesn't give the xp?
Yes
it removes it from my inv
and all the stuff
just not the xp
xp is broken
then I don't believe it's related to skript but your command usage make sure that's correct
but since you have skbee you can just do add 100 to total experience of player
on right click with a paper:
if player's tool is paper named "&fblabla" with lore "&fBlabla":
if tool of the player is enchanted with mending:
add 100 to total experience of player
remove item from player's inventory
now it doesnt take the paper
NVM
TY
but one last question
instead of it giving xp is there a way for it to just give levels?
vanilla skript player's level should really check docs over just asking these tho