effect give @s minecraft:slowness infinite 100 true
effect give @s minecraft:resistance infinite 0 true
function cf:abilities/giantchicken/isriding
execute at @s run playsound minecraft:block.wool.break player @a[distance=..5]
execute at @s run function cf:lock/lock_riding
execute at @s[tag=big] run summon minecraft:block_display ~-0.5 ~ ~-0.5 {Glowing:0b,Tags:["freeze"],transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[-0.5f,0.0f,-0.5f],scale:[2.0f,2.0f,2.0f]},block_state:{Name:"minecraft:calcite"}}
execute at @s[tag=small] run summon minecraft:block_display ~-0.25 ~ ~-0.25 {Glowing:0b,Tags:["freeze"],transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[0.0f,0.0f,0.0f],scale:[0.5f,0.5f,0.5f]},block_state:{Name:"minecraft:calcite"}}
execute at @s[tag=basic] run summon minecraft:block_display ~-0.5 ~ ~-0.5 {Glowing:0b,Tags:["freeze"],transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[0.0f,0.0f,0.0f],scale:[1.0f,1.0f,1.0f]},block_state:{Name:"minecraft:calcite"}}

tag @s add frozen
scoreboard players set @s timer 60