1
Deadly Floor
Hi. I'm not much of a redstoner myself, so I need your help. Basically, I would like to make a floor that will instantly kill anyone who steps on it, like in some parkour maps. If you can tell me how, that would be great! Thanks!
Create an account or sign in to comment.
2
1
There are two easy ways to do this with commands. Either make your floor out of a certain block, and then execute a kill command when players are standing on the block. For instance, this one would work if your floor was made of red wool:
If your floor is perfectly flat, you can simply kill any player who goes below a certain y coordinate with something like this:
execute @a ~ ~ ~ detect ~ ~-1 ~ wool 14 kill @p
This one works great for floors that aren't level.If your floor is perfectly flat, you can simply kill any player who goes below a certain y coordinate with something like this:
execute @a ~ ~ ~ execute @a[y=0,dy=#] ~ ~ ~ kill @p
To change the level where the player dies, just change the # to a number. So if you want them to die at y=10, then make dy=10.1
Have tripwire hooks or pressure plates connected to command blocks with the following command: /kill @p