I'm making a Parkour Map and I need to know how to execute
/execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:grass 0 /kill @p[c=1] in 1.13.
It doesn't work for me, because this code was used in version 1.9 or thereabouts. I'm playing on PC.
How do you do execute this command in 1.13?