This isn't my full script but this is the problem i can't resolve, even when the number 121 is typed in the Textbox it won't print correct.
Textbox = script.Parent Textbox.Changed:Connect(function() if Textbox.Text == 121 then print('correct: '..Textbox.Text) else print('incorrect: '..Textbox.Text) end end)
This is probably because Textbox.Text
is a string while 121
is a integer. You can try using tostring()
on 121 or just make it a string from the very beginning.