Jump to content

Scoreboard Not working-Script Releases-Minehut Forums


77om9
 Share

Recommended Posts

  • 2 weeks later...
Posted (edited)

every 3 seconds:
    loop all players:
        wipe loop-player's sidebar
        set {_uuid} to loop-player's uuid
        set name of loop-player's sidebar to "&bSky&4V&3Mining"
        set score "&b----------------" in loop-player's sidebar to 7
        set score "&7Name: &f%loop-player's name%" in loop-player's sidebar to 6
        set score "&7Rank: &f%loop-player's prefix%" in loop-player's sidebar to 5
        set score "&7Mined Blocks: &f%{playerdata::%{_uuid}%::mined} ? 0%" in loop-player's sidebar to 4
        set score "&7Kills: &f%{playerdata::%{_uuid}%::kills} ? 0%" in loop-player's sidebar to 3
        set score "&7Deaths: &f%{playerdata::%{_uuid}%::deaths} ? 0%" in loop-player's sidebar to 2
        set score "&b----------------" in loop-player's sidebar to 1

on death of player:
    set {_v} to victim's uuid
    set {_a} to attacker's uuid
    add 1 to {playerdata::%{_v}%::deaths}
    add 1 to {playerdata::%{_a}%::kills} if {_a} is set

on break:
    set {_uuid} to player's uuid
    add 1 to {playerdata::%{_uuid}%::mined}

Edited by 77om9
Link to comment
Share on other sites

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
 Share



×
×
  • Create New...