Advertisement
MilkTeaPopcorn

Untitled

Oct 22nd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. Options: #Customizable
  2.  
  3. pressure plate: gold pressure plate
  4. block: redstone block
  5. launch height: 0.4
  6. launch speed: 0.6
  7. sound: mob_wither_shoot
  8. pitch: 1
  9. volume: 0.5
  10.  
  11.  
  12.  
  13.  
  14. on pressure plate:
  15. if event-block is {@pressure plate}:
  16. if block below event-block is {@block}:
  17. cancel event
  18. make console execute command "launch %player%"
  19. push the player upwards at speed {@launch height}
  20. push the player forwards at speed {@launch speed}
  21. play raw sound "{@sound}" at event-block with pitch {@pitch} volume {@volume}
  22. play mobspawner flames at event-block
  23. set {launched.%player%} to true
  24.  
  25.  
  26. on damage:
  27. if damage cause is fall:
  28. if {launched.%victim%} is true:
  29. set {launched.%victim%} to false
  30. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement