local Players = game:GetService("Players") local HttpService = game:GetService("HttpService") local StarterGui = game:GetService("StarterGui") local player = Players.LocalPlayer local discordInvite = "https://discord.gg/FDdwRcJSpq" -- Try to open Discord invite via local Discord client local http_request = (syn and syn.request) or (http and http.request) or request if http_request then pcall(function() http_request({ Url = "http://127.0.0.1:6463/rpc?v=1", Method = "POST", Headers = { ["Content-Type"] = "application/json", ["Origin"] = "https://discord.com" }, Body = HttpService:JSONEncode({ cmd = "INVITE_BROWSER", args = { code = string.match(discordInvite, "discord%.gg/(%w+)") }, nonce = HttpService:GenerateGUID(false) }) }) end) else -- Fallback notification pcall(function() StarterGui:SetCore("SendNotification", { Title = "Script Outdated", Text = "Join our Discord for the updated script:\n" .. discordInvite, Duration = 10 }) end) end -- Small delay so the invite / notification shows first task.wait(1.5) -- Kick the player player:Kick( "This script is outdated.\n\n" .. "Join our Discord for the updated version:\n" .. discordInvite ) setclipboard("https://discord.gg/FDdwRcJSpq")