Hi all I am using a script similar to...

TextBox:GetPropertyChangedSignal("Text"):Connect(function()
    if tonumber(TextBox.Text) then
        -- send the donation
    else
        TextBox.Text = "Enter a number to donate" -- do not send the donation
    end
end)

but when I run my game I am given the error message seen in the title. Is there a way to enable this on my studio or is it not available for anyone yet?

Thanks for the help!

2 comments

0

Is it a server script?

0

I've changed how I'm doing it now (just using a mouse text button for when they've finished typing) and I cant remember if it was a local or server script sorry... Which type does it work within?