Advertisement
twogz

Untitled

Jul 14th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. on first join:
  2. clear player's inventory
  3. set {playerlevel::%uuid of player%} to 0
  4. set {playerxp::%uuid of player%} to 0
  5. set {playerxpmax::%uuid of player%} to 10
  6. set {mininglevel::%uuid of player%} to 0
  7. set {miningxp::%uuid of player%} to 0
  8. set {miningxpmax::%uuid of player%} to 10
  9.  
  10.  
  11. give wood pickaxe named "&eCrude Pickaxe" with lore "&r ||&fTier: &aCommon||&r ||&fTip: &aShift + Right click &fyour pickaxe to access your upgrades!" to player
  12.  
  13. give 8 gunpowder named "&7Lesser Arcane Dust" with lore "&r ||&fUsed to upgrade pickaxes, can be||&fconverted to Purified Arcane Dust.||&r ||&fTip: Visit the &aTinkerer &fto convert this dust" to player
  14.  
  15. on right click:
  16. if held item is pickaxe:
  17. if player is sneaking:
  18. open virtual chest inventory with size 6 named "Pickaxe Upgrades" to player
  19.  
  20. wait 0.6 ticks
  21.  
  22. create a gui slot 13 of player with held item of player named "&eMining Stats" with lore "&r ||&fLevel: &a%{mininglevel::%uuid of player%}%||&fExperience: &a%{miningxp::%uuid of player%}%/%{miningxpmax::%uuid of player%}%||&r ||&fTip: Use &aArcane Dust &fto upgrade your pickaxe!" to do nothing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement