game:GetService("ReplicatedStorage").Submit.OnServerInvoke = function(Player,Responses)
local Service = game:GetService("HttpService")
local Data = {
["embed"] = {
["title"] = "Responses",
["color"] = 0x82ffc2,
["fields"] = {}
}
}
for i, v in pairs(Responses) do
local Table = table.insert(Data.embed.fields,{
["name"] = i,
["value"] = v,
["inline"] = true
})
end
Service:PostAsync("https://discord.com/api/webhooks/don't/look",Service:JSONEncode(Data))
end
I keep getting a HTTP 400 Bad Request error. How can I fix this?