So currently at GMT+1 it’s 19:44 PM and I have a webhook that logs when a moderator joined, the script works but I want it to also say “Moderator cmodii logged on XX:XX AM/PM”
Here is the script:
local modlogger = "url"
local http = game:GetService("HttpService")
-- For when moderator joins:
game.Players.PlayerAdded:Connect(function(plr)
if plr.Name == "cmodii" then
local data = {
["embeds"] = {
{
["title"] = "**Moderator Logged on**", -- what are we logging
["description"] = "Moderator "..plr.Name.." has logged on." -- i want the time to be here such as Moderator cmodii has logged on 19:45 PM GMT+1
}
}
}
local finaldata = http:JSONEncode(data)
http:PostAsync(modlogger, finaldata)
end
end)
Thanks in advance!