Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --local lib = require(script.ModuleScript)
- local lib = loadstring(game:HttpGet("https://pastebin.com/raw/e8efycHe"))()
- local gui = lib.Load("Anti Hacker GUI")
- local configPage = gui.AddPage("Configs", true)
- local suspectedPage = gui.AddPage("Suspected", true)
- --//CONFIGS\\--
- local flyingAllowed = false
- --//CONFIGS\\--
- function sendWebHook(message)
- local webhook = "https://discord.com/api/webhooks/1085587295312293938/FtPM4MYakRIZ3JDViHdny8RGdoY7rJCKYSuJ3iYblrE3JvDvtCgL5N6XjjWUMZ2_Lk4J"
- local http = game:GetService("HttpService")
- local headers = {
- ["Content-Type"] = "application/json"
- }
- local data = {
- ["content"] = message
- }
- local body = http:JSONEncode(data)
- local response = request({
- Url = webhook,
- Method = "POST",
- Headers = headers,
- Body = body
- })
- end
- function sendHackLog(player)
- local message = "Suspected Player: " .. player.Name .. " (@" .. player.DisplayName .. "). Place ID: " .. game.PlaceId .. "; Job ID: " .. game.JobId
- message = message .. "\n\n"
- message = message .. "https://roblox.com/games/" .. game.PlaceId .. "/game?serverJobId=" .. game.JobId
- sendWebHook(message)
- end
- configPage.AddToggle("Flying Allowed", flyingAllowed, function(value)
- flyingAllowed = value
- end)
- sendHackLog(game:GetService("Players").LocalPlayer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement