I am making an admin panel, but I don’t know how to make a secure login page with multiple user/pass
code I’ve got so far:
script.Parent.MouseButton1Click:Connect(function()
local usernames = {"V33S", "Admin", "zxzxz"}
local passwords = {"password1", "password2", "password3",}
if script.Parent.Parent.pass.Text == table.find(usernames, game.Players.LocalPlayer.Name) and script.Parent.Parent.name.Text == table.find(passwords) then
print("correct")
else
print("incorrect")
end
end)
Obviously the user names and passwords will be changed and so will some of the code, it’s just I don’t know how to check multiple user names/pass words at once to see if they match with what was given in the username/password TextBox.