Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Step one create team:
- /scoreboard teams add blue
- Step two set color
- /scoreboard teams options blue color blue
- Now you ready to start
- 1. Place two commandblocks ontop of each other
- 2. Place a preasureplate on the top one, anyone stepping on it will activate both blocks.
- Top command:
- /scoreboard teams join blue @p[r=1]
- The r=1 is to ensure that only the player within a 1 block radius is added to the team
- Bottom command:
- /tp @p[team=blue,r=2] x y z
- So only a player that is in the blue team that is within 2 blocks is teleported
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement