Help with "execute if block".

Why doesn't this work when put in namespace:tick? execute if block ~ ~-1 ~ minecraft:lime_concrete run effect give @e invisibility infinite
Continue to help post