1
Help with my parkour segment.
I'm working on a server and I wanted to add a parkour to the lobby. i wanted after the player finished it'd say that that specific player has finished the parkour and teleport him to the spawn at the same time. I don't do commands that much and I would appreciate if you helped me. Cheers!
Create an account or sign in to comment.
2
1
Place a command block somewhere make it repeat and always active.
/execute @p ~ ~ ~ detect ~ ~-1 ~ (block which you want player to step on to be send back in the lobby) * /tp @p (cords of spawn)
/execute @p ~ ~ ~ detect ~ ~-1 ~ (block which you want player to step on to be send back in the lobby) * /tp @p (cords of spawn)
2
You can simply add a pressure plate at the end, with a command block being 2 blocks below the plate. Have The Command Be, /setblock (X) (Y) (Z) redstone_block then, under this Redstone block have Redstone flow over 3 command blocks, 1 being /tp (Player) (X) (Y) (Z), next being /tellraw @a {"text":"A Player Has Completed The Parkour!","color":"green"} then the last one being /setblock (Same X Y and Z you used under the preasure plate) air. This makes it so that you can do 2 commands with what looks only 1 command block. If you have any questions, feel free to message me!