SHARE
TWEET

omegaraids#0

a guest Jun 25th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     Logo: &9OmegaRaids>&7
  3.     Logo-Alternative: &9OmegaRaids>&a
  4.     Error: &9OmegaRaids>&c
  5.  
  6. on place of lava:
  7.     if player is in world "Factions":
  8.         if "%region at event-block%" does not contain "%{fac.%uuid of player%.faction}% in world Factions":
  9.             cancel event
  10.             stop
  11.         if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Cobblestone||&6Costs: &75.000||&6Place Type: &7Air":
  12.             cancel event
  13.             if player's balance is greater than or equal to 5000:
  14.                 remove 5000 from player's balance
  15.                 send "&c$5000 has been taken from your account."
  16.                 set block to cobblestone
  17.                 Loop 256 times:
  18.                     if block loop-number below event-block is bedrock:
  19.                         stop Loop
  20.                         stop
  21.                     if block loop-number below event-block is air:
  22.                         wait 20 ticks
  23.                         set block loop-number below event-block to cobblestone
  24.                     else:
  25.                         stop Loop
  26.                         stop
  27.             else:
  28.                 send "&cYou do not have enough money for this action."
  29.                 stop
  30.         else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Obsidian||&6Costs: &710.000||&6Place Type: &7Air":
  31.             cancel event
  32.             if player's balance is greater than or equal to 10000:
  33.                 remove 10000 from player's balance
  34.                 send "&c$10000 has been taken from your account."
  35.                 set block to obsidian
  36.                 Loop 256 times:
  37.                     if block loop-number below event-block is bedrock:
  38.                         stop Loop
  39.                         stop
  40.                     if block loop-number below event-block is air:
  41.                         wait 20 ticks
  42.                         set block loop-number below event-block to obsidian
  43.                     else:
  44.                         stop Loop
  45.                         stop
  46.             else:
  47.                 send "&cYou do not have enough money for this action."
  48.                 stop
  49.         else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Sand||&6Costs: &715.000||&6Place Type: &7Ground":
  50.             cancel event
  51.             if block below event-block is air:
  52.                 send "&cYou can only place the Sand Gen Bucket on the Ground"
  53.                 stop
  54.             if player's balance is greater than or equal to 15000:
  55.                 remove 15000 from player's balance
  56.                 send "&c$15000 has been taken from your account."
  57.                 set block to sand
  58.                 Loop 256 times:
  59.                     if block loop-number over event-block is bedrock:
  60.                         stop Loop
  61.                         stop
  62.                     if block loop-number over event-block is air:
  63.                         wait 20 ticks
  64.                         set block loop-number over event-block to sand
  65.                     else:
  66.                         stop Loop
  67.                         stop
  68.             else:
  69.                 send "&cYou do not have enough money for this action."
  70.                 stop
  71.         else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Right":
  72.             cancel event
  73.             if player's balance is greater than or equal to 5000:
  74.                 remove 5000 from player's balance
  75.                 send "&c$5000 has been taken from your account."
  76.                 set block to Cobblestone
  77.                 Loop 256 times:
  78.                     if block loop-number Right event-block is bedrock:
  79.                         stop Loop
  80.                         stop
  81.                     if block loop-number Right event-block is air:
  82.                         wait 20 ticks
  83.                         set block loop-number Right event-block to cobblestone
  84.                     else:
  85.                         stop Loop
  86.                         stop
  87.             else:
  88.                 send "&cYou do not have enough money for this action."
  89.                 stop
  90.         else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Right":
  91.             cancel event
  92.             if player's balance is greater than or equal to 10000:
  93.                 remove 10000 from player's balance
  94.                 send "&c$10000 has been taken from your account."
  95.                 set block to Obsidian
  96.                 Loop 256 times:
  97.                     if block loop-number Right event-block is bedrock:
  98.                         stop Loop
  99.                         stop
  100.                     if block loop-number Right event-block is air:
  101.                         wait 20 ticks
  102.                         set block loop-number Right event-block to Obsidian
  103.                     else:
  104.                         stop Loop
  105.                         stop
  106.             else:
  107.                 send "&cYou do not have enough money for this action."
  108.                 stop
  109.         else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Left":
  110.             cancel event
  111.             if player's balance is greater than or equal to 5000:
  112.                 remove 5000 from player's balance
  113.                 send "&c$5000 has been taken from your account."
  114.                 set block to Cobblestone
  115.                 Loop 256 times:
  116.                     if block loop-number Left event-block is bedrock:
  117.                         stop Loop
  118.                         stop
  119.                     if block loop-number Left event-block is air:
  120.                         wait 20 ticks
  121.                         set block loop-number Left event-block to cobblestone
  122.                     else:
  123.                         stop Loop
  124.                         stop
  125.             else:
  126.                 send "&cYou do not have enough money for this action."
  127.                 stop
  128.         else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Left":
  129.             cancel event
  130.             if player's balance is greater than or equal to 10000:
  131.                 remove 10000 from player's balance
  132.                 send "&c$10000 has been taken from your account."
  133.                 set block to Obsidian
  134.                 Loop 256 times:
  135.                     if block loop-number Left event-block is bedrock:
  136.                         stop Loop
  137.                         stop
  138.                     if block loop-number Left event-block is air:
  139.                         wait 20 ticks
  140.                         set block loop-number Left event-block to Obsidian
  141.                     else:
  142.                         stop Loop
  143.                         stop
  144.             else:
  145.                 send "&cYou do not have enough money for this action."
  146.                 stop
  147.  
  148. command /genbucket:
  149.     trigger:
  150.         open chest with 5 rows named "&7Gen Buckets" to player
  151.         format gui slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44 of player with black stained glass named " "
  152.         format gui slot 11 of player with 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Cobblestone||&6Costs: &75.000||&6Place Type: &7Air|| ||&6Click to get a free Gen Bucket||&65k per placing this Gen Bucket"
  153.         format gui slot 15 of player with 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Obsidian||&6Costs: &710.000||&6Place Type: &7Air|| ||&6Click to get a free Gen Bucket||&610k per placing this Gen Bucket"
  154.         format gui slot 13 of player with 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Sand||&6Costs: &715.000||&6Place Type: &7Ground|| ||&6Click to get a free Gen Bucket||&615k per placing this Gen Bucket"
  155.         format gui slot 20 of player with 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Left|| ||&6Click to get a free Gen Bucket||&65k per placing this Gen Bucket"
  156.         format gui slot 24 of player with 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Left|| ||&6Click to get a free Gen Bucket||&610k per placing this Gen Bucket"
  157.         format gui slot 29 of player with 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Right|| ||&6Click to get a free Gen Bucket||&65k per placing this Gen Bucket"
  158.         format gui slot 33 of player with 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Right|| ||&6Click to get a free Gen Bucket||&610k per placing this Gen Bucket"
  159.  
  160.  
  161. on inventory click:
  162.     if name of player's current inventory is "&7Gen Buckets":
  163.         cancel event
  164.         if lore of event-item is "&6Type: &7Cobblestone||&6Costs: &75.000||&6Place Type: &7Air|| ||&6Click to get a free Gen Bucket||&65k per placing this Gen Bucket":
  165.             if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Cobblestone||&6Costs: &75.000||&6Place Type: &7Air":
  166.                 send "&cYou already got a Gen Bucket"
  167.                 stop
  168.             else:
  169.                 give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Cobblestone||&6Costs: &75.000||&6Place Type: &7Air"
  170.         if lore of event-item is "&6Type: &7Obsidian||&6Costs: &710.000||&6Place Type: &7Air|| ||&6Click to get a free Gen Bucket||&610k per placing this Gen Bucket":
  171.             if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Obsidian||&6Costs: &710.000||&6Place Type: &7Air":
  172.                 send "&cYou already got a Gen Bucket"
  173.                 stop
  174.             else:
  175.                 give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Obsidian||&6Costs: &710.000||&6Place Type: &7Air"
  176.         if lore of event-item is "&6Type: &7Sand||&6Costs: &715.000||&6Place Type: &7Ground|| ||&6Click to get a free Gen Bucket||&615k per placing this Gen Bucket":
  177.             if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Sand||&6Costs: &715.000||&6Place Type: &7Ground":
  178.                 send "&cYou already got a Gen Bucket"
  179.                 stop
  180.             else:
  181.                 give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Sand||&6Costs: &715.000||&6Place Type: &7Ground"
  182.         if lore of event-item is "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Left|| ||&6Click to get a free Gen Bucket||&65k per placing this Gen Bucket":
  183.             if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Left":
  184.                 send "&cYou already got a Gen Bucket"
  185.                 stop
  186.             else:
  187.                 give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Left"
  188.         if lore of event-item is "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Right|| ||&6Click to get a free Gen Bucket||&65k per placing this Gen Bucket":
  189.             if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Right":
  190.                 send "&cYou already got a Gen Bucket"
  191.                 stop
  192.             else:
  193.                 give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Right"
  194.         if lore of event-item is "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Left|| ||&6Click to get a free Gen Bucket||&610k per placing this Gen Bucket":
  195.             if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Left":
  196.                 send "&cYou already got a Gen Bucket"
  197.                 stop
  198.             else:
  199.                 give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Left"
  200.         if lore of event-item is "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Right|| ||&6Click to get a free Gen Bucket||&610k per placing this Gen Bucket":
  201.             if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Right":
  202.                 send "&cYou already got a Gen Bucket"
  203.                 stop
  204.             else:
  205.                 give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Right"
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