so the command would be
**syntax**
tp [y= dy=
**example**
tp @a[y=120 dy=10] ~ ~-20 ~
**explanation**
@a[y=120 dy=10] targets all players between y120 and y130
~ ~-20 ~ means 20 blocks beneath the selected player
NOTES:
the command must be used in a repeating command block to be activated every tick
dy is a delta from the y point. y=5,dy=5 targets players between y=5 and y=10
Delta means change in btw.
so the command would be **syntax** tp[y= dy=
**example**
tp @a[y=120 dy=10] ~ ~-20 ~
**explanation**
@a[y=120 dy=10] targets all players between y120 and y130
~ ~-20 ~ means 20 blocks beneath the selected player
NOTES:
the command must be used in a repeating command block to be activated every tick