#help with hulk

1 messages · Page 1 of 1 (latest)

empty hawkBOT
#

<@&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:1744417299: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

pearl lynx
#

execute as @a[tag=hulk,scores={slam=20..}] at @s unless block ~ ~-0.03 ~ air run damage @e[distance=15] 16 minecraft:player_attack by d_vz

this is the ful command

plain jacinth
#

it is what it says

craggy vapor
#

The error is pretty clear. The damage command can only target a single entity, your current target selector arguments allow for multiple entities

plain jacinth
#

you can only target one entity with the damage command

craggy vapor
#

You need to include limit=1 as an argument

#

If you want to use @e here

pearl lynx
#

but i am using

#

and it doesnt work with husks

craggy vapor
#

You weren't

pearl lynx
#

btw im scale 10

#

does this affect?

plain jacinth
#

doesn't mater

craggy vapor
#

Your distance argument is only targeting entities that are exactly 15 blocks away

#

You need to use ..15 for entities that are within 15 blocks

plain jacinth
pearl lynx
#

if it was for playes could i use for more than one ?

plain jacinth
#

no

#

1 entity means 1 entity

#

if you want to damage multiple you have to split the command in the execute part

pearl lynx
#

what do you mean??

plain jacinth
#

execute as @a run dmagage @s 10

#

this is just and example, don't use it like that

pearl lynx
#

if i copy this command a bunch of times will it work for more entities??

plain jacinth
#

if you look 1 message above, I just answered that.

pearl lynx
#

managed to solve it thanks

empty hawkBOT
# pearl lynx managed to solve it thanks
🎗️ Is your question resolved?

If your question is resolved, that's great to hear! Make sure to run /resolve or click the Resolve Question button. Otherwise, feel free to continue asking for help! :D

plain jacinth
#

@pearl lynx

pearl lynx
#

what?

empty hawkBOT
#
Question Closed

Your question, #1360401945038422230 (help with hulk), was resolved!

Original Message

#1360401945038422230 message

Duration open

1d15h23m