so, i'm trying to create an effect when a player right clicks whilst sneaking. the code that i have only executes if a player right clicks a block when sneaking. how can i make it so the effect executes when a player right clicks in general whilst sneaking?
thanks in advance
code_language.skript:
on rightclick:
if player is sneaking:
message "test"
thanks in advance