-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebhook.lua
More file actions
35 lines (24 loc) · 753 Bytes
/
Copy pathwebhook.lua
File metadata and controls
35 lines (24 loc) · 753 Bytes
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 Services = loadstring(game:HttpGet(
"https://roblox-alpha-murex.vercel.app/src/Modules/Variables.lua"
))()
local PlaceId = game.PlaceId
local Script = shared.script
local Game = Services["MarketplaceService"]:GetProductInfo(PlaceId).Name
local Player = Services["Players"].LocalPlayer
local Payload = {
User = Player.Name,
UserId = Player.UserId,
Executor = identifyexecutor() or "Unknown",
Script = Script,
Game = Game or "Unknown",
PlaceId = PlaceId
}
request({
Url = "https://dtfnhmehvzqcgwwdkmzh.supabase.co/functions/v1/webhook",
Method = "POST",
Headers = {
["Content-Type"] = "application/json"
},
Body = Services["HttpService"]:JSONEncode(Payload)
})
shared.script = nil