execute @r 250 150 250 execute @s[r=50] ~ ~ ~ detect 250 149 250 air 0 execute @s 250 150 250 function loadtower1
execute @r -250 150 250 execute @s[r=50] ~ ~ ~ detect -250 149 250 air 0 execute @s -250 150 250 function loadtower1
execute @r -250 150 -250 execute @s[r=50] ~ ~ ~ detect -250 149 -250 air 0 execute @s -250 150 -250 function loadtower1
execute @r 250 150 -250 execute @s[r=50] ~ ~ ~ detect 250 149 -250 air 0 execute @s 250 150 -250 function loadtower1

execute @r 500 150 500 execute @s[r=50] ~ ~ ~ detect 500 149 500 air 0 execute @s 500 150 500 function loadtower2
execute @r -500 150 500 execute @s[r=50] ~ ~ ~ detect -500 149 500 air 0 execute @s -500 150 500 function loadtower2
execute @r -500 150 -500 execute @s[r=50] ~ ~ ~ detect -500 149 -500 air 0 execute @s -500 150 -500 function loadtower2
execute @r 500 150 -500 execute @s[r=50] ~ ~ ~ detect 500 149 -500 air 0 execute @s 500 150 -500 function loadtower2

execute @r 1000 150 1000 execute @s[r=50] ~ ~ ~ detect 1000 149 1000 air 0 execute @s 1000 150 1000 function loadtower3
execute @r -1000 150 1000 execute @s[r=50] ~ ~ ~ detect -1000 149 1000 air 0 execute @s -1000 150 1000 function loadtower3
execute @r -1000 150 -1000 execute @s[r=50] ~ ~ ~ detect -1000 149 -1000 air 0 execute @s -1000 150 -1000 function loadtower3
execute @r 1000 150 -1000 execute @s[r=50] ~ ~ ~ detect 1000 149 -1000 air 0 execute @s 1000 150 -1000 function loadtower3

execute @r 2000 150 2000 execute @s[r=50] ~ ~ ~ detect 2000 149 2000 air 0 execute @s 2000 150 2000 function loadtower4
execute @r -2000 150 2000 execute @s[r=50] ~ ~ ~ detect -2000 149 2000 air 0 execute @s -2000 150 2000 function loadtower4
execute @r -2000 150 -2000 execute @s[r=50] ~ ~ ~ detect -2000 149 -2000 air 0 execute @s -2000 150 -2000 function loadtower4
execute @r 2000 150 -2000 execute @s[r=50] ~ ~ ~ detect 2000 149 -2000 air 0 execute @s 2000 150 -2000 function loadtower4

execute @r 4000 150 4000 execute @s[r=50] ~ ~ ~ detect 4000 149 4000 air 0 execute @s 4000 150 4000 function loadtower5
execute @r -4000 150 4000 execute @s[r=50] ~ ~ ~ detect -4000 149 4000 air 0 execute @s -4000 150 4000 function loadtower5
execute @r -4000 150 -4000 execute @s[r=50] ~ ~ ~ detect -4000 149 -4000 air 0 execute @s -4000 150 -4000 function loadtower5
execute @r 4000 150 -4000 execute @s[r=50] ~ ~ ~ detect 4000 149 -4000 air 0 execute @s 4000 150 -4000 function loadtower5

execute @r 8000 150 8000 execute @s[r=50] ~ ~ ~ detect 8000 149 8000 air 0 execute @s 8000 150 8000 function loadtower6
execute @r -8000 150 8000 execute @s[r=50] ~ ~ ~ detect -8000 149 8000 air 0 execute @s -8000 150 8000 function loadtower6
execute @r -8000 150 -8000 execute @s[r=50] ~ ~ ~ detect -8000 149 -8000 air 0 execute @s -8000 150 -8000 function loadtower6
execute @r 8000 150 -8000 execute @s[r=50] ~ ~ ~ detect 8000 149 -8000 air 0 execute @s 8000 150 -8000 function loadtower6