Jump to content

Want a scoreboard/tab? here ya go.


CocoLovesDino

Recommended Posts

#-tab and scoreboard-#         

on join:
    refreshBoard(player)
    while player is online:
        refreshBoard(player)
        wait 15 ticks
        set player's tab list header to "&0[&3CVI&bboxers&0] %newline%<##8aebff>Online players: &f%player count%&f/&f%maximum players%%newline%%newline%&3&lEnjoy%newline%"
        wait 15 ticks
        set player's tab list header to "&0[&3CVI&bboxers&0] %newline%<##8aebff>Online players: &f%player count%&f/&f%maximum players%%newline%%newline%&b&lyour%newline%"
        wait 15 ticks
        set player's tab list header to "&0[&3CVI&bboxers&0] %newline%<##8aebff>Online players: &f%player count%&f/&f%maximum players%%newline%%newline%&9&lstay%newline%"
        wait 15 ticks
        set player's tab list header to "&0[&3CVI&bboxers&0] %newline%<##8aebff>Online players: &f%player count%&f/&f%maximum players%%newline%%newline%&7&lEnjoy%newline%"
        wait 15 ticks
        set player's tab list header to "&0[&3CVI&bboxers&0] %newline%<##8aebff>Online players: &f%player count%&f/&f%maximum players%%newline%%newline%&5&lthe %newline%"
        wait 15 ticks
        set player's tab list header to "&0[&3CVI&bboxers&0] %newline%<##8aebff>Online players: &f%player count%&f/&f%maximum players%%newline%%newline%&3&lbox %newline%"
        wait 15 ticks
        set player's tab list header to "&0[&3CVI&bboxers&0] %newline%<##8aebff>Online players: &f%player count%&f/&f%maximum players%%newline%%newline% Galibix? %newline%"
        wait 15 ticks
        set player's tab list header to "&0[&3CVI&bboxers&0] %newline%<##8aebff>Online players: &f%player count%&f/&f%maximum players%%newline%%newline%&8 Who's&b Galibix&f? %newline%"
        
on death of player:
    if attacker is a player:
        set attacker's tab list footer to "%newline%<##8aebff>Kills: %{kills::%attacker's uuid%}%%newline%<##8aebff>Deaths: %{deaths::%attacker's uuid%}%%newline%<##8aebff>Ratio: %{kills::%attacker's uuid%} / {deaths::%attacker's uuid%}%"
        set victim's tab list footer to "%newline%<##8aebff>Kills: %{kills::%victim's uuid%}%%newline%<##8aebff>Deaths: %{deaths::%victim's uuid%}%%newline%<##8aebff>Ratio: %{kills::%victim's uuid%} / {deaths::%victim's uuid%}%"
        add 1 to {deaths::%victim's uuid%}
        add 1 to {kills::%attacker's uuid%}
        heal attacker by 2.5 hearts

on quit:
    clear player's scoreboard

function refreshBoard(p: player):
    set {_u} to {_p}'s uuid
    set title of {_p}'s scoreboard to "&0[&3CVI&bboxers&0] &7%player count%&8/&7%maximum players%"
    set line 12 of {_p}'s scoreboard to "&a"
    set line 11 of {_p}'s scoreboard to "<##CFF3FF>&lPLAYER"
    set line 10 of {_p}'s scoreboard to " <##40849B>Kills: &7%{kills::%{_u}%} ? 0%"
    set line 9 of {_p}'s scoreboard to " <##CFF3FF>Deaths: &7%{deaths::%{_u}%} ? 0%"
    set line 8 of {_p}'s scoreboard to " <##40849B>KDR: &7%{kills::%{_u}%} / {deaths::%{_u}%}%"
    set line 7 of {_p}'s scoreboard to "&b"
    set line 6 of {_p}'s scoreboard to "<##CFF3FF>&lSERVER"
    set line 5 of {_p}'s scoreboard to " <##40849B>Online: &7%player count%&8/&7%maximum players%"
    set line 4 of {_p}'s scoreboard to " <##CFF3FF>Joins: &7%size of all offline players%"
    set line 3 of {_p}'s scoreboard to " <##40849B>TPS: &7%tps from last minute%"
    set line 2 of {_p}'s scoreboard to "&c"
    set line 1 of {_p}'s scoreboard to "&0[&bCVI&3boxers&0]&3.minehut.gg"

#-tab and scoreboard-#

 

enjoy although you do need to config a lot of this

Link to comment
Share on other sites

  • 7 months later...
  • 7 months later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...