Jump to content

i would like a script that give players renamed items when they get to certian xp levels.


Catsrule3265

Recommended Posts

17 minutes ago, catsrule3265 said:

so when some one reaches lvl 5,7,10,13,15,17,19,21,24,26.28,30 they get a paper renamed to:&6Lvl up Token and after lvl 30 reset xp lvl back to 0. also a script that disables enderman teleports would be nice but not required

on levelup:
	if the player's exp level is 5 or 7 or (insert the other numbers here):
		give player shiny paper named "&6Lvl up Token"
	else if the player's exp level is 30:
		set the player's exp level to 0
		give player shiny paper named "&6Lvl up Token"

 

––––––––––––––––––––––––––––––––––––––––––––––––––

Please leave a reaction if my assistance was satisfactory!

 

Link to comment
Share on other sites

22 hours ago, iOmega__ said:

on levelup:
	if the player's exp level is 5 or 7 or (insert the other numbers here):
		give player shiny paper named "&6Lvl up Token"
	else if the player's exp level is 30:
		set the player's exp level to 0
		give player shiny paper named "&6Lvl up Token"

 

it doesn't know what event on levelup is

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...