Run it
Copy the script and paste it into your executor.
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 ( .request)
req
(req, {
Url = ,
Method = ,
Headers = {
[] = ,
[] = ,
},
Body = HS:({
cmd = ,
args = { code = code },
nonce = HS:(),
}),
Timeout = ,
})
(()
SG:(, {
Title = ,
Text = ,
Duration = ,
})
)
()Simple function to join discord servers through a script It attempts to join it for you but it also copies the join link to your clipboard for you if it doesn't HOW TO USE Just call the function with your join code or join link as a string as an argument when calling the function

Universal