I don't understand why I got this error.
Server
local Acces = "https://discordapp.com/api/webhooks/Censored/Censored"
local REvent = game:GetService("Players"):WaitForChild("test")
local HTTP = game:GetService("HttpService")
function REvent.OnServerInvoke()
HTTP:PostAsync(Acces, HTTP:JSONEncode({["content"] = ("test")}))
end
Client
script.Parent.MouseButton1Down:Connect(function()
game.Players.test:InvokeServer()
end)

6 comments
Add this to your script:
game:GetService("HttpService").HttpEnabled = true(At the top)The console tells me that I do not have the permissions to activate
And i activated the HttpService in Game Settings
Are you testing on the studio test(F5)? If yes,try testing on the official game
The error occurs in Online Mode not in Test Mode
Don't use Players as storage, ReplicatedStorage exists for this very reason.