1

Help with horror map

OrangeDied 6/5/20 1:56 pm
64
6/6/2020 5:50 am
So, I'm making a horror map and I'm trying to figure out a command that will make it so if an armor stand touches a player, it will teleport person to jumpscare thingy. All I need is a way to detect the player touching the thing with a command.

Thanking you in advance,

OrangeDied
Posted by
OrangeDied
Level 9 : Apprentice Miner
3

  Have something to say?

JoinSign in

2

TheMorse
06/06/2020 5:50 am
Level 59 : Grandmaster uwu
You can do this command... This is for 1.13+

/execute at @a if entity @e[type=armor_stand, distance=..0.5] run tp @a [coordinates]

You can tweak with the distance nbt to find your best liking :)
2
dreamCritting
06/06/2020 5:08 am
She/Her • Level 77 : Legendary Modder
history
/execute @a ~ ~ ~ execute @e[​type=Armor_stand,r=1] ~ ~ ~ tp @a <coords of jumpscare>

I think that would be the command for 1.12.2 (I used to do a lot of command block work in 1.12.2) but I don't know much about the new 1.13+ commands so you will have to change it for versions after 1.13
1

Welcome