Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick with firework rocket:
- player is holding firework rocket named "&cRocketGadget" with lore "&cClique Para Voar":
- cancel event
- if {rg.coldown} is true:
- send "&1RocketGadget&6>> &cRocketGadget EM COLLDOWN"
- else:
- set {rg.coldown} to true
- send "&1RocketGadget&7>> &BVoando EM 3"
- wait 1 second
- send "&1RocketGadget&7>> &bVoando EM 2"
- wait 1 second
- send "&1RocketGadget&7>> &bVoando EM 1"
- push player up at speed 2
- wait 4 ticks
- spawn 1 falling fence right the player
- spawn 1 falling fence left the player
- spawn 1 falling iron block 1 meter above the player
- spawn 1 falling iron block 2 meters above the player
- wait 1 tick
- loop entities in radius 6 around block at player:
- "%loop-entity%" is "falling block":
- set {listoffallingblock::%loop-entity%} to true
- push loop-entity up at speed 3
- make player ride the spawned entity
- wait 8 seconds
- set {rg.coldown} to false
- send "&1RocketGadget&7>> Colldown Acabou"
- on block land:
- {listoffallingblock::%entity%} is set:
- clear {listoffallingblock::%entity%}
- cancel event
- command /rocketgadget:
- permission: rocket.use
- trigger:
- give 1 firework rocket named "&cRocketGadget" with lore "&cClique Para Voar" to player
Advertisement
Add Comment
Please, Sign In to add comment