Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function scoreboard(p: player):
- {gamesidebar.%{_p}%} is true
- wipe {_p}'s sidebar
- set name of sidebar of {_p} to "&e&lTHE WALLS"
- set score "&a" in sidebar of {_p} to 7
- set score "&fKills: &a%{gamekill.%{_p}%}%" in sidebar of {_p} to 6
- set score "&e" in sidebar of {_p} to 5
- set score "&fRed Players: &a作成中..." in sidebar of {_p} to 4
- set score "&fBlue Players: &a作成中..." in sidebar of {_p} to 3
- set score "&c" in sidebar of {_p} to 2
- set score "&fGameCoins: &6%{gamecoins.%{_p}%}%" in sidebar of {_p} to 1
- set score "&7" in sidebar of {_p} to 0
- set score "&eplay.rezxis.net" in sidebar of {_p} to -1
- command /gamescore <text>:
- trigger:
- if arg-1 is "off":
- set {gamesidebar.%player%} to false
- wipe player's sidebar
- stop
- if arg-1 is "on":
- set {gamesidebar.%player%} to true
- scoreboard(player)
- on death of player:
- set death message to "&7%victim% &ewas killed by &7%attacker%"
- add 1 to {gamekill.%attacker%}
- add 1 to {kill.%attacker%}
- execute console command "/playsound entity.experience_orb.pickup master %attacker% ~ ~ ~ 2 2 1"
- strike lightning effect at player
- scoreboard(attacker)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement