tag @e[type=item] add iframes
tag @s[tag=!hitboxVictim] add attacker
tag @s[tag=!hitboxVictim] add hitboxIframes
#hitboxScan->1
execute if entity @s[scores={hitboxRange=0..}] positioned ^^^0.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=15..}] positioned ^^^1.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=2..}] positioned ^^^2.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=25..}] positioned ^^^2.50 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=30..}] positioned ^^^3.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=35..}] positioned ^^^3.50 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=40..}] positioned ^^^4.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=45..}] positioned ^^^4.50 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=50..}] positioned ^^^5.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=55..}] positioned ^^^5.50 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=60..}] positioned ^^^6.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=65..}] positioned ^^^6.65 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=70..}] positioned ^^^7.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=75..}] positioned ^^^7.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=80..}] positioned ^^^8.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=85..}] positioned ^^^8.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=90..}] positioned ^^^9.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=95..}] positioned ^^^9.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=100..}] positioned ^^^10.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=105..}] positioned ^^^10.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=110..}] positioned ^^^11.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=115..}] positioned ^^^11.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=120..}] positioned ^^^12.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=125..}] positioned ^^^12.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=130..}] positioned ^^^13.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=135..}] positioned ^^^13.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=140..}] positioned ^^^14.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=145..}] positioned ^^^14.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=150..}] positioned ^^^15.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=155..}] positioned ^^^15.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=160..}] positioned ^^^16.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=165..}] positioned ^^^16.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=170..}] positioned ^^^17.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=175..}] positioned ^^^17.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=180..}] positioned ^^^18.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=185..}] positioned ^^^18.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=190..}] positioned ^^^19.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=195..}] positioned ^^^19.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=200..}] positioned ^^^20.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=205..}] positioned ^^^20.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=210..}] positioned ^^^21.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=215..}] positioned ^^^21.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=220..}] positioned ^^^22.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=225..}] positioned ^^^22.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=230..}] positioned ^^^23.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=235..}] positioned ^^^23.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=240..}] positioned ^^^24.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=245..}] positioned ^^^24.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=250..}] positioned ^^^25.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=255..}] positioned ^^^25.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=260..}] positioned ^^^26.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=265..}] positioned ^^^26.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=270..}] positioned ^^^27.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=275..}] positioned ^^^27.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=280..}] positioned ^^^28.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=285..}] positioned ^^^28.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=290..}] positioned ^^^29.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=295..}] positioned ^^^29.5 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim
execute if entity @s[scores={hitboxRange=300..}] positioned ^^^30.0 as @e[r=10.0,tag=!hitboxIframes,tag=!iframes] run tag @s add hitboxVictim

function attacks/modifiers