Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if {team.%victim%} is "red":
- if {team.%attacker%} is "red":
- cancel event
- if {team.%attacker%} is "blue":
- command "/tp %victim% 118 107 -460"
- broadcast "&9%attacker%&rが&c%victim%&rを倒した"
- set {team.%victim%} to "none"
- set {_redpl} to {_redpl} - 1
- set {kill.%attacker%} to {kill.%attacker%} + 1
- if {_redpl} is 0:
- set {_shiai} to "stop"
- set {_syouinn} to "blue pl"
- if {team.%victim%} is "blue":
- if {team.%attacker%} is "blue":
- cancel event
- if {team.%attacker%} is "red":
- command "/tp %victim% 118 107 -460"
- broadcast "&c%attacker%が&9%victim%を倒した"
- set {kill.%attacker%} to {kill.%attacker%} + 1
- set {_bluepl} to {_bluepl} - 1
- if {_bluepl} is 0:
- set {_shiai} to "stop"
- set {_syouinn} to "red pl"
- on break:
- if {shiaisann.%player%} is "out":
- if player do not have permission "sk.op":
- cancel event
- if {shiaisann.%player%} is "in":
- cancel event
- {_shiai} is "start"
- if the event-block is red stained glass pane:
- if {team.%player%} is "blue":
- set {_shiai} to "stop"
- set {_syouinn} to "blue flag"
- if the event-block is blue stained glass pane:
- if {team.%player%} is "red":
- set {_shiai} to "stop"
- set {_syouinn} to "red flag"
- if the event-block is snow:
- if {yaku.%player%} is "back":
- if player have six snow ball:
- set action bar of player to "&c雪玉は六個しか持てません"
- if player have snow ball less than six:
- give player snow ball
- if player have three snow ball:
- set action bar of player to "&c雪玉は三個しか持てません"
- if player have snow ball less than 3:
- give player snow ball
Advertisement
Add Comment
Please, Sign In to add comment