How To Tp Players When They Touch A Certain Block In Multiplayer [duplicate]
//ads -- adsterra.com -- native banner
?>
I've started making a Flood Escape (Except the flood part is magma) Map but I've started having trouble with making people tp to spawn when they touch the magma when there are multiple people playing. If someone could help me with this, I would be very thankful.
PS. I'm On Bedrock Edition
Best Answer
Put this command in a repeating, always active, unconditional command block:
execute @a ~ ~ ~ detect ~ ~-1 ~ magma 0 kill
This will execute the command kill at all players (@a ~ ~ ~) that have a magma block underneath them (detect ~ ~-1 ~ magma 0).
Pictures about "How To Tp Players When They Touch A Certain Block In Multiplayer [duplicate]"
![How To Tp Players When They Touch A Certain Block In Multiplayer [duplicate] - Volleyball Players Spiking a Ball Through Blockers How To Tp Players When They Touch A Certain Block In Multiplayer [duplicate] - Volleyball Players Spiking a Ball Through Blockers](/assets/images/how_to_tp_players_when_they_touch_a_certain_block_in_multiplayer_duplicate_1.jpeg)
![How To Tp Players When They Touch A Certain Block In Multiplayer [duplicate] - Men Running Playing Football during Daytime How To Tp Players When They Touch A Certain Block In Multiplayer [duplicate] - Men Running Playing Football during Daytime](/assets/images/how_to_tp_players_when_they_touch_a_certain_block_in_multiplayer_duplicate_2.jpeg)
![How To Tp Players When They Touch A Certain Block In Multiplayer [duplicate] - Men Playing Volley Inside a Covered Court How To Tp Players When They Touch A Certain Block In Multiplayer [duplicate] - Men Playing Volley Inside a Covered Court](/assets/images/how_to_tp_players_when_they_touch_a_certain_block_in_multiplayer_duplicate_3.jpeg)
How do you test a player on a particular block?
2. Type the CommandHow to teleport a player randomly using command blocks || Minecraft Bedrock | Pocket Edition
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Jim De Ramos, Pavel Danilyuk, Pixabay, Pavel Danilyuk
