Run it
Copy the script and paste it into your executor.
local HttpService = game:GetService("HttpService")
local InviteCode = "PUT DISCORD INVITE CODE HERE, NOT THE LINK JUST THE CODE"
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 = InviteCode},
nonce = HttpService:GenerateGUID(false)
})
})Ever wanted to know how those scripts using rayfield open the discord client and take you to the invite of their server? Ever wanted to do so but didn't want to use rayfield? Well now you can? This is how, and yes I did just strip it from rayfields source lol

Universal