1

How do I teleport people based off of their death?

BEACHBUMJ's Avatar BEACHBUMJ5/29/16 10:32 pm
1 emeralds 502 5
6/13/2016 10:06 am
a_creeper_won's Avatar a_creeper_won
I have been trying to create a map but I cannot figure out the redstone. So basically I need to know how to teleport someone based off of their deathCount in 1.9, but nothing I have tried has work! Please help!
Posted by BEACHBUMJ's Avatar
BEACHBUMJ
Level 1 : New Miner
0

Create an account or sign in to comment.

5

1
06/13/2016 10:06 am
Level 17 : Journeyman Explorer
a_creeper_won
a_creeper_won's Avatar
Just use /spawnpoint <selector> <x> <y> <z>.
if you want to make multiple levels e.g. lives use a dummy score or tag the player
1
05/30/2016 12:44 pm
Level 29 : Expert Caveman
Lexxer
Lexxer's Avatar
You can hock this up on a repeating command block and add chain command blocks to it, this will be faster and grand you better performance overall.
1
05/30/2016 10:16 am
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
once:
/scoreboard objectives add Death deathCount
/scoreboard objectives add Health health

On a clock:
/tp @a[score_Death_min=1,score_Health_min=1] # # #
/scoreboard players set @a[score_Death_min=1,score_Health_min=1] Death 0

This way it will teleport you AFTER you respawn....
Then it will reset your score to 0, so you can trigger it again when you die. (It goes automatically to 1)
1
05/30/2016 11:47 am
Level 1 : New Miner
BEACHBUMJ
BEACHBUMJ's Avatar
Can I use a different type of command block in 1.9 instead of a clock?
1
05/30/2016 2:02 am
Level 62 : High Grandmaster Programmer
NJDaeger
NJDaeger's Avatar
What you would do is testfor their death count, then have a comparator be activated if it reaches a certain amount. then the comparator activates another command block teleporting the person to the desired area.

So lets say they have 5 deaths, with that you want to tp them too 1 1 1 in the world.
you setup a command block to run constantly testing for the players death count of 5 then when someone hits that number they are teleported. This video will help you. https://www.youtube.com/watch?v=jsP6QjuAVng
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome