Jump to content
  • 0

Why Wont This Work?


charlie5871

Question

options:
    server: &4&lEvil &6&lMines
 

every 1 second:
    loop all players:
    if world of loop-player is "Spawn":
        set {_online} to number of all players
        wipe loop-player's sidebar
        set name of sidebar of loop-player to "{@server}"
        set score "&b&l-----------------" in sidebar of loop-player to 9
        set score "&aRank : &6%loop-player's prefix%" in sidebar of loop-player to 8
        set score "&aName: &6%loop-player's name%" in sidebar of loop-player to 7
        set score "&aBlocks Broken: &6%{StatsBlocksMined.%loop-player%}%" in sidebar of loop-player to 6
        set score "&aCredits: &b%{credits::%loop-player%}%" in sidebar of loop-player to 5
        set score "&b&l-----------------" in sidebar of loop-player to 4
        set score "       &8&l| &6&lSEASON 3 &8&l|   " in sidebar of loop-player to 3
        set score "   &7EvilMines.minehut.gg" in sidebar of loop-player to 2 

 

On the if world of loop-player is "Spawn": part, it still shows in when i go into different worlds. How Do I Fix?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
21 minutes ago, charlie5871 said:

options:
    server: &4&lEvil &6&lMines
 

every 1 second:
    loop all players:
    if world of loop-player is "Spawn":
        set {_online} to number of all players
        wipe loop-player's sidebar
        set name of sidebar of loop-player to "{@server}"
        set score "&b&l-----------------" in sidebar of loop-player to 9
        set score "&aRank : &6%loop-player's prefix%" in sidebar of loop-player to 8
        set score "&aName: &6%loop-player's name%" in sidebar of loop-player to 7
        set score "&aBlocks Broken: &6%{StatsBlocksMined.%loop-player%}%" in sidebar of loop-player to 6
        set score "&aCredits: &b%{credits::%loop-player%}%" in sidebar of loop-player to 5
        set score "&b&l-----------------" in sidebar of loop-player to 4
        set score "       &8&l| &6&lSEASON 3 &8&l|   " in sidebar of loop-player to 3
        set score "   &7EvilMines.minehut.gg" in sidebar of loop-player to 2 

 

On the if world of loop-player is "Spawn": part, it still shows in when i go into different worlds. How Do I Fix?

its because youre not wiping on board when you change worlds

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

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
×
×
  • Create New...