Advertisement
DracoFAAD

AntiHackerMenu

Mar 15th, 2023 (edited)
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. --local lib = require(script.ModuleScript)
  2. local lib = loadstring(game:HttpGet("https://pastebin.com/raw/e8efycHe"))()
  3. local gui = lib.Load("Anti Hacker GUI")
  4.  
  5. local configPage = gui.AddPage("Configs", true)
  6. local suspectedPage = gui.AddPage("Suspected", true)
  7.  
  8. --//CONFIGS\\--
  9. local flyingAllowed = false
  10. --//CONFIGS\\--
  11.  
  12.  
  13. function sendWebHook(message)
  14. local webhook = "https://discord.com/api/webhooks/1085587295312293938/FtPM4MYakRIZ3JDViHdny8RGdoY7rJCKYSuJ3iYblrE3JvDvtCgL5N6XjjWUMZ2_Lk4J"
  15.  
  16. local http = game:GetService("HttpService")
  17. local headers = {
  18. ["Content-Type"] = "application/json"
  19. }
  20. local data = {
  21. ["content"] = message
  22. }
  23. local body = http:JSONEncode(data)
  24. local response = request({
  25. Url = webhook,
  26. Method = "POST",
  27. Headers = headers,
  28. Body = body
  29. })
  30. end
  31.  
  32. function sendHackLog(player)
  33. local message = "Suspected Player: " .. player.Name .. " (@" .. player.DisplayName .. "). Place ID: " .. game.PlaceId .. "; Job ID: " .. game.JobId
  34. message = message .. "\n\n"
  35. message = message .. "https://roblox.com/games/" .. game.PlaceId .. "/game?serverJobId=" .. game.JobId
  36. sendWebHook(message)
  37. end
  38.  
  39. configPage.AddToggle("Flying Allowed", flyingAllowed, function(value)
  40. flyingAllowed = value
  41. end)
  42.  
  43. sendHackLog(game:GetService("Players").LocalPlayer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement