#Help with line “if distance between loop-player and {_boss} input is smaller than 20”

1 messages · Page 1 of 1 (latest)

steep frost
#

Try < instead of smaller than

royal rock
#

less than would work as well

steep frost
#

=< better

royal rock
#

yeah

#

works the same

ashen cliff
#

Interesting how the default value is measured in blocks

leaden portal
#

That skript isn't the best for the server so try something like

    if distance between player and {_boss} is < 20:
        set {_progress} to health of {_boss} divided by max health of {_boss}
        create bossbar titled "&a%health of {_boss}%/%max health of {_boss}% &c♥" and id "wardenhealth.%player%" for player with progress {_progress} with colors red
    else:
        remove bossbar "wardenhealth.%player%"```

Also codeblock/format
warm hollyBOT
frosty heron
#

ok

#

tps go brr

leaden portal
#

fr

frosty heron
#

💀

leaden portal
#

nothing happends

leaden portal
#

it aint my skript anyways

frosty heron
#

{_boss} has to be set in the same trigger

#

if u dont know the basics

#

dont try to help

leaden portal
#

if you are that dumb then get out of here,
skript as in another skript in that same file..... lmao

frosty heron
#

i guess i have to leave...

#

🧌

leaden portal
#

Code doesn't like pinged so why u ping him

frosty heron
#

code is pretty cool

#

thats why

#

hes really good at chess

#

i hope he can teach me something someday

frosty heron
fervent gyro
leaden portal
fervent gyro
leaden portal
frosty heron
#

mike dont use that

hoary spruce
leaden portal
#

idk

#

you can figure it out ig lmao

hoary spruce
steep frost
leaden portal
steep frost
#

Idk man

hoary spruce
steep frost
#

Honestly no help would probably be better

hoary spruce
hoary spruce
#

not strawmanned but put into words:

him "{_variable} doesnt save for other triggers"
you "your dumb, i meant as in the same file"

#

💀

frosty heron
leaden portal