Let me explain what's its suppose to do,
When someone clicks the button, it will tell the system to send a message in a channel. The bot or webhook will say "(game player) is noob) I've tried messing with it, no luck.
Output: 6:18:37.951 - Http requests can only be executed by game server
script.Parent.Body1.Search.MouseButton1Click:Connect(function()
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local HttpService = game:GetService("HttpService")
local webhook = "webhook"
local msg = Player.Name.."is noob"
local data = {
content = msg;
}
HttpService:PostAsync(webhook, HttpService:JSONEncode(data))
end)
