This commit is contained in:
Thomas G 2022-07-12 19:56:33 +10:00
parent 0508692d72
commit 6b2879fc34
2 changed files with 7 additions and 1 deletions

View File

@ -9,6 +9,7 @@ $id = addslashes($_GET["id"]);
$app = addslashes($_GET["app"]);*/ $app = addslashes($_GET["app"]);*/
if (Auth::check()) { if (Auth::check()) {
$randName = 0;
$username = addslashes(Auth::user()->name); $username = addslashes(Auth::user()->name);
$id = addslashes(Auth::id()); $id = addslashes(Auth::id());
} else { } else {
@ -104,6 +105,11 @@ pcall( function()
end end
end) end)
if <?php echo $username; ?> == "Guest " .. <?php echo $randName; ?> then
showErrorWindow("You are not authenticated. (ID: 400)", "Kick", "Kick")
error("oops! you have to put your cd in your computer.")
end
client = game:GetService("NetworkClient") client = game:GetService("NetworkClient")
visit = game:GetService("Visit") visit = game:GetService("Visit")