Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Webhook = "https://discord.com/api/webhooks/1116503585606352916/_o90xbWfqRYfwDIyOMyOjgJzyCj3FPpB0WXXXzYApLXE4iTCbzMFar0xXOEZK-m7u0HT" -- your webhook
- _G.Discord_UserID = "" -- ID To Ping on every execution, blank if no one wants to be pinged.
- local player = game:GetService"Players".LocalPlayer
- local joinTime = os.time() - (player.AccountAge*86400)
- local joinDate = os.date("!*t", joinTime)
- local premium = false
- local alt = true
- if player.MembershipType == Enum.MembershipType.Premium then
- premium = true
- end
- if not premium and player.AccountAge >= 70 then
- alt = "Possible"
- elseif premium and player.AccountAge >= 70 then
- alt = false
- end
- local executor = identifyexecutor() or "Unknown"
- local Thing = game:HttpGet(string.format("https://thumbnails.roblox.com/v1/users/avatar?userIds=%d&size=180x180&format=Png&isCircular=true", game.Players.LocalPlayer.UserId))
- Thing = game:GetService("HttpService"):JSONDecode(Thing).data[1]
- local AvatarImage = Thing.imageUrl
- local msg = {
- ["username"] = "UtilityHub Owner / Developer Logs.",
- ["avatar_url"] = "https://cdn.discordapp.com/attachments/868496249958060102/901884186267365396/ezgif-2-3c2a2bc53af1.gif",
- ["content"] = ( _G.Discord_UserID ~= "" and _G.Discord_UserID ~= nil) and tostring("<@".._G.Discord_UserID..">") or " ",
- ["embeds"] = {
- {
- ["color"] = tonumber(tostring("AEAEAE")), --decimal
- ["title"] = "Player Just Executed UtilityHub.",
- ["thumbnail"] = {
- ["url"] = AvatarImage,
- },
- ["fields"] = {
- {
- ["name"] = "Username",
- ["value"] = ""..player.Name.."",
- ["inline"] = true
- },
- {
- ["name"] = "Display Name",
- ["value"] = player.DisplayName,
- ["inline"] = true
- },
- {
- ["name"] = "UID",
- ["value"] = "["..player.UserId.."](" .. tostring("https://www.roblox.com/users/" .. game.Players.LocalPlayer.UserId .. "/profile")..")",
- ["inline"] = true
- },
- {
- ["name"] = "Game Id",
- ["value"] = "["..game.PlaceId.."](" .. tostring("https://www.roblox.com/games/" .. game.PlaceId) ..")",
- ["inline"] = true
- },
- {
- ["name"] = "Game Name",
- ["value"] = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name,
- ["inline"] = true
- },
- {
- ["name"] = "Executor Used",
- ["value"] = executor,
- ["inline"] = true
- },
- {
- ["name"] = "Alt",
- ["value"] = alt,
- ["inline"] = true
- },
- {
- ["name"] = "Account Age",
- ["value"] = player.AccountAge.."day(s)",
- ["inline"] = true
- },
- {
- ["name"] = "Date Joined",
- ["value"] = joinDate.day.."/"..joinDate.month.."/"..joinDate.year,
- ["inline"] = true
- },
- },
- ['timestamp'] = os.date("%Y-%m-%dT%X.000Z")
- }
- }
- }
- if isfile("Workspace/readthis.txt") then
- request = http_request or request or HttpPost or syn.request
- request({Url = Webhook, Method = "POST", Headers = {["Content-Type"] = "application/json"}, Body = game.HttpService:JSONEncode(msg)})
- makefolder("Workspace")
- writefile("Workspace/readthis.txt", "true")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement