Discord communication just works in studio

So I have this code to notify about players joining the game

local Data = {
	["content"] = "Someone has joined!"
Data = http:JSONEncode(Data)
http:PostAsync("[link]", Data)

and it only works on studio. I have all this enabled:

It also worked before, but one day it stopped working.

Replace discord.com with webhook.lewistehminerz.dev, and try again.

Where do I have to replace that?

You need to create a webhook in discord text channel then use its url instead of link