execute at @s[tag=yamamoto_cuts] run function bleach/yamamoto/cuts


#Yamamoto Shikai Transform
camera @s[scores={wg:transform=1}] clear
inputpermission set @s[scores={wg:transform=1}] movement enabled
camera @s[scores={wg:transform=35}] set minecraft:free ease 0.1 linear pos ^1.5^1.5^1.5 rot ~5~125
execute at @s[scores={wg:transform=35}] run fill ~-10~-3~-10~10~2~10 fire [] replace air
camera @s[scores={wg:transform=55}] set minecraft:free ease 0.1 linear pos ^-1^1.5^1.75 rot ~5~205
camera @s[scores={wg:transform=65}] set minecraft:free ease 0.1 linear pos ^^1.5^1.5 rot ~5~180
playanimation @s[scores={wg:transform=80}] animation.yamamoto.transform wesl3y
inputpermission set @s[scores={wg:transform=80}] movement disabled
camera @s[scores={wg:transform=80}] set minecraft:free ease 0.1 linear pos ^^2.5^2.5 rot ~35~180
tp @s[scores={wg:transform=80..}] ^^^ ~ 0
scoreboard players remove @s[tag=transform] wg:transform 1