Guest User

RocketGadget

a guest
Jan 8th, 2016
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. on rightclick with firework rocket:
  2. player is holding firework rocket named "&cRocketGadget" with lore "&cClique Para Voar":
  3. cancel event
  4. if {rg.coldown} is true:
  5. send "&1RocketGadget&6>> &cRocketGadget EM COLLDOWN"
  6. else:
  7. set {rg.coldown} to true
  8. send "&1RocketGadget&7>> &BVoando EM 3"
  9. wait 1 second
  10. send "&1RocketGadget&7>> &bVoando EM 2"
  11. wait 1 second
  12. send "&1RocketGadget&7>> &bVoando EM 1"
  13. push player up at speed 2
  14. wait 4 ticks
  15. spawn 1 falling fence right the player
  16. spawn 1 falling fence left the player
  17. spawn 1 falling iron block 1 meter above the player
  18. spawn 1 falling iron block 2 meters above the player
  19. wait 1 tick
  20. loop entities in radius 6 around block at player:
  21. "%loop-entity%" is "falling block":
  22. set {listoffallingblock::%loop-entity%} to true
  23. push loop-entity up at speed 3
  24. make player ride the spawned entity
  25. wait 8 seconds
  26. set {rg.coldown} to false
  27. send "&1RocketGadget&7>> Colldown Acabou"
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. on block land:
  38. {listoffallingblock::%entity%} is set:
  39. clear {listoffallingblock::%entity%}
  40. cancel event
  41.  
  42.  
  43.  
  44.  
  45. command /rocketgadget:
  46. permission: rocket.use
  47. trigger:
  48. give 1 firework rocket named "&cRocketGadget" with lore "&cClique Para Voar" to player
Advertisement
Add Comment
Please, Sign In to add comment