Guest

Untitled 329

Jan 26th, 2026
86
0
Never
Not a member of gistpad yet? Sign Up, it unlocks many cool features!
None 7.16 KB | None | 0 0
  1. --[[
  2. G7 Correction - Safe Mobile Aimbot
  3. Works on: MM2, Blox Fruits
  4. Anti-Detection Style (Smooth + Distance Limit + Team Check)
  5. ]]
  6.  
  7. local Players = game:GetService("Players")
  8. local RunService = game:GetService("RunService")
  9. local Camera = workspace.CurrentCamera
  10. local LocalPlayer = Players.LocalPlayer
  11.  
  12. local AimbotEnabled = false
  13.  
  14. -- إعدادات الحماية
  15. local MAX_DISTANCE = 350 -- لا يقفل إذا بعيد
  16. local SMOOTHNESS = 0.12 -- كل ما أقل = أهدأ وأطبيعي
  17.  
  18. -- واجهة الزر
  19. local ScreenGui = Instance.new("ScreenGui", game.CoreGui)
  20. ScreenGui.ResetOnSpawn = false
  21.  
  22. local Button = Instance.new("TextButton", ScreenGui)
  23. Button.Size = UDim2.new(0,160,0,50)
  24. Button.Position = UDim2.new(0,20,0.5,-25)
  25. Button.Text = "G7: OFF"
  26. Button.TextScaled = true
  27. Button.BackgroundColor3 = Color3.fromRGB(25,25,25)
  28. Button.TextColor3 = Color3.fromRGB(255,255,255)
  29. Button.BorderSizePixel = 0
  30. Instance.new("UICorner", Button).CornerRadius = UDim.new(0,12)
  31.  
  32. Button.MouseButton1Click:Connect(function()
  33. AimbotEnabled = not AimbotEnabled
  34. Button.Text = AimbotEnabled and "G7: ON" or "G7: OFF"
  35. end)
  36.  
  37. -- تحقق هل عدو
  38. local function IsEnemy(player)
  39. if not player.Character or not LocalPlayer.Character then return false end
  40.  
  41. -- لو اللعبة فيها Teams
  42. if player.Team and LocalPlayer.Team then
  43. return player.Team ~= LocalPlayer.Team
  44. end
  45.  
  46. -- لو ما فيها Teams (مثل Blox Fruits بعض الأحيان)
  47. return true
  48. end
  49.  
  50. -- أقرب هدف
  51. local function GetTarget()
  52. local best = nil
  53. local shortest = math.huge
  54.  
  55. for _,plr in ipairs(Players:GetPlayers()) do
  56. if plr ~= LocalPlayer and IsEnemy(plr)
  57. and plr.Character and plr.Character:FindFirstChild("Head")
  58. and plr.Character:FindFirstChild("Humanoid")
  59. and plr.Character.Humanoid.Health > 0 then
  60.  
  61. local head = plr.Character.Head
  62. local pos, visible = Camera:WorldToViewportPoint(head.Position)
  63. if visible then
  64. local dist3D = (head.Position - Camera.CFrame.Position).Magnitude
  65. if dist3D < MAX_DISTANCE then
  66. local center = Vector2.new(Camera.ViewportSize.X/2, Camera.ViewportSize.Y/2)
  67. local dist2D = (Vector2.new(pos.X,pos.Y) - center).Magnitude
  68.  
  69. if dist2D < shortest then
  70. shortest = dist2D
  71. best = plr
  72. end
  73. end
  74. end
  75. end
  76. end
  77.  
  78. return best
  79. end
  80.  
  81. -- تصويب ناعم
  82. RunService.RenderStepped:Connect(function()
  83. if not AimbotEnabled then return end
  84.  
  85. local target = GetTarget()
  86. if target and target.Character and target.Character:FindFirstChild("Head") then
  87. local head = target.Character.Head
  88. local newCFrame = CFrame.new(Camera.CFrame.Position, head.Position)
  89.  
  90. Camera.CFrame = Camera.CFrame:Lerp(newCFrame, SMOOTHNESS)
  91. end
  92. end)
RAW Gist Data Copied