Run it
Copy the script and paste it into your executor.
function SendMessage(url, message)
local http = game:GetService("HttpService")
local headers = {
["Content-Type"] = "application/json"
}
local data = {
["content"] = message
}
local body = http:JSONEncode(data)
local response = request({
Url = url,
Method = "POST",
Headers = headers,
Body = body
})
print("Sent")
end
function SendMessageEMBED(url, embed)
local http = game:GetService()
headers = {
[] =
}
data = {
[] = {
{
[] = embed.title,
[] = embed.description,
[] = embed.color,
[] = embed.fields,
[] = {
[] = embed.footer.text
}
}
}
}
body = :(data)
response = ({
Url = url,
Method = ,
Headers = headers,
Body = body
})
()
url =
(url, )
embed = {
[] = ,
[] = ,
[] = ,
[] = {
{
[] = ,
[] =
},
{
[] = ,
[] =
}
},
[] = {
[] =
}
}
(url, embed)a discord webhook that can be used for your scripts. How to get a Discord Webhook 1. Log in to your Discord account and go to the server and channel you want to create a webhook for. 2. Right-click on the channel and select Edit Channel from the context menu. From the left menu, select Integrations, and then click Create Webhook. 3. Enter a name and an avatar for the webhook and copy the webhook URL. 4. Replace YOUR_WEBHOOK_HERE in the code with your own webhook url