# 观察者限制飞行范围 execute as @a[gamemode=spectator,x=1010,y=240,z=5010,distance=40..] run spectate tp @a[gamemode=spectator,x=1010,y=240,z=5010,distance=40..,team=!debugging] 1010 250 1010