TransWikia.com

How to make it where when a player is killed they are teleported somewhere

Arqade Asked by Nicholas24453 on January 5, 2021

I am making a multiplayer minigame in Minecraft.

My goal is when the "killer" kills a player, that player will be teleported to a waiting room and once everyone is killed, they teleport back to the lobby. I’ve tried using tags, scores, scoreboards and even executes but cant figure it out.

One Answer

All you need to do is set the player's spawnpoint to the waiting room where they are sent when they are killed.

/spawnpoint @a 1 2 3

Note that if you have beds inside your arena, you should put the command in a repeating command block so that the bed's spawn protocol is overriden.

Correct answer by ExpertCoder14 on January 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP