Kill scoreboard help

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

BionicFrost

Member
Nov 24, 2017
1
0
0
Ok so I'm very new to this (I started today). :emoji_grin:
I'm trying to make a basic scoreboard that shows Kills/Deaths/Balance/Killstreak/Best Killstreak
I was wondering... how do I make the scoreboard update every second? I currently have it update everytime you join, but that messes up the killstreaks. Help would be appreciated :emoji_slight_smile:
 

Attachments

  • ScoreBoard.sk
    1 KB · Views: 473
I don't use scoreboards often, but it looks like you already have it updating every second with this bit of your code here?
code_language.skript:
every 1 second:

    set name of sidebar of player to "&b&lBionicCraft"
    set name of sidebar of player to "&b&lBionicCraft"
    set score "&2Kills&8: &a%{kills.%player%}%" in sidebar of player to 8
    set score "&2Death&8: &a%{deaths.%player%}%" in sidebar of player to 7
    set score "&2Online&8: &a%number of all players%&8/&a100" in sidebar of player to 6
    set score "&2&l " in sidebar of player to 5
    set score "&b&lKillstreak:" in sidebar of player to 4
    set score "&2Killstreak: &a%{killstreak.%player%}%" in sidebar of player to 3
    set score "&5&l " in sidebar of player to 2
    set score "&bEnjoy your stay!" in sidebar of player to 1

Unless I'm mistaken
 
I would recommend not updating it every 1 second or else the scoreboard will probably flicker. You should just update it whenever something changes on it, i.e. when a player dies, gets a kill, joins the server.
 
code_language.skript:
every 1 second:
    loop all players:
        set name of sidebar of loop-player to "Whatever"
then u just change everything to loop-player instead of player
 
Status
Not open for further replies.