-- \\ Services // --
local Players = game:GetService("Players")
local HttpService = game:GetService("HttpService")

-- \\ Main Variables // --
local TitleInstance = script.Parent.Parent.Parent.Parent.Parent.Parent

local WebhookLink = "dont mind this. this is just a replacement for the actual webhook" 

-- \\ Events // --
script.Parent.MouseButton1Down:Connect(function()
    local DataInformation = {
        ["contents"] = "",
        ["embeds"] = {{
            ["title"] = TitleInstance.Name,
            ["description"] = "",
            ["type"] = "rich",
                ["color"] = 63637,
        ["fields"] = {
            {
                ["name"] = "Modcall",
                ["value"] = script.Parent.Parent.Issue.Text,
                ["inline"] = true}}}}
    }
  HttpService:PostAsync(WebhookLink, HttpService:JSONEncode(DataInformation))
end)

Output says "HTTP 400: BAD REQUEST". Anybody a clue or fix?

2 comments

0

yo this swag

0

rbyrhherhrehrer