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