Jump to content

Some sorta loop-player error which i literally cant fix for some reason


pnguin

Recommended Posts

Ye so i kinda have a part of my skript which just gives a error and i cant really fix them...

These lines wont work:


		set line 4 of loop-player's scoreboard to "%tps%"
		set line 3 of loop-player's scoreboard to "  &7Online: &f%number of all players%&7/&f%max players%"

2021-07-08_16_25_43.thumb.png.444a1393625729165b22044c37b869f0.png

I used to play Minehut I guess?
Yeah, I still watch the forums for some reason. (15/5/2023)
Link to comment
Share on other sites

Try adding this to the top of the setlines in your scoreboard skript:
 

Spoiler

on join:
    clear player's scoreboard
    erase player's sidebar

on script load:
    loop all players:
        clear loop-player's scoreboard
        erase loop-player's sidebar

every tick:
    loop all players:
        toggle loop-player's scoreboard to true
 

 

If you like what I post or I've helped you please leave a like or upvote my posts! Thanks!

Link to comment
Share on other sites

11 minutes ago, wxterfall said:

Try adding this to the top of the setlines in your scoreboard skript:
 

  Hide contents

on join:
    clear player's scoreboard
    erase player's sidebar

on script load:
    loop all players:
        clear loop-player's scoreboard
        erase loop-player's sidebar

every tick:
    loop all players:
        toggle loop-player's scoreboard to true
 

 

I added it and it still gives the same errors

I used to play Minehut I guess?
Yeah, I still watch the forums for some reason. (15/5/2023)
Link to comment
Share on other sites

51 minutes ago, pizzaschut said:

I added it and it still gives the same errors

As far as I know only using

%tps%

doesn't work try using 

%tps from the last minute%

instead and see if it works.

The reason it shows as a loop-player error is that skript just yeets it as that even tho other stuff in this line is wrong.

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

41 minutes ago, StarBunnie said:

As far as I know only using

%tps%

doesn't work try using 

%tps from the last minute%

instead and see if it works.

The reason it shows as a loop-player error is that skript just yeets it as that even tho other stuff in this line is wrong.

Tried %tps from the last minute and i still get errors%

I used to play Minehut I guess?
Yeah, I still watch the forums for some reason. (15/5/2023)
Link to comment
Share on other sites

34 minutes ago, pizzaschut said:

Tried %tps from the last minute and i still get errors%

Hmm mind sending the whole skript block? I guess you could also try using temporary variables so 

set {_tps} to tps of last minute

and use the variables instead

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

4 hours ago, pizzaschut said:

Tried %tps from the last minute and i still get errors%

i dont know which one, but %tps from the last minute% doesnt work in paper/spigot

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

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 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

6 minutes ago, AgentGamerPro said:

i dont know which one, but %tps from the last minute% doesnt work in paper/spigot

Are you sure I literally pulled it from my server which is paper/spigot?

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

3 hours ago, StarBunnie said:

Are you sure I literally pulled it from my server which is paper/spigot?

it might be working now? before in either paper or spigot, cant remember, it didnt work, said it doesnt support in this software.

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

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 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

12 hours ago, StarBunnie said:
set {_tps} to tps of last minute

I literally still get the same error idk what this is

I used to play Minehut I guess?
Yeah, I still watch the forums for some reason. (15/5/2023)
Link to comment
Share on other sites

5 hours ago, pizzaschut said:

I literally still get the same error idk what this is

Mind sending the entire skript?

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

on join:
    while player is online:
        set {_tps::*} to tps
        set tablist header of player to " "
        set tablist footer of player to "TPS: %{_tps::1}% "
        wait 2 seconds

 

imgonline-com-ua-resize-CNNkL1drx5M-removebg-preview.png.d6a8ae8b5eb862005fb056c21f934200.png

Link to comment
Share on other sites

13 minutes ago, LapEvents said:

Let me see let me see. I have a tps skript

ok you dont have to post 3 times

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

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 - 5/8/2024

[MOD] 5/8/2024 - 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...