Problems with webhook

Hello! I trying to make a discord webhook logger for my game, but i have issues: logger working only in roblox studio. Like: I join in roblox studio - webhook writes about it, I join in roblox - webhook doesn’t do anything.

local Data = {
		["content"] = Player.Name.. " Is joining the game! Coins: ".. Player.leaderstats.Coins.Value
	}

	Data = http:JSONEncode(Data)

	http:PostAsync("link", Data) 
1 Like

Replace https://discord.com/api/webhooks/
To
https://hooks.hyra.io/api/webhooks/

Like the example below.

Was:
https://discord.com/api/webhooks/1030302001/AisDPpdoAPpaPA

Now:
https://hooks.hyra.io/api/webhooks/1030302001/AisDPpdoAPpaPA

In roblox it writes 403 error, but when i go to link using browser it works.

Be aware that discord blocks roblox APIs so this may affect your result.