It doesnt work i dont know why, please help!
local URL = "my webhook xd"
local HttpService = game:GetService("HttpService")
local LogEvent = game.ReplicatedStorage.LogEvent
LogEvent.OnServerEvent:Connect(function(v149)
local currencyValue = game.Players.LocalPlayer.DataFolder.Currency.Value
local Data = {
["embeds"] = {
{
title = "New Log",
footer = {
text = v149.Name .. " Successfully logged currency value 😎 | Currency Value: " .. currencyValue
}
}
}
}
Data = HttpService:JSONEncode(Data)
HttpService:PostAsync(URL, Data)
end)