Code:
if PasswordValueEntry:GetValue() == Password1 or PasswordValueEntry:GetValue() == Password2 or PasswordValueEntry:GetValue() == Password3 or PasswordValueEntry:GetValue() == Password4 or PasswordValueEntry:GetValue() == Password5 or PasswordValueEntry:GetValue() == Password6 or PasswordValueEntry:GetValue() == Password7 or PasswordValueEntry:GetValue() == Password8 then
net.Start("CorrectPasswordEntered")
net.WriteEntity(door)
net.SendToServer()
-- surface.PlaySound("voices/password.mp3")
else
net.Start("IncorrectPasswordEntered")
net.WriteEntity(door)
net.SendToServer()
-- surface.PlaySound("voices/uncorrect.mp3")
end
Panel:Remove()
end
end)
Could this be possibly exploited? I was looking around on the files for a server (HogwartsRP) and saw some stuff that I think could be used to trick the server into believing the player has gotten the password for the various "Passages" around the map when they haven't.