-
Posts
438 -
Joined
-
Last visited
-
Days Won
5
StarBunnie last won the day on August 8 2021
StarBunnie had the most liked content!
About StarBunnie
- Birthday 12/20/2000
Recent Profile Visitors
2,378 profile views
StarBunnie's Achievements
-
CuteLittleSpark started following StarBunnie
-
_NNUCLEUS_ started following StarBunnie
-
gamerhd started following StarBunnie
-
SonoShinoSadame started following StarBunnie
-
INTEL-9INER started following StarBunnie
-
That is not how skript works. A skript needs an event to trigger the following code. For example an event is stuff like: on break: on place: command /test: trigger: These are events that tell skript one the code below is supposed to run. So in order to use the if you have there you need a trigger since you already have an on break: event because you add xp when breaking an ore just add it to that.
-
When I am on pressure plate, the timer starts running
StarBunnie replied to DaanSkuhh070's topic in Discussion
It's actually quite easy to make just save the "start"-pressure plate and the "end"-pressure plate as a location and when the player steps on the "start"-pressure plate set a player specific variable to now and upon stepping on the "end"-pressure plate set a variable to the difference between the previously set variable and now. -
FlapKakker started following StarBunnie
-
How to check if a player is between 2 coordinates?
StarBunnie replied to champepicgamerman's topic in Discussion
You have to set both locations and also use SkQuery or SkJade for it -
It should not it's a "Request Skripts" post so every skript posted here is done and released
-
This is neither a necropost nor the wrong topic tho..
-
It was against the rules from the start minehut doesn't like adrewards for several reasons. It's new tho that they are acting on it but that sounds more like a server-side bug tbh
-
How to check if a player is between 2 coordinates?
StarBunnie replied to champepicgamerman's topic in Discussion
if player's location is within {_loc1} and {_loc2}: -
Are you storing locations by any chance?
-
send formatted "<sgt:Text you want to suggest>Text to display in chat<reset>"
- 2 replies
-
- skript
- clickable message
-
(and 2 more)
Tagged with:
-
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"
-
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
-
What does it look like it works fine on my server
-
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