
KeylessUniversal

local function joindiscord(input)
local HS, SG = game:GetService("HttpService"), game:GetService("StarterGui")
-- incase someones dumbass puts the full join link this will make it still work
local code = tostring(input):match("discord%.gg/([%w]+)")
or tostring(input):match("discord%.com/invite/([%w]+)")
or tostring(input)
if not code or code == "" then
return
end
local copy = setclipboard or toclipboard
if copy then
pcall(copy, "https://discord.gg/" .. code)
end
local req = request or (syn and syn.request) or (http and http.request)
if req then
pcall(req, {
Url = "http://127.0.0.1:6463/rpc?v=1",
Method = "POST",
Headers = {
["Content-Type"] = "application/json",
["Origin"] = "https://discord.com",
},
Body = HS:JSONEncode({
cmd = "INVITE_BROWSER",
args = { code = code },
nonce = HS:GenerateGUID(false),
}),
Timeout = 2,
})
end
pcall(function()
SG:SetCore("SendNotification", {
Title = "Discord",
Text = "Copied to clipboard",
Duration = 5,
})
end)
end
joindiscord("w5ZVbFS4Mf")



A backward idiot who hates other people's scripts but can't even add 2 + 2 without AI.
@2kr3kn The fսck I made a simple function that joins a discord server for use when making your own scripts I wrote this all myself maybe not everything is AI dսmbaѕѕ
@SuperBlueEyeball I quote your words: ‘The fսck I made a simple function that joins a Discord server for use when making your own scripts. I wrote this all myself, maybe not everything is AI dսmbaѕѕ.’ Interesting, did you write the comment yourself? -- incase someones dumb* puts the full join link this will make it still work or ai wrote you a function, I don't think you would write ‘puts the full join link this will make’ to yourself. You're an idiot.
@SuperBlueEyeball I've never met anyone so stupid. How to do it: write the code and then write to yourself *insert real paths here and post * *insert your real paths here*
These Ai Say Is dumbah