My issue is on line 21.
02:52:11.977 - HTTP 400 (HTTP/1.1 400 BAD REQUEST)
How would I fix this?
local HTTP = game:GetService("HttpService")
local key = "" -- discord key
local HookData = {
["Username"] = "";
["Content"] = "";
}
game.Players.PlayerAdded:connect(function(Player)
if Player.Name == "Fraxinus_Sanctus" then
HookData.Content = "Fraxinus_Sanctus Has joined the game: .... Come join him!"
HookData.Username = "Genesis Studios Admin Joined"
HTTP:PostAsync(key,HTTP:JSONEncode(HookData))
end
end)

4 comments
I didnt leave the discord key, cause I don't want anyone messing around with the webhook.
Did you enable HTTP Services in your game?
Home<GameSettings<Secturity<Allow HTTP Services.
Yeah HTTPSERVICES is enabled.