Modcall System won't work

I want it so that when the player sends a report through a textbox, it send a message, with a ping, to a discord channel.

The issue is that it won’t work. I have a remote event in ReplicatedStorage and my script in ServerScriptService. I also have a script inside the “Send” button that initiates the remote event. But this keeps popping up:

C574A735-CF65-480B-A388-3B0AC7244DBF_4_5005_c

I have tried changing the script, checking the server channel and more. Nothing is working.

Here is my script:

HttpsService = game:GetService("HttpService")
URL = "Discord Channel Link HTTPS"

game.ReplicatedStorage.Report.OnServerEvent:Connect(function(plr,Report)
	local Data = 
		{
			["content"] = "New Report <&@ROLE CANT TELL",
			["embeds"] = {{
				["title"] = "__**Moderator Report Sent**__",
				["description"] = "Report from "..plr.Name.." | Report: "..Report.." | Player ID: "..plr.UserId.." | Moderator Needed ASAP!",
				["type"] = "rich",
				["color"] = tonumber(0xffffff),
				["fields"] = {
					{
						["name"] = "Administrator commands required",
						["value"] = "Please remember to investigate the situation and use proper commands.",
						["inline"] = true
					},
					{
						["name"] = "Rules",
						["value"] = "DO NOT ADMIN ABUSE!",
						["inline"] = true
					}
				}
			}}
		}
	Data = HttpsService:JSONEncode(Data)
	HttpsService:PostAsync(URL, Data)
end)

^^^Thats my SSS script^^^

Note: My HTTPS REQUEST SERVICE is on.

1 Like

A 404 Not Found means your webhook URL is invalid.

I just created the webhook though. :confused:

Actually, it worked. I must’ve created the webhook, copied the URL but I didn’t save the settings in Discord. Thanks.