-- NinjoOnline --
local HTTPService = game:GetService("HttpService")
local url = ""
game:GetService("ScriptContext").Error:Connect(function(msg, stacktrace, scriptt)
local Data = {
["username"] = "Error Monitor";
["content"] = "```lua\n" .. msg .. "\n " .. stacktrace .. "```";
}
Data = HTTPService:JSONEncode(Data)
HTTPService:PostAsync(url, Data) -- ERROR HERE
end)
I'm trying to monitor whatever errors come through my game, so I don't have to be in game or see the console to know what's breaking my game.
I removed the url so people can't spam my discord webhook.
Error is on line 12
HTTP 403(HTTP/1.1 403 Forbidden)
This error is repeated a bunch, until eventually it changes to
Number of requests exceeding limit
Error is still on line 12
Is there a better way to do this to?
