#adding scoreboards to entities?

1 messages · Page 1 of 1 (latest)

lucid fulcrum
#

i know its possible but I dont really know how

fluid heronBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1735496004:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

sick wren
#

just instead of doing @p use @e[<any_selector>]

sturdy temple
#

/scoreboard players add <entity> <score> <value>?

lucid fulcrum
#

what about using a Health scoreboard

sturdy temple
#

The Health criteria doesn't get tracked automatically for non-players, you need to make a dummy scoreboard and then store their health value to it

lucid fulcrum
#

I set one up but when I checked the mob it said cant find value of Health for entity none is set

sturdy temple
#

First make a dummy scoreboard, and then use execute store result score ... run data get entity @s Health

lucid fulcrum
#

alr

#

ill try it

#

but what about @e[tag=<tag>] would that work?

sturdy temple
#

Of course

lucid fulcrum
#

or is there a limit of one?

#

alr

sturdy temple
#

Depends where you use it

lucid fulcrum
#

I need it for a bit of math

#

basically max health - health is damage

sturdy temple
#

ok