Hi, I am trying to make a command called XpPaper which gives you a piece of paper and when you right click it gives you 5 levels of experience. I am very new to Skript and could use help, by chance could you guys tell me how to make this and also recommend me any good people to go to for learning Skript?
]I just finished the code and I ask if I did anything wrong, here it is:
# code is for xppaper
command /XpPaper
trigger
give paper named "&c[&fXP PAPER&c]" to player
on right click with paper
if name of tool of player is "&c[&fXP PAPER&c]"
trigger
execute console command "/xp give %player% 5l"
]I just finished the code and I ask if I did anything wrong, here it is:
# code is for xppaper
command /XpPaper
trigger
give paper named "&c[&fXP PAPER&c]" to player
on right click with paper
if name of tool of player is "&c[&fXP PAPER&c]"
trigger
execute console command "/xp give %player% 5l"
Last edited: