local check = script.Parent.Parent.AnswerBox.Text:toNumber()
AnswerBox is a TextBox where the user will input a number, that I'm going to compare in a separate function with another int, but I can't use the string value that that variable is giving me, and :toNumber() doesn't seem to work.

1 comment
thanks a bunch! code seems to work now :)