So I’m probably being really stupid but I forgot how to use multiple conditions on an if statement without using elseif. I’m trying to make a TextBox reader & need it to have 2 passwords without using elseif. Here is my code:
Confirm.MouseButton1Click:Connect(function()
if Code.Text == "Password" then
I want to be able to do something like this:
Confirm.MouseButton1Click:Connect(function()
if Code.Text == "Password", "Password2" then
You’ve already gotten the answer to your question, but if you ever want to have a lot of passwords, it might make more sense to put them all in a table and then use table.find(passwords, text) to see if the entered text matches a password.