szumielxd

ExpReplacer

Oct 16th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. on rightclick on southward dispenser:
  2. set {_r} to "expiarka" parsed as region
  3. if player's location is part of {_r}:
  4. #player is in region "expiarka":
  5. cancel event
  6. if player's xp is bigger than 8:
  7. #play raw sound "entity.player.levelup​" at player with pitch 5 volume 4
  8. show 10 happy villager above event-location
  9. set player's xp to player's xp - 8
  10. drop 1 bottles o' enchanting 1 meter above event-block's location
  11. else:
  12. send "&cMasz mniej niz 8 pkt xp"
  13.  
  14.  
  15.  
  16. command /itemname:
  17. permission: op
  18. trigger:
  19. send "Hand: %type of player's tool%"
  20. send "Target: %target block%"
Advertisement
Add Comment
Please, Sign In to add comment