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?