Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 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 shoot:
  11. if projectile is a snowball:
  12. damage victim by 6.5 hearth
  13.  
  14. on rightclick:
  15. block is a sign
  16. line 1 of clicked block is "=========="
  17. line 2 of clicked block is "--ゾルダ--"
  18. line 3 of clicked block is "[rightclick]"
  19. line 4 of clicked block is "=========="
  20. clear player's inventory
  21. give player unbreakable iron axe named "斧銃"
  22. message "ゾルダとして戦場へ行きます"
  23. set {_temp} to random integer between 1 and 21
  24. apply resistance of tier 100 to player for 3 seconds
  25. if {_temp} is between 1 and 3:
  26. teleport the player to the location (-31, 4, 9)
  27. else if {_temp} is between 4 and 6:
  28. teleport the player to the location (-17, 4, -31 )
  29. else if {_temp} is between 7 and 9:
  30. teleport the player to the location (-117, 4, -102)
  31. else if {_temp} is between 10 and 12:
  32. teleport the player to the location (-147, 4, -59)
  33. else if {_temp} is between 13 and 15:
  34. teleport the player to the location (-35, 4, -89)
  35. else if {_temp} is between 16 and 18:
  36. teleport the player to the location (-84, 4, -53)
  37. else if {_temp} is between 19 and 21:
  38. teleport the player to the location (-78, 4, -36)
  39.  
  40. on right click:
  41. clicked block is crafting table or Anvil:
  42. if gamemode of player is not creative:
  43. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement