Advertisement
Itsyuumello2

Untitled

Dec 1st, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. function scoreboard(p: player):
  2. {gamesidebar.%{_p}%} is true
  3. wipe {_p}'s sidebar
  4. set name of sidebar of {_p} to "&e&lTHE WALLS"
  5. set score "&a" in sidebar of {_p} to 7
  6. set score "&fKills: &a%{gamekill.%{_p}%}%" in sidebar of {_p} to 6
  7. set score "&e" in sidebar of {_p} to 5
  8. set score "&fRed Players: &a作成中..." in sidebar of {_p} to 4
  9. set score "&fBlue Players: &a作成中..." in sidebar of {_p} to 3
  10. set score "&c" in sidebar of {_p} to 2
  11. set score "&fGameCoins: &6%{gamecoins.%{_p}%}%" in sidebar of {_p} to 1
  12. set score "&7" in sidebar of {_p} to 0
  13. set score "&eplay.rezxis.net" in sidebar of {_p} to -1
  14.  
  15. command /gamescore <text>:
  16. trigger:
  17. if arg-1 is "off":
  18. set {gamesidebar.%player%} to false
  19. wipe player's sidebar
  20. stop
  21. if arg-1 is "on":
  22. set {gamesidebar.%player%} to true
  23. scoreboard(player)
  24.  
  25. on death of player:
  26. set death message to "&7%victim% &ewas killed by &7%attacker%"
  27. add 1 to {gamekill.%attacker%}
  28. add 1 to {kill.%attacker%}
  29. execute console command "/playsound entity.experience_orb.pickup master %attacker% ~ ~ ~ 2 2 1"
  30. strike lightning effect at player
  31. scoreboard(attacker)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement