#is there a way to do @s with /execute on a command block but have it be as the player?

1 messages · Page 1 of 1 (latest)

teal stirrupBOT
#

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

finite sinew
#

You need to specify which player

south pike
#

well

#

i need to specify that its the player that used the carrot on a stick

finite sinew
#

Do you detect the right click with a scoreboard?

south pike
#

yes

finite sinew
#

Then just execute the command as any player who has a score of 1 or more in the scoreboard: execute as @a[scores={<objective>=1..}] run ...

#

Then you can use @s

south pike
#

oh my god im stupid i was gonna do that but then i thought it wouldnt work

#

changed the test answer and my first was right

finite sinew
#

:P it happens

south pike
#

thank you

finite sinew
#

Np

teal stirrupBOT
# south pike thank you
🎗️ 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