Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding a nether star:
- open chest with 6 rows named "&dServer Menu" to player
- set slot 10 of player's current inventory to blaze powder named "&cKillEffect &dSelect"
- on inventory click:
- inventory name of player's current inventory is "&dServer Menu"
- if clicked slot is 10:
- open chest with 3 rows named "&cKillEffect &dSelect" to player
- if {killeffect.%player%} is not set:
- set slot 0 of player's current inventory to redstone dust named "&4&lBlood KillEffect"
- set slot 1 of player's current inventory to glass block named "&eThunder KillEffect"
- set slot 26 of player's current inventory to glowing stone named "&cKillEffect Delete" with lore "&aSelected"
- else if {killeffect.%player%} is "blood":
- set slot 0 of player's current inventory to glowing redstone dust named "&4&lBlood KillEffect" with lore "&aSelected"
- set slot 1 of player's current inventory to glass block named "&eThunder KillEffect"
- set slot 26 of player's current inventory to stone named "&cKillEffect Delete"
- else if {killeffect.%player%} is "thunder":
- set slot 0 of player's current inventory to redstone dust named "&4&lBlood KillEffect"
- set slot 1 of player's current inventory to glowing glass block named "&eThunder KillEffect" with lore "&aSelected"
- set slot 26 of player's current inventory to stone named "&cKillEffect Delete"
- on inventory click:
- inventory name of player's current inventory is "&cKillEffect &dSelect"
- if clicked slot is 0:
- cancel event
- set {killeffect.%player%} to "blood"
- play sound "BLOCK_DISPENSER_FAIL" to player with volume 1 and pitch 1
- send "{@kill} &4&lBlood&eを選択しました" to player
- open chest with 3 rows named "&cKillEffect &dSelect" to player
- set slot 0 of player's current inventory to glowing redstone dust named "&4&lBlood KillEffect" with lore "&aSelected"
- set slot 1 of player's current inventory to glass block named "&eThunder KillEffect"
- set slot 26 of player's current inventory to stone named "&cKillEffect Delete"
- if clicked slot is 1:
- cancel event
- set {killeffect.%player%} to "thunder"
- play sound "BLOCK_DISPENSER_FAIL" to player with volume 1 and pitch 1
- send "{@kill} &e&lThunder&eを選択しました" to player
- open chest with 3 rows named "&cKillEffect &dSelect" to player
- set slot 0 of player's current inventory to redstone dust named "&4&lBlood KillEffect"
- set slot 1 of player's current inventory to glowing glass block named "&eThunder KillEffect" with lore "&aSelected"
- set slot 26 of player's current inventory to stone named "&cKillEffect Delete"
- if clicked slot is 26:
- cancel event
- delete {killeffect.%player%}
- play sound "BLOCK_DISPENSER_FAIL" to player with volume 1 and pitch 1
- send "{@kill} &c&lKillEffect&eをリセットしました" to player
- open chest with 3 rows named "&cKillEffect &dSelect" to player
- set slot 0 of player's current inventory to redstone dust named "&4&lBlood KillEffect"
- set slot 1 of player's current inventory to glass block named "&eThunder KillEffect"
- set slot 26 of player's current inventory to glowing stone named "&cKillEffect Delete" with lore "&aSelected"
- on death of player:
- if {killeffect.%attacker%} is "blood":
- show 30 BLOCK_CRACK particles at location of victim with data of block of redstone offset by 0, 0, 0
- loop all players in radius 5 around location of victim:
- command "execute %loop-player% ~ ~ ~/playsound minecraft:BLOCK.METAL.BREAK master %loop-player%"
- else if {killeffect.%attacker%} is "thunder":
- create lightning effect at the victim
- on death of player:
- if {game} is "true":
- execute console command "execute %attacker% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement