#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)
<@&1201956957406109788>
💬 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
You need to specify which player
Do you detect the right click with a scoreboard?
yes
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
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

:P it happens
thank you
Np
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