Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- system: &7[&aSystem&7]
- admin: &4[&cAdmin&4]
- variables:
- {Status.%player%.prefix} = "&7Newbie"
- command /setspawn <text>:
- trigger:
- if {Status.%player%.prefix} is "&cAdmin":
- set {spawnlist::%arg%} to location of player
- send "{@admin} &a現在地をspawn地点、&a&n%arg%&r&7として保存しました。"
- command /setadmin <player>:
- trigger:
- if name of player is "LMB_BobSigekun":
- set {Status.%player%.prefix} to "&cAdmin"
- play sound "block.note.pling" with volume 1 with pitch 2 at player
- send "{@admin} &b%arg%&7さんに&cAdmin&7を付与しました。"
- command /setteam <player>:
- trigger:
- if {Status.%player%.prefix} is "&cAdmin":
- if {Match.%arg%.team} is not set:
- set {Match.%arg%.team} to "&cRed"
- add arg to {Redteam::*}
- send "{@admin} &c&nRedTeam&r &7になりました。" to arg
- play sound "block.note.pling" with volume 1 with pitch 2 at player
- stop
- if {Match.%arg%.team} is "&cRed":
- set {Match.%arg%.team} to "&9Blue"
- remove arg from {Redteam::*}
- add arg to {Blueteam::*}
- send "{@admin} &9&nBlueTeam&r &7になりました。" to arg
- play sound "block.note.pling" with volume 1 with pitch 2 at player
- stop
- if {Match.%arg%.team} is "&9Blue":
- delete {Match.%arg%.team}
- remove arg from {Blueteam::*}
- send "{@admin} &7無所属になりました。" to arg
- play sound "block.note.pling" with volume 1 with pitch 2 at player
- stop
- every second:
- loop all players:
- wipe loop-player's sidebar
- set loop-player's tablist name to "|%{Status.%loop-player%.prefix}%&f|%loop-player%"
- set name of sidebar of loop-player to "&e&l[ &b&lBobribian &e&l]"
- set score "&e&l- TeamScore -" in sidebar of loop-player to 4
- set score "&c✖Red✖ %{Match.Red.Score}%" in sidebar of loop-player to 3
- set score "&6------------------" in sidebar of loop-player to 2
- set score "&9✖Blue✖ %{Match.Blue.Score}%" in sidebar of loop-player to 1
- set score "&7現在作成中..." in sidebar of loop-player to 10
- on break of endstone:
- set event-block to endstone
- set {_pitch} to random integer between 0.5 and 0.9
- play sound "block.anvil.place" with volume 1 with pitch {_pitch} at event-player
- play sound "block.note.pling" with volume 1 with pitch 1 at event-player
- if {Match.%player%.team} is "&cRed":
- if type of block under the event-block is Blue wool:
- broadcast "{@system} &c%player%がコアを攻撃しています"
- add 1 to {Match.Red.Score}
- loop {Redteam::*}:
- send "+1XP"
- add 1 to {Status.%loop-index%.xp}
- if type of block under the event-block is Red wool:
- send "{@system} &c自陣のコアを削ることはできません。"
- stop
- if {Match.%player%.team} is "&9Blue":
- if type of block under the event-block is Red wool:
- broadcast "{@system} &9%player%がコアを攻撃しています!"
- add 1 to {Match.Blue.Score}
- loop {Blueteam::*}:
- send "+1XP"
- add 1 to {Status.%loop-index%.xp}
- if type of block under the event-block is Blue wool:
- send "{@system} &c自陣のコアを削ることはできません。"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement