Help with Scoreboard

  • 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.
Mar 1, 2017
109
1
18
Hey,

how can i made a lagless scoreboard wich resets is every 40 Seconds?
But i wouldn't use every <time span>

- Thanks for every answer
 
Code:
Every  40 seconds in "Your world":
    loop all players:
        Wipe loop-player's sidebar
        set name of sidebar of loop-player to "name of scoreboard"
        Set score "text" in sidebar of loop-player to 16
        Set score "text" in sidebar of loop-player to 15

This is a very easy scoreboard to make, and it works. - Just whenever you put a %player% in the scoreboard, remember to rename it to %loop-player%
 
Code:
Every  40 seconds in "Your world":
    loop all players:
        Wipe loop-player's sidebar
        set name of sidebar of loop-player to "name of scoreboard"
        Set score "text" in sidebar of loop-player to 16
        Set score "text" in sidebar of loop-player to 15

This is a very easy scoreboard to make, and it works. - Just whenever you put a %player% in the scoreboard, remember to rename it to %loop-player%
Yes, but i won't use "every <time span>"

- But thank you :emoji_slight_smile:
 
Try this, this just loop your players, this should not lag. I am using it on a test server with 0,5 GB RAM, and its not laggy at all
Thanks. How can i delete the Scoreboard from the players?
 
Okay, you can set a command for that:
Code:
Command /Delscoreboard:   #You can change this if you want to
    Permission: scoreboard.admin   #You can remove the permission or you can change the permission
    Permission message: text     #You can remove this or you can change it
    Trigger:
        Loop all players:
            Wipe loop-player's sidebar
            Set name of sidebar of loop-player to "Text"    #From now they can't see a scoreboard
This should be it, but i just wrote it. And i dont know if it shows the scoreboard after 40 seconds.
 
Okay, you can set a command for that:
Code:
Command /Delscoreboard:   #You can change this if you want to
    Permission: scoreboard.admin   #You can remove the permission or you can change the permission
    Permission message: text     #You can remove this or you can change it
    Trigger:
        Loop all players:
            Wipe loop-player's sidebar
            Set name of sidebar of loop-player to "Text"    #From now they can't see a scoreboard
This should be it, but i just wrote it. And i dont know if it shows the scoreboard after 40 seconds.
Ok Thank you! :emoji_slight_smile:
 
Status
Not open for further replies.