From 390dab983f96d8125c651683f52aa744b0d03baf Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Tue, 12 Jul 2022 20:01:11 +1000 Subject: [PATCH] Update join.blade.php --- resources/views/client/join.blade.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/views/client/join.blade.php b/resources/views/client/join.blade.php index ac3f684..08c1b58 100644 --- a/resources/views/client/join.blade.php +++ b/resources/views/client/join.blade.php @@ -105,11 +105,6 @@ pcall( function() end end) -if == "Guest " .. 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") visit = game:GetService("Visit") @@ -124,6 +119,11 @@ function setMessage(message) end end +if "" == "Guest " .. tostring() then + setMessage("You are not authenticated. (ID: 400)", "Kick", "Kick") + error("oops") +end + function showErrorWindow(message, errorType, errorCategory) game:SetMessage(message) end