ArtzifyHD

mcmmo booster

Aug 21st, 2017
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. command /booster <players>:
  2. permission: core.booster.give
  3. trigger:
  4. give arg emerald named "&b2.0x Mcmmo Booster &7(Right-Click)" with lore "||&7Duration: &31x Hour||&7Right Click to apply a &32x &7Mcmmo boost"
  5. on right click:
  6. player is holding an emerald named "&b2.0x Mcmmo Booster &7(Right-Click)" with lore "||&7Duration: &31x Hour||&7Right Click to apply a &32x &7Mcmmo boost":
  7. set {_player} to player
  8. execute console command "/pex user %player% remove mcmmo.perks.xp.200percentboost"
  9. execute console command "/mangdelp %player% mcmmo.perks.xp.200percentboost"
  10. wait 1 second
  11. send "&8(&bBooster&8) &7Your booster is being activated, please wait" to player
  12. wait 5 seconds
  13. execute console command "/mangaddp %player% mcmmo.perks.xp.200percentboost"
  14. execute console command "/pex user %player% add mcmmo.perks.xp.200percentboost"
  15. send "&8(&bBooster&8) &7Your &b2x Booster &7has been applied for &b1 Hour" to player
  16. broadcast "&8(&bBooster&8) &7%player% has activated a &b2x Booster &7for &b1 Hour!"
  17. remove 1 emerald named "&b2.0x Mcmmo Booster &7(Right-Click)" with lore "||&7Duration: &31x Hour||&7Right Click to apply a &32x &7Mcmmo boost" from player
  18. launch burst firework colored aqua at player with duration 1
  19. wait 1 hour
  20. send "&8(&bBooster&8) &7Your &b2.0x Mcmmo Booster &7has run out" to player
  21. execute console command "/mangdelp %player% mcmmo.perks.xp.200percentboost"
  22. execute console command "/pex user %player% remove mcmmo.perks.xp.200percentboost"
  23. broadcast "&8(&bBooster&8) &b2x Booster &7that was activated for &b1 Hour has run out!"
Advertisement
Add Comment
Please, Sign In to add comment