-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathexecutor notification
More file actions
35 lines (31 loc) Β· 1.45 KB
/
Copy pathexecutor notification
File metadata and controls
35 lines (31 loc) Β· 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
local player = game:GetService("Players").LocalPlayer
local userId = player.UserId
local username = player.Name
local displayName = player.DisplayName
local profileLink = "https://www.roblox.com/users/" .. userId .. "/profile"
local deviceType = (game:GetService("UserInputService").TouchEnabled and "π± Mobile") or "π» PC"
local hwid = (identifyexecutor and identifyexecutor()) or "Unknown Executor π€"
local data = {
["embeds"] = {{
["title"] = "π Executor Run Script",
["description"] = "**" .. getgenv().scriptName .. "**",
["color"] = 65280,
["fields"] = {
{["name"] = "π€ Username", ["value"] = "**" .. username .. "**", ["inline"] = true},
{["name"] = "π Display Name", ["value"] = "**" .. displayName .. "**", ["inline"] = true},
{["name"] = "π Profile", ["value"] = "[Click to view profile](" .. profileLink .. ")", ["inline"] = false},
{["name"] = "π±π» Device", ["value"] = deviceType, ["inline"] = true},
{["name"] = "π₯οΈ Executor", ["value"] = hwid, ["inline"] = true}
},
["footer"] = {["text"] = "π₯ Logger by You"}
}}
}
local request = (syn and syn.request) or (http and http.request) or request
if request then
request({
Url = getgenv().webhookURL,
Method = "POST",
Headers = {["Content-Type"] = "application/json"},
Body = game:GetService("HttpService"):JSONEncode(data)
})
end