Solved Scoreboard Update?

  • 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 comminuty!

    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.

iHackz

Member
Feb 4, 2017
4
0
0
23
Skript Version: Skript 2.1.2
Skript Author: Njol
Minecraft Version: 1.8.8

So I was able to make a scoreboard after messing with it for an hour. But now I have no clue how to get it to update while you/me are online. I have tried different ways that I thought might work. I'm new to Skript, sorry :/

Thanks for your time :emoji_slight_smile:

Addons using (including versions):
Skellett 1.7.8, SkMorkaz 0.0.1, SkQuery 3.21.4, skRayFall 1.9.5, WildSkript 1.8, and Umbaska 2.0 - Beta 5.0541
 
you can use skrayfall sistem:
code_language.skript:
on join:
    set name of sidebar of player to coloured "&6TestSidebar"
    set id score "&1Score-2" in sidebar of player to 2 with id "%player%-2"
    set id score "&1Score-1" in sidebar of player to 1 with id "%player%-1"
    while player is online:
        update score id "%player%-2" to "&1Score-2" and 2
        update score id "%player%-1" to "&1Score-1" and 1
        wait 1 second

code_language.skript:
set id score "TEXT" in sidebar of player to 1 with id "ID"

update score id "ID" to "TEXT" and 1
 
you can use skrayfall sistem:
code_language.skript:
on join:
    set name of sidebar of player to coloured "&6TestSidebar"
    set id score "&1Score-2" in sidebar of player to 2 with id "%player%-2"
    set id score "&1Score-1" in sidebar of player to 1 with id "%player%-1"
    while player is online:
        update score id "%player%-2" to "&1Score-2" and 2
        update score id "%player%-1" to "&1Score-1" and 1
        wait 1 second

code_language.skript:
set id score "TEXT" in sidebar of player to 1 with id "ID"

update score id "ID" to "TEXT" and 1
Thanks :emoji_grinning:
 
Status
Not open for further replies.