scoreboard players add @e[type=block_display,tag=FireSheet] AttackTimer 1
#pls ignore using same scoreboard...bad practice would not reccomend
scoreboard players add @s AttackTimer 1
execute at @e[sort=random,type=block_display,tag=FireSheet,limit=1] run summon minecraft:falling_block ~ ~1 ~ {HurtEntities:1b,FallHurtMax:4,FallDistance:4f,FallHurtAmount:4f,BlockState:{Name:"minecraft:fire"},Time:1,Motion:[0.0,-1.0,0.0]} 


execute at @s[scores={AttackTimer=1}] run function zzzzdonotuse:cadeyrn/attacks/firesheet/firesheetstart
execute at @s[scores={AttackTimer=1..30}] run function zzzzdonotuse:cadeyrn/attacks/firesheet/firesheetsummon

execute at @s[scores={AttackTimer=5..35}] run playsound minecraft:block.lava.extinguish hostile @a ~ ~ ~ 1 1 1

execute as @e[type=block_display,tag=FireSheet,scores={AttackTimer=1..200}] run function zzzzdonotuse:cadeyrn/attacks/firesheet/firesheetmovemain

execute as @s[scores={AttackTimer=200}] run function zzzzdonotuse:cadeyrn/attacks/firesheet/reset






#


#execute as @e[name=Fireman,scores={AttackTimer=1..10}] run execute at @s run tp @s ^ ^ ^.44 ~4.4 ~
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run data merge entity @s {NoGravity:0}
#execute as @e[name=Fireman,scores={AttackTimer=130}] run effect give @s levitation 5 0
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run execute at @p store result score @p PosX run data get entity @p Pos[0]
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run execute at @p store result score @p PosY run data get entity @p Pos[1]
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run execute at @p store result score @p PosZ run data get entity @p Pos[2]
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run execute at @s store result score @s PosX run data get entity @s Pos[0]
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run execute at @s store result score @s PosY run data get entity @s Pos[1]
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run execute at @s store result score @s PosZ run data get entity @s Pos[2]
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run scoreboard players operation @s PosX -= @p PosX
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run scoreboard players operation @s PosY -= @p PosY
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run scoreboard players operation @s PosZ -= @p PosZ
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run execute store result entity @s Motion[0] double -0.18 run scoreboard players get @s PosX
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run execute store result entity @s Motion[1] double -0.23 run scoreboard players get @s PosY
#execute as @e[name=Fireman,scores={AttackTimer=130..},tag=GoGo,tag=!GoGo2] run execute store result entity @s Motion[2] double -0.18 run scoreboard players get @s PosZ
#execute as @e[tag=GoGo2] run execute at @s run execute if entity @p[distance=..2] run summon minecraft:falling_block ~ ~ ~ {BlockState:{Name:"minecraft:fire"},Time:1,Motion:[0.0,-1.0,0.0]}
#execute as @e[tag=GoGo2] run execute at @s run execute if entity @p[distance=..2] run kill @s
#execute as @e[name=Fireman,scores={AttackTimer=150}] run summon minecraft:falling_block ~ ~ ~ {BlockState:{Name:"minecraft:fire"},Time:1,Motion:[0.0,-1.0,0.0]}
execute as @e[type=armor_stand,name=FireSheet,scores={AttackTimer=150}] run kill @s





