How would I test if a player goes below a certain height and kill them if they do?

//ads -- adsterra.com -- native banner
?>
I'm building a map and I need to keep people from getting to my redstone.
I am going to make it so that it can detect them coming down towards it and send them back to spawn if they pass a certain height.
Pictures about "How would I test if a player goes below a certain height and kill them if they do?"



How do you kill a specific person in Minecraft?
Minecraft kill command But should you want to kill another player, use \u201c/kill <player>\u201d. And to kill a certain type of mob, \u201c/kill @e[type=mobType]\u201d.Why Is My Guitar Buzzing? (Fixing Fret Buzz)
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Harrison Haines, Ryutaro Tsukata, Ollie Craig, Harrison Haines