Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I use text boxes to create a login page with passwords and usernames?

Im trying to create a login page but I can access the text from a text box, which means no one can login

2 comments

0

What? Be more specific

0

Yeah uh... you need to be more specfic...

1 answer

✓ Accepted answer

lol what i'm going to amuse you just want to create a log in

-- created by Ha_rriz, for deadwalker601. scriptinghelpers.org

local UserNameBox = *EnterGuiName*.UserNameBox
local PassWordBox = *EnterGuiName*.PassWordBox
local Button = *EnterGuiName*.Button

Button.MouseButton1Click:Connect(function()
    if UserNameBox.Text == *enterusernamehere* then
        if PassWordBox.Text == *enterpasswordhere* then
            -- now, this is where i'm going to leave you off to do what you need to do when the password is correct. enter some code here.
        else
            PassWordBox.Text = "*Enter your wrong message here!*"
            wait(2)
            PassWordBox.Text = ""
        end
    else
        UserNameBox.Text = "*Enter your wrong message here!*"
        wait(2)
        UserNameBox.Text = ""
    end
end)

2 comments

0

it didnt work

0

this isn't a request site, tell us your error and we can help fix it and educate you at the same time

This discussion is preserved as it was. New answers, comments, and votes are closed.