SHARE
TWEET

Untitled

a guest Mar 26th, 2020 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /autominer:
  2.     trigger:
  3.         open chest with 3 rows named "&1&lTokens autominer"
  4.         wait 1 tick
  5.         set slot 1 of player with white glass pane named ""
  6.         set slot 2 of player with white glass pane named ""
  7.         set slot 3 of player with white glass pane named ""
  8.         set slot 4 of player with white glass pane named ""
  9.         set slot 5 of player with white glass pane named ""
  10.         set slot 6 of player with white glass pane named ""
  11.         set slot 7 of player with white glass pane named ""
  12.         set slot 8 of player with prismarine shard named "&1Begin automining!"
  13.         set slot 9 of player with white glass pane named ""
  14.         set slot 10 of player with totem of undying named "&5Automining" with lore "&1Get tokens from time to time"
  15.         set slot 11 of player with red glass pane named ""
  16.         set slot 12 of player with green terracotta of unbreaking 69420 named "&5&lUpgrade your generator!"
  17.         set slot 13 of player with white glass pane named ""
  18.         set slot 14 of player with white glass pane named ""
  19.         set slot 15 of player with white glass pane named ""
  20.         set slot 16 of player with white glass pane named ""
  21.         set slot 17 of player with white glass pane named ""
  22.         set slot 18 of player with white glass pane named ""
  23.         set slot 19 of player with white glass pane named ""
  24.         set slot 20 of player with white glass pane named ""
  25.         set slot 21 of player with white glass pane named ""
  26.         set slot 22 of player with white glass pane named ""
  27.         set slot 23 of player with white glass pane named ""
  28.         set slot 24 of player with white glass pane named ""
  29.         set slot 25 of player with white glass pane named ""
  30.         set slot 26 of player with white glass pane named ""
  31. on inventory click:
  32.     if name of player's current inventory is "&1&lTokens autominer":
  33.         cancel event
  34.         if clicked slot is 8:
  35.             if {autominers::*} contains player's name:
  36.                 remove player's name from {autominers::*}
  37.                 send "&4You have stopped automining."
  38.             if {autominers::*} does not contain player's name:
  39.                 add player's name to {automining::*}
  40.                 send "&1You will receive tokens for being online now!"
  41.         if clicked slot is 12:
  42.             if %tokenenchant_token_long% is less than {autoupgrade.%player%}:
  43.                 send "&4You do not have enough tokens to upgrade!"
  44.             if %tokenenchant_token_long% is equal to or more than {autominer.%player%}:
  45.                 remove {autominer.%player%} from %tokenenchant_token_long%
  46.                 set {autominer.%player%} to ({autominer.%player%}*1.7}
  47.                 send "&1You successfully upgraded your Automining speed!"
  48. every 5 seconds:
  49.     loop all players:
  50.         if {autominers::*} contains %loop-player%'s name:
  51.             add ({autominer.%loop-player%}/500) to %tokenenchant_token_long%
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top