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

when pressing enter everything showing up without typing anything in??

Asked by 9 years ago

Hi I was making a thing like you type some words in and then press enter THEN it shows up. But when I just press enter everything shows up without typing stuff in. Can you help?

script.Parent.MouseButton1Down:connect(function() 
    if string.lower(script.Parent.Parent.FeedBackFrame.TextFrame.TextBox.Text) ==  "roblox.com" or "roblox" then
        print("You've searched up roblox!")
            if string.lower(script.Parent.Parent.FeedBackFrame.TextFrame.TextBox.Text) == "credits.com" or "credits" then
        print("Showing credits!")
        script.Parent.Parent.Parent.Websites.CreditsSite.Visible = true
    end
    end
    end)

Answer this question