scoreboard players add #punch_cutscene temp 1

execute if score #punch_cutscene temp matches 1 as @a at @s run attribute @s movement_speed base set 0
execute if score #punch_cutscene temp matches 1 as @a at @s run attribute @s jump_strength base set 0
execute if score #punch_cutscene temp matches 1 run data merge entity @e[tag=quest3_gooner1_ai,limit=1] {NoAI:1b}
execute if score #punch_cutscene temp matches 1 run data merge entity @e[tag=quest3_gooner2_ai,limit=1] {NoAI:1b}
execute if score #punch_cutscene temp matches 1 run effect give @a invisibility 2 1 true
execute if score #punch_cutscene temp matches 1 run schedule clear lbdm:quest3/gooners/gotcha
execute if score #punch_cutscene temp matches 13 as @e[tag=screamer,limit=1] at @s run playsound entity.player.attack.crit master @a ~ ~1 ~ 1 0.75
execute if score #punch_cutscene temp matches 1 as @e[tag=aj.quest3_tym.root] run function animated_java:quest3_tym/animations/pov_breakout_finish/stop
execute if score #punch_cutscene temp matches 1 as @e[tag=aj.quest3_goon1.root] run function animated_java:quest3_goon/animations/walk/stop
execute if score #punch_cutscene temp matches 1 as @e[tag=aj.quest3_goon2.root] run function animated_java:quest3_goon/animations/walk/stop
execute if score #punch_cutscene temp matches 2 as @a at @s as @e[distance=..3,sort=nearest,tag=aj.quest3_goon.root,limit=1] run function animated_java:quest3_goon/animations/hit/play
execute if score #punch_cutscene temp matches 1..29 as @e[tag=screamer] at @s run tp @a ^ ^ ^1.1 facing entity @s
execute if score #punch_cutscene temp matches 20 run title @a times 10 20 10
execute if score #punch_cutscene temp matches 20 run title @a title {"text":"\uA000","font":"extra"}
execute if score #punch_cutscene temp matches 20 run schedule function lbdm:quest3/test_your_might 1.5s
#execute if score #punch_cutscene temp matches 20 run schedule function lbdm:quest3/gooners/reset 1.6s
execute if score #punch_cutscene temp matches 29 as @a at @s run attribute @s movement_speed base set 0.1
execute if score #punch_cutscene temp matches 30 run scoreboard players set #punch_cutscene temp 0

execute if score #punch_cutscene temp matches 1..29 run schedule function lbdm:quest3/gooners/punch 1t