setblock 254 -50 -266 minecraft:iron_door[facing=east,half=lower,hinge=right] destroy
setblock 254 -49 -266 minecraft:iron_door[facing=east,half=upper,hinge=right] destroy

tp @a[x=254.5,y=-50,z=-266.5,distance=..1.8] 254.5 -50.00 -263.9

scoreboard players set .range4 .data 0