Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

When clicking showing up frame without typing anything in textbox? [ANSWERED]!!

Asked by 9 years ago

Hi I when I was testing my script and I just clicked my button without out typing anything in the textbox the frame showed up. Can you help me when it's typed in then you press the enter button the frame shows up. Can you help?

script.Parent.MouseButton1Down:connect(function() 
            if string.lower(script.Parent.Parent.FeedBackFrame.TextFrame.TextBox.Text) == "credits" then
        print("Showing credits!")
        script.Parent.Parent.Parent.Websites.CreditsSite.Visible = true

    end
end)
0
Hey, I tested your game, it works. Grenaderade 525 — 9y

Answer this question