Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Logo: &9OmegaRaids>&7
- Logo-Alternative: &9OmegaRaids>&a
- Error: &9OmegaRaids>&c
- on place of lava:
- if player is in world "Factions":
- if "%region at event-block%" does not contain "%{fac.%uuid of player%.faction}% in world Factions":
- cancel event
- stop
- if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Cobblestone||&6Costs: &75.000||&6Place Type: &7Air":
- cancel event
- if player's balance is greater than or equal to 5000:
- remove 5000 from player's balance
- send "&c$5000 has been taken from your account."
- set block to cobblestone
- Loop 256 times:
- if block loop-number below event-block is bedrock:
- stop Loop
- stop
- if block loop-number below event-block is air:
- wait 20 ticks
- set block loop-number below event-block to cobblestone
- else:
- stop Loop
- stop
- else:
- send "&cYou do not have enough money for this action."
- stop
- else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Obsidian||&6Costs: &710.000||&6Place Type: &7Air":
- cancel event
- if player's balance is greater than or equal to 10000:
- remove 10000 from player's balance
- send "&c$10000 has been taken from your account."
- set block to obsidian
- Loop 256 times:
- if block loop-number below event-block is bedrock:
- stop Loop
- stop
- if block loop-number below event-block is air:
- wait 20 ticks
- set block loop-number below event-block to obsidian
- else:
- stop Loop
- stop
- else:
- send "&cYou do not have enough money for this action."
- stop
- else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Sand||&6Costs: &715.000||&6Place Type: &7Ground":
- cancel event
- if block below event-block is air:
- send "&cYou can only place the Sand Gen Bucket on the Ground"
- stop
- if player's balance is greater than or equal to 15000:
- remove 15000 from player's balance
- send "&c$15000 has been taken from your account."
- set block to sand
- Loop 256 times:
- if block loop-number over event-block is bedrock:
- stop Loop
- stop
- if block loop-number over event-block is air:
- wait 20 ticks
- set block loop-number over event-block to sand
- else:
- stop Loop
- stop
- else:
- send "&cYou do not have enough money for this action."
- stop
- else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Right":
- cancel event
- if player's balance is greater than or equal to 5000:
- remove 5000 from player's balance
- send "&c$5000 has been taken from your account."
- set block to Cobblestone
- Loop 256 times:
- if block loop-number Right event-block is bedrock:
- stop Loop
- stop
- if block loop-number Right event-block is air:
- wait 20 ticks
- set block loop-number Right event-block to cobblestone
- else:
- stop Loop
- stop
- else:
- send "&cYou do not have enough money for this action."
- stop
- else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Right":
- cancel event
- if player's balance is greater than or equal to 10000:
- remove 10000 from player's balance
- send "&c$10000 has been taken from your account."
- set block to Obsidian
- Loop 256 times:
- if block loop-number Right event-block is bedrock:
- stop Loop
- stop
- if block loop-number Right event-block is air:
- wait 20 ticks
- set block loop-number Right event-block to Obsidian
- else:
- stop Loop
- stop
- else:
- send "&cYou do not have enough money for this action."
- stop
- else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Left":
- cancel event
- if player's balance is greater than or equal to 5000:
- remove 5000 from player's balance
- send "&c$5000 has been taken from your account."
- set block to Cobblestone
- Loop 256 times:
- if block loop-number Left event-block is bedrock:
- stop Loop
- stop
- if block loop-number Left event-block is air:
- wait 20 ticks
- set block loop-number Left event-block to cobblestone
- else:
- stop Loop
- stop
- else:
- send "&cYou do not have enough money for this action."
- stop
- else if player is holding 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Left":
- cancel event
- if player's balance is greater than or equal to 10000:
- remove 10000 from player's balance
- send "&c$10000 has been taken from your account."
- set block to Obsidian
- Loop 256 times:
- if block loop-number Left event-block is bedrock:
- stop Loop
- stop
- if block loop-number Left event-block is air:
- wait 20 ticks
- set block loop-number Left event-block to Obsidian
- else:
- stop Loop
- stop
- else:
- send "&cYou do not have enough money for this action."
- stop
- command /genbucket:
- trigger:
- open chest with 5 rows named "&7Gen Buckets" to player
- 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 " "
- 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"
- 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"
- 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"
- 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"
- 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"
- 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"
- 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"
- on inventory click:
- if name of player's current inventory is "&7Gen Buckets":
- cancel event
- 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":
- if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Cobblestone||&6Costs: &75.000||&6Place Type: &7Air":
- send "&cYou already got a Gen Bucket"
- stop
- else:
- give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Cobblestone||&6Costs: &75.000||&6Place Type: &7Air"
- 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":
- if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Obsidian||&6Costs: &710.000||&6Place Type: &7Air":
- send "&cYou already got a Gen Bucket"
- stop
- else:
- give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Obsidian||&6Costs: &710.000||&6Place Type: &7Air"
- 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":
- if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Sand||&6Costs: &715.000||&6Place Type: &7Ground":
- send "&cYou already got a Gen Bucket"
- stop
- else:
- give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Sand||&6Costs: &715.000||&6Place Type: &7Ground"
- 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":
- if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Left":
- send "&cYou already got a Gen Bucket"
- stop
- else:
- give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Left"
- 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":
- if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Right":
- send "&cYou already got a Gen Bucket"
- stop
- else:
- give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Cobblestone||&6Costs: &75.000||&6Direction: &7Right"
- 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":
- if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Left":
- send "&cYou already got a Gen Bucket"
- stop
- else:
- give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Left"
- 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":
- if player has 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Right":
- send "&cYou already got a Gen Bucket"
- stop
- else:
- give player 1 of glowing lava bucket named "&4&lGen Bucket" with lore "&6Type: &7Vertical Obsidian||&6Costs: &710.000||&6Direction: &7Right"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement