Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick with iron axe:
- name of held item contains "斧銃"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 0.7 seconds:
- stop
- play sound pack "entity.item.break" to player at location of player
- shoot an snowball from player at speed 5
- set {skill.%player%.lastused} to now
- on shoot:
- if projectile is a snowball:
- damage victim by 6.5 hearth
- on rightclick:
- block is a sign
- line 1 of clicked block is "=========="
- line 2 of clicked block is "--ゾルダ--"
- line 3 of clicked block is "[rightclick]"
- line 4 of clicked block is "=========="
- clear player's inventory
- give player unbreakable iron axe named "斧銃"
- message "ゾルダとして戦場へ行きます"
- set {_temp} to random integer between 1 and 21
- apply resistance of tier 100 to player for 3 seconds
- if {_temp} is between 1 and 3:
- teleport the player to the location (-31, 4, 9)
- else if {_temp} is between 4 and 6:
- teleport the player to the location (-17, 4, -31 )
- else if {_temp} is between 7 and 9:
- teleport the player to the location (-117, 4, -102)
- else if {_temp} is between 10 and 12:
- teleport the player to the location (-147, 4, -59)
- else if {_temp} is between 13 and 15:
- teleport the player to the location (-35, 4, -89)
- else if {_temp} is between 16 and 18:
- teleport the player to the location (-84, 4, -53)
- else if {_temp} is between 19 and 21:
- teleport the player to the location (-78, 4, -36)
- on right click:
- clicked block is crafting table or Anvil:
- if gamemode of player is not creative:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement