Guilty Gear XRD Shader playground

I tried to replicate your shader but i got an error, “(Node if) if input A must be of type float”, any ideas on what im doing wrong?