DragnB Posted February 22, 2022 Share Posted February 22, 2022 can someone make like a XP skript for like example: on break of coal ore: send "&bYou have gained %xp% for mining Coal Ore!" Like can someone make me a skript kinda like that and when you level up you get like a paper called "&bPiece" and if you get to lvl 10 you get a rank called "&3Expert Miner" Link to comment Share on other sites More sharing options...
ombs Posted February 23, 2022 Share Posted February 23, 2022 # First, a specific XP variable. on join: set {xp..%player’s uuid%} to 0 set {level..%player’s uuid%} to 1 set {levelrq..%player’s uuid%} to 10 # Next, the mining. on break of coal ore: add 1 to {xp..%player’s uuid%} send action bar “You gained 1 XP!” to player for 1 second on join: while player is online: if {xp..%player’s uuid%} is greater than {levelrq..%player’s uuid%}: add 1 to {level..%player’s uuid%} set {levelrq..%player’s uuid%} to {levelrq..%player’s uuid%} * 2 set {xp..%player’s uuid} to 0 — OMBS — Hello. I am ombs, a chill server developer and FPS enthusiast. Currently working on a server with a queue-style arena PVP. Battle500 is my completed server. Have a great day! Link to comment Share on other sites More sharing options...
nicoalla Posted February 24, 2022 Share Posted February 24, 2022 you can spice it up with playing a sound when you reach lvl 10 like: play sound "entity.experience_orb.pickup" with volume 0.5 to the player Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now