local Loghook = "WEBHOOK_HERE"
local BotName = "Dexa LOG SYSTEM"
local Image = "https://i.hizliresim.com/YWEj2i.png"
RegisterServerEvent('dexa-logsystem:emote')
AddEventHandler('dexa-logsystem:emote',function(name, message, color)
  local logdetails = {
        {
            ["color"] = color,
            ["title"] = "**".. name .."**",
            ["description"] = message,
            ["footer"] = {
                ["text"] = "Made by D&A*",
            },
        }
    }
  PerformHttpRequest(Loghook, function(err, text, headers) end, 'POST', json.encode({username = BotName, embeds = logdetails, avatar_url = Image}), { ['Content-Type'] = 'application/json' })
end)