Unity says I am trying to make a quaternion with a Vector3 but I am only assigning 3 floats

I won’t show the rest, all you need to know is the error not the entire script.

            if(LeftLeg.transform.rotation = new Vector3(60, 0, 0)) // error here
            {
                x = -x;
            }

It says on the if part that if I cannot convert Vector3 to quaternion when i assigned 3 floats, I don’t get this!

Use the static factory method Quaternion.Euler() to get your rotation. A rotation is not a Vector3, it is a Quaternion, which is a completely different animal.

You can assign the result to transform.rotation, which accepts a Quaternion.

https://docs.unity3d.com/ScriptReference/Transform-rotation.html

Always check the manual.