Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function board(p: player):
- delete {_p}'s sidebar
- delete stylish scoreboard named "Scoreboard-%{_p}%"
- wait 1 tick
- set {_data} to "%now%"
- set {_tag} to the first 7 characters of {_data}
- if stylish scoreboard "Scoreboard-%{_p}%" does not exist:
- wait 1 tick
- create new stylish scoreboard named "Scoreboard-%{_p}%"
- loop 11 times:
- create a new id based score "Scoreboard-%{_p}%Slot%loop-number%" with text "&%loop-number%" slot loop-number for stylish scoreboard "Scoreboard-%{_p}%"
- while {_p} is online:
- if {done.%{_p}%} is set:
- set stylish scoreboard of {_p} to "Scoreboard-%{_p}%"
- set title of stylish scoreboard "Scoreboard-%{_p}%" to "&6&lMY BOARD"
- set the text of id "Scoreboard-%{_p}%Slot11" to "&7%{_tag}%"
- set the text of id "Scoreboard-%{_p}%Slot10" to " "
- set the text of id "Scoreboard-%{_p}%Slot9" to "&eLogin"
- set the text of id "Scoreboard-%{_p}%Slot8" to "&a/login&e."
- set the text of id "Scoreboard-%{_p}%Slot7" to " "
- set the text of id "Scoreboard-%{_p}%Slot6" to "&eRegister"
- set the text of id "Scoreboard-%{_p}%Slot5" to "&a/register&e."
- set the text of id "Scoreboard-%{_p}%Slot4" to " "
- set the text of id "Scoreboard-%{_p}%Slot3" to "&eHost: &aEthernal"
- set the text of id "Scoreboard-%{_p}%Slot2" to " "
- set the text of id "Scoreboard-%{_p}%Slot1" to "&aplay.ethernalmc.us"`
- else:
- set stylish scoreboard of {_p} to "Scoreboard-%{_p}%"
- set title of stylish scoreboard "Scoreboard-%{_p}%" to "&6&lETHERNAL"
- set the text of id "Scoreboard-%{_p}%Slot11" to "&7%{_tag}%"
- set the text of id "Scoreboard-%{_p}%Slot10" to " "
- set the text of id "Scoreboard-%{_p}%Slot9" to "&eNew games"
- set the text of id "Scoreboard-%{_p}%Slot8" to "&eAre &ahere&e."
- set the text of id "Scoreboard-%{_p}%Slot7" to " "
- set the text of id "Scoreboard-%{_p}%Slot6" to "&aSkyWars %rogershito_core: skywars%"
- set the text of id "Scoreboard-%{_p}%Slot5" to "&aBedWars %rogershito_core: skywars%."
- set the text of id "Scoreboard-%{_p}%Slot4" to " "
- set the text of id "Scoreboard-%{_p}%Slot3" to "&eHost: &aUnited States"
- set the text of id "Scoreboard-%{_p}%Slot2" to " "
- set the text of id "Scoreboard-%{_p}%Slot1" to "&aplay.ethernalmc.us"
- wait 1 second
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement