Hello forummers, I’ve been making a button simulator myself using an eternity num, but for some reasons, I seem to be getting a weird error which breaks all of my game:
I don’t understand how it started happening, since I never got this before. This is where the error is occuring:
Hi! Leme convert lua errors to English so you can understand what went wrong. invalid argument #1 means that the first element the bracket is not there aka nil. and that applies to the function called sign . The function sign is basically math.sign() . However, you might be scratching your head cuz you clearly put a value into the function. HOWEVER, the value you put in might be nil
Solution: print the parameter called Value . If it is nil , go to the line where you call function fromnumber . Ensure that the arguments pass something through