how do i solve this error CS0266: Cannot implicitly convert type `object' to `bool'. An explicit conversion exists (are you missing a cast?)

void ChangeSpeed()
currentMoveSet = (int)cc.animator.GetFloat(“MoveSet_ID”);
var strafing = cc.isStrafing;
if (strafing)

I think what you might be after is

var strafing : System.Boolean;
strafing = (Boolean)cc.animator.GetBool("isStrafing");

First of you should be grabbing your bool in the same way you grab your float using GetBool, second of all you should type cast your variables like I have done when declaring strafing. Also (Boolean) is not needed on the second line in this example but it will explicit type cast the returned value of GetBool to boolean.