on right click:
if targeted block is sculk vein or sculk block:
if player's tool is lingering potion of night vision named "&1Anti-Corruption":
cancel event
if targeted block is sculk vein:
set targeted block to air
give player sculk vein named "&r&9Sculk Vein"
else if targeted block is sculk block:
set targeted block to dirt
give player sculk block named "&r&9Sculk Block"
else if player's tool is lingering potion of night vision named "&1Anti-Corruption":
cancel event
send "&cYou cannot use this potion in this way!" to player
I want it to not act as a normal potion and do this instead but it isn;t working. I'm super new to skript and don't really know what i'm doing any insight would be appreciated.

