Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. on rightclick with iron axe:
  2. name of held item contains "斧銃"
  3. set {_cooldown} to difference between {skill.%player%.lastused} and now
  4. if {_cooldown} is less than 0.7 seconds:
  5. stop
  6. play sound pack "entity.item.break" to player at location of player
  7. shoot an snowball from player at speed 5
  8. set {skill.%player%.lastused} to now
  9.  
  10. on damage:
  11. damage was caused by projectile:
  12. projectile is an snowball:
  13. damage victim by 4.5 hearts
  14.  
  15. on rightclick:
  16. block is a sign
  17. line 1 of clicked block is "=========="
  18. line 2 of clicked block is "--ゾルダ--"
  19. line 3 of clicked block is "[rightclick]"
  20. line 4 of clicked block is "=========="
  21. clear player's inventory
  22. give player unbreakable iron axe named "斧銃"
  23. message "ゾルダとして戦場へ行きます"
  24. set {_temp} to random integer between 1 and 21
  25. apply resistance of tier 100 to player for 3 seconds
  26. if {_temp} is between 1 and 3:
  27. teleport the player to the location (-31, 4, 9)
  28. else if {_temp} is between 4 and 6:
  29. teleport the player to the location (-17, 4, -31 )
  30. else if {_temp} is between 7 and 9:
  31. teleport the player to the location (-117, 4, -102)
  32. else if {_temp} is between 10 and 12:
  33. teleport the player to the location (-147, 4, -59)
  34. else if {_temp} is between 13 and 15:
  35. teleport the player to the location (-35, 4, -89)
  36. else if {_temp} is between 16 and 18:
  37. teleport the player to the location (-84, 4, -53)
  38. else if {_temp} is between 19 and 21:
  39. teleport the player to the location (-78, 4, -36)
  40.  
  41. on right click:
  42. clicked block is crafting table or Anvil:
  43. if gamemode of player is not creative:
  44. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement