Jump to content

StarBunnie

Member
  • Posts

    427
  • Joined

  • Last visited

  • Days Won

    4

StarBunnie last won the day on July 17

StarBunnie had the most liked content!

About StarBunnie

Recent Profile Visitors

1,065 profile views

StarBunnie's Achievements

Regular

Regular (4/6)

93

Reputation

2

Community Answers

  1. Uh use this one instead of the other function function convHex(t: text) :: text: if {_t} contains "&##": set {_t2::*} to {_t} split at "&##" set {_t} to "" delete {_t2::1} loop {_t2::*}: set {_word} to loop-value set {_char} to first 6 characters of {_word} replace {_char} in {_word} with "" set {_t} to "%{_t}%<##%{_char}%>%{_word}%" return {_t} every tick: loop all players: toggle loop-player's scoreboard to true set title of loop-player's scoreboard to "&4&lVelvetSurv" set line 11 of loop-player's scoreboard to "&b" set line 10 of loop-player's scoreboard to "&4&lRank&c:" set {_pref} to formatted convHex(loop-player's prefix) set line 9 of loop-player's scoreboard to " &4&lRank&c: %{_pref}%" set line 8 of loop-player's scoreboard to " &4&lPing&c: &c%loop-player's ping%ms" set line 6 of loop-player's scoreboard to "&b" set line 5 of loop-player's scoreboard to "&b&lInformations" set line 4 of loop-player's scoreboard to " &4&lTPS&c: &c%rounded 1st element of tps%" set line 3 of loop-player's scoreboard to " &4&lOnline&c: &c%number of all players%&8/&c%max players%" set line 2 of loop-player's scoreboard to "&b" set line 1 of loop-player's scoreboard to "&4&lVelvetsurv.minehut.gg"
  2. Ah now I understand the issue lol every tick: loop all players: toggle loop-player's scoreboard to true set title of loop-player's scoreboard to "&4&lVelvetSurv" set line 11 of loop-player's scoreboard to "&b" set line 10 of loop-player's scoreboard to "&4&lRank&c:" set {_pref} to loop-player's prefix if {_pref} contains "&##": set {_pref} to formatted convHex(loop-player's prefix) set line 9 of loop-player's scoreboard to " &4&lRank&c: %{_pref}%" set line 8 of loop-player's scoreboard to " &4&lPing&c: &c%loop-player's ping%ms" set line 6 of loop-player's scoreboard to "&b" set line 5 of loop-player's scoreboard to "&b&lInformations" set line 4 of loop-player's scoreboard to " &4&lTPS&c: &c%rounded 1st element of tps%" set line 3 of loop-player's scoreboard to " &4&lOnline&c: &c%number of all players%&8/&c%max players%" set line 2 of loop-player's scoreboard to "&b" set line 1 of loop-player's scoreboard to "&4&lVelvetsurv.minehut.gg" Give that a shot
  3. What does it look like it works fine on my server
  4. function convHex(t: text) :: text: set {_t2::*} to {_t} split at "&##" set {_t} to "" delete {_t2::1} loop {_t2::*}: set {_word} to loop-value set {_char} to first 6 characters of {_word} replace {_char} in {_word} with "" set {_t} to "%{_t}%<##%{_char}%>%{_word}%" return {_t} 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 set title of loop-player's scoreboard to "&4&lVelvetSurv" set line 11 of loop-player's scoreboard to "&b" set line 10 of loop-player's scoreboard to "&4&lRank&c:" set {_pref} to formatted convHex(loop-player's prefix) set line 9 of loop-player's scoreboard to " &4&lRank&c: %{_pref}%" set line 8 of loop-player's scoreboard to " &4&lPing&c: &c%loop-player's ping%ms" set line 6 of loop-player's scoreboard to "&b" set line 5 of loop-player's scoreboard to "&b&lInformations" set line 4 of loop-player's scoreboard to " &4&lTPS&c: &c%rounded 1st element of tps%" set line 3 of loop-player's scoreboard to " &4&lOnline&c: &c%number of all players%&8/&c%max players%" set line 2 of loop-player's scoreboard to "&b" set line 1 of loop-player's scoreboard to "&4&lVelvetsurv.minehut.gg" Just use this it should work
  5. That line was just an example on how to use it you can leave that out just write it below into your actual scoreboard skript but remember to use loop-player
  6. You can't just add the function into the scoreboard code xD Let it stand alone there are no indent errors the only line you need to use in your scoreboard itself is set {_pref} to formatted convHex(loop-player's prefix) A function stands alone so just copy it above you're scoreboard skript
  7. Alright slapped something together function convHex(t: text) :: text: set {_t2::*} to {_t} split at "&##" set {_t} to "" delete {_t2::1} loop {_t2::*}: set {_word} to loop-value set {_char} to first 6 characters of {_word} replace {_char} in {_word} with "" set {_t} to "%{_t}%<##%{_char}%>%{_word}%" return {_t} set {_pref} to formatted convHex(player's prefix)
  8. hmm I have an idea we already set {_pref} to player's prefix so maybe we can try something like the following set {_pref} to player's prefix replace "&" in {_pref} with "##" set {_pref} to formatted {_pref}
  9. [DiscordSRV - Initialization/ERROR]: [DiscordSRV] No bot token has been set in the config; a bot token is required to connect to Discord. I found this line in your logs it is quite possible that it disables itself to save on server resources when the token is not set.
  10. I just saw in the screen that you're using hexcodes that won't work with skript. Skript only reads hexcodes like this <##123456>
  11. I think for them to breed mobGriefing needs to be on.
  12. you wrote player you need to change it to loop-player
  13. Sorry bout the wait issue my bad. To use hex codes that are in like the prefix you might need to format it %formatted player's prefix% set {_pref} to formatted player's prefix give one of those a shot
  14. on join: while player is online: set title of player's scoreboard to "&5%player%" set line 1 of player's scoreboard to "Text" toggle scoreboard of player on
  15. SkRayFalls scoreboard is broken with hexcodes use SkBees instead
×
×
  • Create New...