The script
local Menu = gg.prompt({"Password: "},nil,{"text"})
if not Menu then return end
Variable = "the php file link "
C = gg.makeRequest(Variable).content
pcall(load(C))
for i= 1,#pass do
if Menu[1] == pass[i] then
A = true
break
end
end
if A ~= true then gg.alert("️ Incorrect password entered") return else gg.alert("You have successfully entered the script!") end
The php file
<?php
$FileName = "passwords.txt";
if (file_exists($FileName)){
$f = fopen($FileName,"r");
$r = fgets($f);
exit("pass = ".$r);
}
?>
The passwords file
{"mo","m1","m2","m3"}
And here is it it's done