Jump to content

My Scoarboard Variabels Are Somehow Global Help!!


creepermosnt

Recommended Posts

my code:

on step on stone,grass,dirt,smooth stone slab,sandstone slab,spruce planks,brown carpet,bedrock, and grass path:
    set title of player's scoreboard to "&3&lSpecial&b&lGen"
    set line 6 of player's scoreboard to "&3&lName: &b&l%player%"
    set line 5 of player's scoreboard to "&6&lBalance: %{balance of %player%}%"
    set line 4 of player's scoreboard to "&5&lCrystals: %{playercrystals}%"
    set line 3 of player's scoreboard to "&2&lPing: %player's ping%"
    set line 2 of player's scoreboard to "&B&lTPS: %tps%"
    set line 1 of player's scoreboard to "                         "

Link to comment
Share on other sites

Hey there.

There is a couple of things wrong with this skript. I highly recommend you to learn the basics so you don't face troubles with common things.

If you want to make a scoreboard, follow this guide:

 

Also, next time, use the correct category to post Skript related problems!

Here is the link to the forum category: https://forums.minehut.com/forum/15-skript/

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

Moved to Skript - Discussion

Please be mindful to post in the correct category 🙂

Support  July 29, 2020 → November 3, 2020

► Helper November 3, 2020 → February 22, 2021

► Moderator February 22, 2021 → May 17, 2021

 I might not always respond to forum dms, however I am always contactable on discord (mig#0069)

Screen Shot 2020-03-20 at 5.23.33 pm.png

Link to comment
Share on other sites

On 3/1/2021 at 4:34 AM, creepermosnt said:

my code:

on step on stone,grass,dirt,smooth stone slab,sandstone slab,spruce planks,brown carpet,bedrock, and grass path:
    set title of player's scoreboard to "&3&lSpecial&b&lGen"
    set line 6 of player's scoreboard to "&3&lName: &b&l%player%"
    set line 5 of player's scoreboard to "&6&lBalance: %{balance of %player%}%"
    set line 4 of player's scoreboard to "&5&lCrystals: %{playercrystals}%"
    set line 3 of player's scoreboard to "&2&lPing: %player's ping%"
    set line 2 of player's scoreboard to "&B&lTPS: %tps%"
    set line 1 of player's scoreboard to "                         "

Are you trying to make this scoreboard update every second? Or what.

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...