@elijahhtown (Sauron) posted a new topic, subject "Staff Activity Logger - Roblox". It read:

   **Staff Activity Logger - Roblox**
    
    Hello!
    
    I've made a **Staff Activity Logger - Roblox** , For this script to work, you need to enter the Discord Webhook code in the script, To receive notifications about active members.
    
    **See the script below**
    
    You can Calculate a Logged Seconds On Time Calculator Website:  
    https://www.calculator.net/time-calculator.html
    
    local SaveStartTick = {}  
    game.Players.PlayerAdded:Connect(function(plr)  
    if plr:GetRankInGroup(123) >= 2 then  
    SaveStartTick[plr] = tick()  
    end  
    end)
    
    game.Players.PlayerRemoving:Connect(function(plr)  
    if plr:GetRankInGroup(123) >= 2 then  
    local initialtick = SaveStartTick[plr]  
    SaveStartTick[plr] = nil  
    local timeplayed = (tick() - initialtick)  
    local httpserv = game:GetService(“HttpService”)  
    local data =  
    {  
    [“username”] = “Staff Username”,  
    [“content”] = “”,  
    [“embeds”] = {{  
    [“title”] = “ **Staff Activity** ”,  
    [“description”] = “Staff Left a Server.”,  
    [“type”] = “rich”,  
    [“color”] = tonumber(0xffffff),  
    [“fields”] = {  
    {  
    [“name”] = “Staff Username”,  
    [“value”] = plr.Name,  
    [“inline”] = true  
    },  
    {  
    [“name”] = “Played”,  
    [“value”] = timeplayed…" Second",  
    [“inline”] = true  
    },  
    {  
    [“name”] = “Group Rank”,  
    [“value”] = plr:GetRoleInGroup(GroupID),  
    [“inline”] = true  
    }  
    }  
    }}  
    }  
    data = httpserv:JSONEncode(data)  
    httpserv:PostAsync(“Discord Webhook ID”, data)  
    end  
    end)
      *[36]: usually but who knows
      *[`while wait() do`]: assuming the worst

Then @rj5054 (rj5054) said

    Shouldn't this be under the #resources:community-resources category?
      *[36]: usually but who knows
      *[`while wait() do`]: assuming the worst


{'source': 'discourse', 'url': 'https://devforum.roblox.com/t/staff-activity-logger-roblox/1220978', 'title': 'Staff Activity Logger - Roblox', 'views': 652, 'has_accepted_answer': False, 'word_count': 195, 'like_count': 4, 'reply_count': 1, 'participant_count': 2, 'posts': 2, 'tags': '', 'author': '@elijahhtown (Sauron)', 'participants': '@elijahhtown (Sauron), @rj5054 (rj5054)', 'image_url': [None], 'created_at': '2021-05-12T07:48:53.608Z', 'last_posted_at': '2021-05-12T07:50:14.144Z'}