its supposed to send my discord a message when this remote is fired
Send = game.ReplicatedStorage:WaitForChild("Send_Message") Send.OnServerEvent:connect(function(player, Send_Message) local DataToSend = { ['Username'] = player.Name , ['Content'] = Send_Message } local WebHook = "<insert discord webhook>" local Data= game:GetService("HttpService"):JSONEncode(DataToSend) game:GetService("HttpService"):PostAsync(WebHook, Data) end)
please help