Hey,
So I have a handto system and want to log it to a webhook. I tried this but it doesn’t come through, the give and point lines are working.
game.ReplicatedStorage.GivePlayerItem.OnServerEvent:Connect(function(Player, PlayerName)
if Player.Name ~= PlayerName then
local ToolToGive = Player.Character:FindFirstChildWhichIsA("Tool")
ToolToGive.Parent = game.Players[PlayerName].Backpack
Player.leaderstats.Points.Value = Player.leaderstats.Points.Value + 1
local Webhook = "deleted due to safety"
local Https = game:GetService("HttpService")
local data = {
content = PlayerName .. "gave" .. Player .. ToolToGive,
}
Https:PostAsync(Webhook,Https:JSONEncode(data))
end
end)
I hope someone could help me