Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- SuperTNT_Tamanho: 10
- SuperTNT_Nome: &aSuper TNT
- MegaTNT_Tamanho: 15
- MegaTNT_Nome: &bMega TNT
- UltraTNT_Tamanho: 20
- UltraTNT_Nome: &6Ultra TNT
- #variavel remover
- #PODE SER REMOVIDO SE QUISER, EU COLOQUEI CASO ALGUMA
- #DAS VARIAVEIS BUG ELE REMOVE ELA DEPOIS DE UNS MINUTOS
- every 5 minutes:
- delete {supertnt::*}
- delete {megatnt::*}
- delete {ultratnt::*}
- command /overtnt [<text>] [<player>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "&6/overtnt givesuper <player> 10"
- send "&6/overtnt givemega <player> 10"
- send "&6/overtnt giveultra <player> 10"
- if arg 1 is "givesuper":
- if arg 2 is set:
- if arg 3 is set:
- set {_quant} to "%arg-3%" parsed as integer
- give {_quant} of tnt named "{@SuperTNT_Nome}" to arg-2
- send "&eVoce recebeu %arg-3% {@SuperTNT_Nome}" to arg-2
- else:
- send "&c/overtnt givesuper <player> <quantidade>"
- else:
- send "&c/overtnt givesuper <player> <quantidade>"
- if arg 1 is "givemega":
- if arg 2 is set:
- if arg 3 is set:
- set {_quant} to "%arg-3%" parsed as integer
- give {_quant} of tnt named "{@MegaTNT_Nome}" to arg-2
- send "&eVoce recebeu %arg-3% {@MegaTNT_Nome}" to arg-2
- else:
- send "&c/overtnt givemega <player> <quantidade>"
- else:
- send "&c/overtnt givemega <player> <quantidade>"
- if arg 1 is "giveultra":
- if arg 2 is set:
- if arg 3 is set:
- set {_quant} to "%arg-3%" parsed as integer
- give {_quant} of tnt named "{@UltraTNT_Nome}" to arg-2
- send "&eVoce recebeu %arg-3% {@UltraTNT_Nome}" to arg-2
- else:
- send "&c/overtnt giveultra <player> <quantidade>"
- else:
- send "&c/overtnt giveultra <player> <quantidade>"
- #---------------------------[SUPER]-------------------------------------
- on place of tnt:
- if name of tool of player is "{@SuperTNT_Nome}":
- set {supertnt::%location of event-block%} to location of event-block
- on break of tnt:
- loop {supertnt::*}:
- if "%location of event-block%" = "%loop-value%":
- cancel event
- set block at event-block to air
- drop 1 tnt named "{@SuperTNT_Nome}" at event-block
- remove location of event-block from {supertnt::*}
- on explode:
- loop all blocks in radius 3 of event-location:
- loop {supertnt::*}:
- if "%location of loop-value-1%" = "%loop-value-2%":
- create an explosion of force {@SuperTNT_Tamanho} at event-location
- delete {supertnt::%location of loop-value-1%}
- #---------------------------[MEGA]-------------------------------------
- on place of tnt:
- if name of tool of player is "{@MegaTNT_Nome}":
- set {megatnt::%location of event-block%} to location of event-block
- on break of tnt:
- loop {megatnt::*}:
- if "%location of event-block%" = "%loop-value%":
- cancel event
- set block at event-block to air
- drop 1 tnt named "{@MegaTNT_Nome}" at event-block
- remove location of event-block from {megatnt::*}
- on explode:
- loop all blocks in radius 3 of event-location:
- loop {megatnt::*}:
- if "%location of loop-value-1%" = "%loop-value-2%":
- create an explosion of force {@MegaTNT_Tamanho} at event-location
- delete {megatnt::%location of loop-value-1%}
- #--------------------------[ULTRA]--------------------------------------
- on place of tnt:
- if name of tool of player is "{@UltraTNT_Nome}":
- set {ultratnt::%location of event-block%} to location of event-block
- on break of tnt:
- loop {ultratnt::*}:
- if "%location of event-block%" = "%loop-value%":
- cancel event
- set block at event-block to air
- drop 1 tnt named "{@UltraTNT_Nome}" at event-block
- remove location of event-block from {ultratnt::*}
- on explode:
- loop all blocks in radius 3 of event-location:
- loop {ultratnt::*}:
- if "%location of loop-value-1%" = "%loop-value-2%":
- create an explosion of force {@UltraTNT_Tamanho} at event-location
- delete {ultratnt::%location of loop-value-1%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement