DISCORD CLIENT INVITE OPENER
Key RequiredUniversal

DISCORD CLIENT INVITE OPENER

Universal Scriptii_dino122ii_dino122 6.3K views 136 executesUpdated Mar 12, 2025
Unrated
00
Lua Script•17 lines (484 chars)
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)
    })
})

Features & Information

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
#discord

Community Comments (9)

PatheticPatheticMar 16, 2025(edited)

Will use. Thanks!

PatheticPatheticMar 18, 2025(edited)

Doesnt work... sadly

ii_dino122ii_dino122Mar 18, 2025(edited)

@Pathetic did you put the invite code and not the invite link.. instead of doing like discord.gg/roblox youd just put roblox in the quotes. If it doesn't work then that just means that your executor doesnt support httprequests or jsondencode.

PatheticPatheticMar 18, 2025(edited)

@ii_dino122 i use solara and i used other rayfeild ui’s and theirs worked. And yes i just used the invite link as in for example hauYW12g

ii_dino122ii_dino122Mar 19, 2025(edited)

@Pathetic try now, im pretty sure this will work however i cant confirm since i dont use solara.

PatheticPatheticMar 20, 2025(edited)

@ii_dino122 all good, but atleast it worked for you?

PatheticPatheticMar 20, 2025(edited)

There seeems to be no error message, it just wont pop up the invite link

ii_dino122ii_dino122Mar 21, 2025(edited)

@Pathetic it works for me completely fine, when running it is the discord client open? It only works if the discord application is open. If it is then idk.

PatheticPatheticMar 23, 2025(edited)

nvm it works. tyyyyyyyyyy

More Scripts for Universal Scripts