Cryptic Error: BCE0051

Last night, my code was working just fine. But when I made a few modifications to a script today, I get this error:

BCE0051: Operator ‘-’ cannot be used with a left hand side of type ‘int’ and a right hand side of type ‘Object’.

It does not tell me what script it is, only the error. Does anyone know how to fix this?

I would suggest searching for all instances of “-” in your script until you find one where the item on the left is an int and the item on the right is an object, myself. You can’t have that many minuses in use.