Take and give Level of Xp

Started by Xelacraft1 on Sat, 11/21/2015 - 12:00
Last seen on 19:02, 26. Nov 2017
Joined Nov 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Take and give Level of Xp
Sat, 11/21/2015 - 12:00

I have a question:

How give an player Xp and how can i take it from him??

 

 

Last seen on 10:20, 16. Aug 2018
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
Try for subtract:player
Sat, 11/21/2015 - 13:15

Try for subtract:
player.addExperienceLevel(-1); 

For increase:

player.addExperienceLevel(1);