ComandoGame7

Blitz ModMenu Script

Aug 18th, 2026 (edited)
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 37.74 KB | Gaming | 0 0
  1. -- ================================================================
  2. -- MkNewHack - Script Hub (Versão Turbo)
  3. -- Fly CFrame (rápido), Aimbot Grudado, Auto Farm, Auto Clicker
  4. -- ================================================================
  5.  
  6. -- ==================== CARREGAR RAYFIELD ====================
  7. local RayfieldLoaded, Rayfield = pcall(function()
  8.     return loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
  9. end)
  10. if not RayfieldLoaded then
  11.     error("Falha ao carregar Rayfield. Verifique sua conexão.")
  12. end
  13.  
  14. -- ==================== JANELA ====================
  15. local Window = Rayfield:CreateWindow({
  16.     Name = "MkNewHack [Turbo]",
  17.     LoadingTitle = "MkNewHack Loading...",
  18.     LoadingSubtitle = "by MkDev - Fly Rápido + Aimbot Grudado",
  19.     ConfigurationSaving = {
  20.         Enabled = true,
  21.         FileName = "MkNewHack_Config"
  22.     },
  23.     Discord = {
  24.         Enabled = false
  25.     },
  26.     KeySystem = false
  27. })
  28.  
  29. -- ==================== VARIÁVEIS GLOBAIS ====================
  30. local Players = game:GetService("Players")
  31. local RunService = game:GetService("RunService")
  32. local UserInputService = game:GetService("UserInputService")
  33. local Workspace = game:GetService("Workspace")
  34. local TweenService = game:GetService("TweenService")
  35. local LocalPlayer = Players.LocalPlayer
  36. local Camera = Workspace.CurrentCamera
  37. local Mouse = LocalPlayer:GetMouse()
  38. local Lighting = game:GetService("Lighting")
  39.  
  40. -- ==================== ABAS ====================
  41. local StatusTab = Window:CreateTab("Status", 1334675577)
  42. local PlayerTab = Window:CreateTab("Player/ESP", 1334675577)
  43. local CheatsTab = Window:CreateTab("Cheats", 1334675577)
  44. local AimbotTab = Window:CreateTab("Aimbot", 1334675577)
  45. local PerformanceTab = Window:CreateTab("Performance", 1334675577)
  46.  
  47. -- ==================== NOTIFICAÇÕES ====================
  48. local function CustomNotify(text, color)
  49.     color = color or Color3.new(1,0,0)
  50.     local sg = Instance.new("ScreenGui")
  51.     sg.Parent = game.CoreGui
  52.     sg.Name = "CustomNotify"
  53.     local f = Instance.new("Frame")
  54.     f.Size = UDim2.new(0,300,0,50)
  55.     f.Position = UDim2.new(0.5,-150,0.1,0)
  56.     f.BackgroundColor3 = Color3.new(0.1,0.1,0.1)
  57.     f.BackgroundTransparency = 0.8
  58.     f.BorderSizePixel = 2
  59.     f.BorderColor3 = color
  60.     f.Parent = sg
  61.     local l = Instance.new("TextLabel")
  62.     l.Size = UDim2.new(1,0,1,0)
  63.     l.BackgroundTransparency = 1
  64.     l.Text = text
  65.     l.TextColor3 = Color3.new(1,1,1)
  66.     l.Font = Enum.Font.GothamBold
  67.     l.TextScaled = true
  68.     l.TextWrapped = true
  69.     l.Parent = f
  70.     f.BackgroundTransparency = 1
  71.     TweenService:Create(f, TweenInfo.new(0.3), {BackgroundTransparency = 0.8}):Play()
  72.     task.wait(1.8)
  73.     TweenService:Create(f, TweenInfo.new(0.5), {BackgroundTransparency = 1}):Play()
  74.     task.wait(0.6)
  75.     sg:Destroy()
  76. end
  77.  
  78. -- ==================== STATUS ====================
  79. local PlayerNameLabel = StatusTab:CreateLabel("Player: " .. LocalPlayer.Name)
  80. local GameInfoLabel = StatusTab:CreateLabel("Jogo: " .. game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name .. " (ID: " .. game.PlaceId .. ")")
  81. local ServerIDLabel = StatusTab:CreateLabel("Servidor: " .. game.JobId)
  82. local PlaytimeLabel = StatusTab:CreateLabel("Tempo de jogo: 0 min")
  83.  
  84. local startTime = os.time()
  85. spawn(function()
  86.     while task.wait(2) do
  87.         local elapsed = os.time() - startTime
  88.         PlaytimeLabel:Set("Tempo de jogo: " .. math.floor(elapsed/60) .. " min")
  89.     end
  90. end)
  91.  
  92. -- ==================== ESP CORRIGIDO ====================
  93. local ESPEnabled = false
  94. local ESPBoxEnabled = true
  95. local ESPNameEnabled = true
  96. local ESPDistanceEnabled = true
  97. local ESPBoxes = {}
  98. local ESPNames = {}
  99. local ESPDistances = {}
  100. local ESPTargets = {}
  101.  
  102. local function GetCharacterPart(character, partName)
  103.     if not character then return nil end
  104.     local part = character:FindFirstChild(partName)
  105.     if part then return part end
  106.     part = character:FindFirstChild("HumanoidRootPart")
  107.     if part then return part end
  108.     part = character:FindFirstChild("UpperTorso")
  109.     if part then return part end
  110.     part = character:FindFirstChild("Torso")
  111.     if part then return part end
  112.     return nil
  113. end
  114.  
  115. local function ClearESP()
  116.     for _, v in pairs(ESPBoxes) do v:Destroy() end
  117.     for _, v in pairs(ESPNames) do v:Destroy() end
  118.     for _, v in pairs(ESPDistances) do v:Destroy() end
  119.     ESPBoxes = {}
  120.     ESPNames = {}
  121.     ESPDistances = {}
  122.     ESPTargets = {}
  123. end
  124.  
  125. local function CreateESPForTarget(target, isBot)
  126.     if target == LocalPlayer then return end
  127.     local character
  128.     local isPlayer = false
  129.     if target:IsA("Player") then
  130.         isPlayer = true
  131.         character = target.Character
  132.         if not character then return end
  133.     else
  134.         character = target
  135.     end
  136.  
  137.     local root = GetCharacterPart(character, "HumanoidRootPart")
  138.     if not root then return end
  139.     local head = character:FindFirstChild("Head") or root
  140.  
  141.     local color = isBot and Color3.new(1,0.5,0) or Color3.new(1,0,0)
  142.  
  143.     local box = Instance.new("BoxHandleAdornment")
  144.     box.Size = Vector3.new(3,5,1)
  145.     box.Color3 = color
  146.     box.Transparency = 0.5
  147.     box.AlwaysOnTop = true
  148.     box.ZIndex = 0
  149.     box.Adornee = root
  150.     box.Visible = ESPBoxEnabled and ESPEnabled
  151.     box.Parent = character
  152.     table.insert(ESPBoxes, box)
  153.  
  154.     local gui = Instance.new("BillboardGui")
  155.     gui.Size = UDim2.new(0,150,0,40)
  156.     gui.Adornee = head
  157.     gui.AlwaysOnTop = true
  158.     gui.MaxDistance = math.huge
  159.     gui.Parent = character
  160.     gui.Enabled = ESPEnabled
  161.  
  162.     local nameLabel = Instance.new("TextLabel", gui)
  163.     nameLabel.Size = UDim2.new(1,0,0,20)
  164.     nameLabel.Position = UDim2.new(0,0,0,0)
  165.     nameLabel.BackgroundTransparency = 1
  166.     nameLabel.Text = isBot and "Bot" or (isPlayer and target.Name or "NPC")
  167.     nameLabel.TextColor3 = color
  168.     nameLabel.Font = Enum.Font.GothamBold
  169.     nameLabel.TextScaled = true
  170.     nameLabel.Visible = ESPNameEnabled and ESPEnabled
  171.     table.insert(ESPNames, nameLabel)
  172.  
  173.     local distLabel = Instance.new("TextLabel", gui)
  174.     distLabel.Size = UDim2.new(1,0,0,15)
  175.     distLabel.Position = UDim2.new(0,0,0,20)
  176.     distLabel.BackgroundTransparency = 1
  177.     distLabel.Text = "0 studs"
  178.     distLabel.TextColor3 = Color3.new(1,1,1)
  179.     distLabel.Font = Enum.Font.Gotham
  180.     distLabel.TextScaled = true
  181.     distLabel.Visible = ESPDistanceEnabled and ESPEnabled
  182.     table.insert(ESPDistances, distLabel)
  183.  
  184.     table.insert(ESPTargets, {Root = root, DistLabel = distLabel})
  185. end
  186.  
  187. local function UpdateESP()
  188.     ClearESP()
  189.     if not ESPEnabled then return end
  190.     local hrp = LocalPlayer.Character and GetCharacterPart(LocalPlayer.Character, "HumanoidRootPart")
  191.     local myPos = hrp and hrp.Position or Vector3.new(0,0,0)
  192.  
  193.     for _, player in pairs(Players:GetPlayers()) do
  194.         if player ~= LocalPlayer and player.Character then
  195.             local root = GetCharacterPart(player.Character, "HumanoidRootPart")
  196.             if root then
  197.                 CreateESPForTarget(player, false)
  198.             end
  199.         end
  200.     end
  201.  
  202.     for _, obj in pairs(Workspace:GetDescendants()) do
  203.         if obj:IsA("Model") and obj:FindFirstChildOfClass("Humanoid") then
  204.             local isPlayer = false
  205.             for _, p in pairs(Players:GetPlayers()) do
  206.                 if p.Character == obj then isPlayer = true break end
  207.             end
  208.             if not isPlayer and obj ~= LocalPlayer.Character then
  209.                 local root = GetCharacterPart(obj, "HumanoidRootPart")
  210.                 if root then
  211.                     CreateESPForTarget(obj, true)
  212.                 end
  213.             end
  214.         end
  215.     end
  216. end
  217.  
  218. RunService.RenderStepped:Connect(function()
  219.     if not ESPEnabled then return end
  220.     local hrp = LocalPlayer.Character and GetCharacterPart(LocalPlayer.Character, "HumanoidRootPart")
  221.     if not hrp then return end
  222.     local myPos = hrp.Position
  223.     for _, esp in pairs(ESPTargets) do
  224.         if esp and esp.Root and esp.DistLabel then
  225.             local dist = (esp.Root.Position - myPos).Magnitude
  226.             esp.DistLabel.Text = string.format("%.0f studs", dist)
  227.         end
  228.     end
  229. end)
  230.  
  231. local function RebuildESP() UpdateESP() end
  232. Players.PlayerAdded:Connect(RebuildESP)
  233. Players.PlayerRemoving:Connect(RebuildESP)
  234. LocalPlayer.CharacterAdded:Connect(function() task.wait(1); RebuildESP() end)
  235.  
  236. -- ==================== UI ESP ====================
  237. PlayerTab:CreateSection("ESP Config")
  238. PlayerTab:CreateToggle({
  239.     Name = "ESP Geral",
  240.     CurrentValue = false,
  241.     Flag = "ESPEnabled",
  242.     Callback = function(Value)
  243.         ESPEnabled = Value
  244.         if not Value then ClearESP() end
  245.         RebuildESP()
  246.     end
  247. })
  248. PlayerTab:CreateToggle({
  249.     Name = "Box ESP",
  250.     CurrentValue = true,
  251.     Flag = "ESPBox",
  252.     Callback = function(Value)
  253.         ESPBoxEnabled = Value
  254.         for _, box in pairs(ESPBoxes) do box.Visible = Value and ESPEnabled end
  255.     end
  256. })
  257. PlayerTab:CreateToggle({
  258.     Name = "Nome",
  259.     CurrentValue = true,
  260.     Flag = "ESPName",
  261.     Callback = function(Value)
  262.         ESPNameEnabled = Value
  263.         for _, label in pairs(ESPNames) do label.Visible = Value and ESPEnabled end
  264.     end
  265. })
  266. PlayerTab:CreateToggle({
  267.     Name = "Distância",
  268.     CurrentValue = true,
  269.     Flag = "ESPDistance",
  270.     Callback = function(Value)
  271.         ESPDistanceEnabled = Value
  272.         for _, label in pairs(ESPDistances) do label.Visible = Value and ESPEnabled end
  273.     end
  274. })
  275.  
  276. -- ==================== TECLAS ====================
  277. local keysPressed = {W=false, A=false, S=false, D=false, Space=false, Shift=false}
  278.  
  279. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  280.     if gameProcessed then return end
  281.     local key = input.KeyCode
  282.     if key == Enum.KeyCode.W then keysPressed.W = true end
  283.     if key == Enum.KeyCode.A then keysPressed.A = true end
  284.     if key == Enum.KeyCode.S then keysPressed.S = true end
  285.     if key == Enum.KeyCode.D then keysPressed.D = true end
  286.     if key == Enum.KeyCode.Space then keysPressed.Space = true end
  287.     if key == Enum.KeyCode.LeftShift then keysPressed.Shift = true end
  288. end)
  289. UserInputService.InputEnded:Connect(function(input, gameProcessed)
  290.     if gameProcessed then return end
  291.     local key = input.KeyCode
  292.     if key == Enum.KeyCode.W then keysPressed.W = false end
  293.     if key == Enum.KeyCode.A then keysPressed.A = false end
  294.     if key == Enum.KeyCode.S then keysPressed.S = false end
  295.     if key == Enum.KeyCode.D then keysPressed.D = false end
  296.     if key == Enum.KeyCode.Space then keysPressed.Space = false end
  297.     if key == Enum.KeyCode.LeftShift then keysPressed.Shift = false end
  298. end)
  299.  
  300. -- ==================== FLY RÁPIDO (MÉTODO CFrame) ====================
  301. local Flying = false
  302. local FlySpeed = 50
  303.  
  304. local function StartFly()
  305.     Flying = true
  306.     local char = LocalPlayer.Character
  307.     if char and char:FindFirstChild("Humanoid") then
  308.         char.Humanoid.PlatformStand = true
  309.     end
  310. end
  311. local function StopFly()
  312.     Flying = false
  313.     local char = LocalPlayer.Character
  314.     if char and char:FindFirstChild("Humanoid") then
  315.         char.Humanoid.PlatformStand = false
  316.         local root = char:FindFirstChild("HumanoidRootPart")
  317.         if root then root.Velocity = Vector3.new(0,0,0) end
  318.     end
  319. end
  320.  
  321. RunService.Heartbeat:Connect(function()
  322.     if not Flying then return end
  323.     local char = LocalPlayer.Character
  324.     if not char then return end
  325.     local root = char:FindFirstChild("HumanoidRootPart")
  326.     if not root then return end
  327.     local humanoid = char:FindFirstChild("Humanoid")
  328.     if humanoid then humanoid.PlatformStand = true end
  329.  
  330.     local moveDirection = Vector3.new(0,0,0)
  331.     if keysPressed.W then moveDirection = moveDirection + Vector3.new(0,0,-1) end
  332.     if keysPressed.S then moveDirection = moveDirection + Vector3.new(0,0,1) end
  333.     if keysPressed.A then moveDirection = moveDirection + Vector3.new(-1,0,0) end
  334.     if keysPressed.D then moveDirection = moveDirection + Vector3.new(1,0,0) end
  335.     if keysPressed.Space then moveDirection = moveDirection + Vector3.new(0,1,0) end
  336.     if keysPressed.Shift then moveDirection = moveDirection + Vector3.new(0,-1,0) end
  337.  
  338.     if moveDirection.Magnitude > 0 then
  339.         moveDirection = moveDirection.Unit * FlySpeed
  340.         local worldMove = Camera.CFrame:VectorToWorldSpace(moveDirection)
  341.         local newPos = root.Position + worldMove * 0.2 -- Multiplicador para suavidade
  342.         root.Velocity = Vector3.new(0,0,0)
  343.         root.CFrame = CFrame.new(newPos)
  344.     end
  345. end)
  346.  
  347. CheatsTab:CreateToggle({
  348.     Name = "Fly (WASD) - Rápido",
  349.     CurrentValue = false,
  350.     Flag = "FlyEnabled",
  351.     Callback = function(Value)
  352.         if Value then StartFly() else StopFly() end
  353.     end
  354. })
  355. CheatsTab:CreateSlider({
  356.     Name = "Velocidade do Fly (10-100)",
  357.     Range = {10, 100},
  358.     Increment = 1,
  359.     CurrentValue = 50,
  360.     Flag = "FlySpeed",
  361.     Callback = function(Value) FlySpeed = Value end
  362. })
  363. CheatsTab:CreateToggle({
  364.     Name = "Anti-Reset Fly",
  365.     CurrentValue = false,
  366.     Flag = "AntiResetFly",
  367.     Callback = function(Value)
  368.         if Value then
  369.             RunService.Heartbeat:Connect(function()
  370.                 if Flying and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  371.                     LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
  372.                 end
  373.             end)
  374.         end
  375.     end
  376. })
  377.  
  378. -- ==================== AUTO FARM (VOO PARA 1000 studs) ====================
  379. local AutoFarmEnabled = false
  380. local FarmHeight = 1000
  381. local isFarming = false
  382.  
  383. CheatsTab:CreateToggle({
  384.     Name = "Auto Farm (Voa para 1000 studs)",
  385.     CurrentValue = false,
  386.     Flag = "AutoFarm",
  387.     Callback = function(Value)
  388.         AutoFarmEnabled = Value
  389.         if not Value then
  390.             isFarming = false
  391.             local char = LocalPlayer.Character
  392.             if char and char:FindFirstChild("Humanoid") then
  393.                 char.Humanoid.PlatformStand = false
  394.             end
  395.         else
  396.             CustomNotify("Auto Farm ativado! Voando para 1000 studs.", Color3.new(0,1,0))
  397.         end
  398.     end
  399. })
  400.  
  401. RunService.Heartbeat:Connect(function()
  402.     if not AutoFarmEnabled then return end
  403.     local char = LocalPlayer.Character
  404.     if not char then return end
  405.     local root = char:FindFirstChild("HumanoidRootPart")
  406.     if not root then return end
  407.     local humanoid = char:FindFirstChild("Humanoid")
  408.     if not humanoid then return end
  409.  
  410.     -- Verifica se está vivo
  411.     if humanoid.Health <= 0 then
  412.         -- Espera respawn (o loop vai pegar no próximo tick)
  413.         return
  414.     end
  415.  
  416.     -- Ativa PlatformStand para ficar parado
  417.     humanoid.PlatformStand = true
  418.  
  419.     local targetY = FarmHeight
  420.     local currentPos = root.Position
  421.  
  422.     -- Se estiver muito longe do alvo (mais de 50 studs), teleporta suavemente
  423.     if math.abs(currentPos.Y - targetY) > 10 then
  424.         local targetPos = Vector3.new(currentPos.X, targetY, currentPos.Z)
  425.         root.CFrame = CFrame.new(targetPos)
  426.         root.Velocity = Vector3.new(0,0,0)
  427.         isFarming = true
  428.     else
  429.         -- Mantém posição e para velocidade
  430.         root.Velocity = Vector3.new(0,0,0)
  431.         -- Garante que não desça
  432.         if root.Position.Y < targetY - 1 then
  433.             root.CFrame = CFrame.new(Vector3.new(root.Position.X, targetY, root.Position.Z))
  434.         end
  435.         isFarming = true
  436.     end
  437. end)
  438.  
  439. -- ==================== AUTO CLICKER (SEGURA M1) ====================
  440. local AutoClickerEnabled = false
  441. local isClicking = false
  442.  
  443. CheatsTab:CreateToggle({
  444.     Name = "Auto Clicker (Segura M1)",
  445.     CurrentValue = false,
  446.     Flag = "AutoClicker",
  447.     Callback = function(Value)
  448.         AutoClickerEnabled = Value
  449.         if not Value and isClicking then
  450.             Mouse1Up()
  451.             isClicking = false
  452.         end
  453.         if Value then
  454.             CustomNotify("Auto Clicker ativado! Segurando M1.", Color3.new(0,1,1))
  455.         else
  456.             CustomNotify("Auto Clicker desativado.", Color3.new(1,0,0))
  457.         end
  458.     end
  459. })
  460.  
  461. RunService.RenderStepped:Connect(function()
  462.     if not AutoClickerEnabled then
  463.         if isClicking then
  464.             Mouse1Up()
  465.             isClicking = false
  466.         end
  467.         return
  468.     end
  469.     if not isClicking then
  470.         Mouse1Down()
  471.         isClicking = true
  472.     end
  473. end)
  474.  
  475. -- ==================== SPEED ====================
  476. local SpeedEnabled = false
  477. local SpeedValue = 50
  478. local JumpEnabled = false
  479. local JumpValue = 50
  480.  
  481. RunService.Heartbeat:Connect(function()
  482.     if SpeedEnabled then
  483.         local hum = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid")
  484.         if hum and hum.WalkSpeed ~= SpeedValue then hum.WalkSpeed = SpeedValue end
  485.     end
  486. end)
  487. RunService.Heartbeat:Connect(function()
  488.     if JumpEnabled then
  489.         local hum = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid")
  490.         if hum and hum.JumpPower ~= JumpValue then hum.JumpPower = JumpValue end
  491.     end
  492. end)
  493.  
  494. CheatsTab:CreateToggle({
  495.     Name = "Speed Hack",
  496.     CurrentValue = false,
  497.     Flag = "SpeedHack",
  498.     Callback = function(Value)
  499.         SpeedEnabled = Value
  500.         if not Value then
  501.             local hum = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid")
  502.             if hum then hum.WalkSpeed = 16 end
  503.         end
  504.     end
  505. })
  506. CheatsTab:CreateSlider({
  507.     Name = "Speed Value (16-200)",
  508.     Range = {16, 200},
  509.     Increment = 1,
  510.     CurrentValue = 50,
  511.     Flag = "SpeedValue",
  512.     Callback = function(Value) SpeedValue = Value end
  513. })
  514. CheatsTab:CreateToggle({
  515.     Name = "Jump Hack",
  516.     CurrentValue = false,
  517.     Flag = "JumpHack",
  518.     Callback = function(Value)
  519.         JumpEnabled = Value
  520.         if not Value then
  521.             local hum = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid")
  522.             if hum then hum.JumpPower = 50 end
  523.         end
  524.     end
  525. })
  526. CheatsTab:CreateSlider({
  527.     Name = "Jump Value (50-500)",
  528.     Range = {50, 500},
  529.     Increment = 1,
  530.     CurrentValue = 50,
  531.     Flag = "JumpValue",
  532.     Callback = function(Value) JumpValue = Value end
  533. })
  534.  
  535. -- ==================== INFINITE JUMP ====================
  536. local InfiniteJumpEnabled = false
  537. CheatsTab:CreateToggle({
  538.     Name = "Infinite Jump (segure espaço)",
  539.     CurrentValue = false,
  540.     Flag = "InfiniteJump",
  541.     Callback = function(Value)
  542.         InfiniteJumpEnabled = Value
  543.         if Value then CustomNotify("Infinite Jump ativado!", Color3.new(0,1,1)) end
  544.     end
  545. })
  546. RunService.Heartbeat:Connect(function()
  547.     if InfiniteJumpEnabled and keysPressed.Space then
  548.         local char = LocalPlayer.Character
  549.         if char then
  550.             local hum = char:FindFirstChild("Humanoid")
  551.             if hum and hum:GetState() ~= Enum.HumanoidStateType.Jumping then
  552.                 hum:ChangeState(Enum.HumanoidStateType.Jumping)
  553.             end
  554.         end
  555.     end
  556. end)
  557.  
  558. -- ==================== AUTO SAFE ====================
  559. local AutoSafeEnabled = false
  560. local SafeObject = nil
  561. local SafeFlying = false
  562. local SafeConnection = nil
  563.  
  564. CheatsTab:CreateToggle({
  565.     Name = "Auto Safe (Low HP)",
  566.     CurrentValue = false,
  567.     Flag = "AutoSafe",
  568.     Callback = function(Value)
  569.         AutoSafeEnabled = Value
  570.         if not Value then
  571.             if SafeObject then SafeObject:Destroy(); SafeObject = nil end
  572.             SafeFlying = false
  573.             if SafeConnection then SafeConnection:Disconnect(); SafeConnection = nil end
  574.             local char = LocalPlayer.Character
  575.             if char and char:FindFirstChild("Humanoid") then char.Humanoid.PlatformStand = false end
  576.         end
  577.     end
  578. })
  579. SafeConnection = RunService.Heartbeat:Connect(function()
  580.     if not AutoSafeEnabled then return end
  581.     local char = LocalPlayer.Character
  582.     if not char then return end
  583.     local hum = char:FindFirstChildOfClass("Humanoid")
  584.     if not hum then return end
  585.     local root = char:FindFirstChild("HumanoidRootPart")
  586.     if not root then return end
  587.  
  588.     if hum.Health / hum.MaxHealth <= 0.35 and not SafeFlying then
  589.         SafeFlying = true
  590.         hum.PlatformStand = true
  591.         if not SafeObject then
  592.             SafeObject = Instance.new("Part")
  593.             SafeObject.Size = Vector3.new(10,1,10)
  594.             SafeObject.Anchored = true
  595.             SafeObject.Transparency = 1
  596.             SafeObject.CanCollide = true
  597.             SafeObject.Position = root.Position + Vector3.new(0, 4000, 0)
  598.             SafeObject.Parent = Workspace
  599.         end
  600.         local tween = TweenService:Create(root, TweenInfo.new(2), {CFrame = CFrame.new(SafeObject.Position + Vector3.new(0,5,0))})
  601.         tween:Play()
  602.         CustomNotify("Auto Safe ativado!", Color3.new(0,1,0))
  603.     elseif hum.Health / hum.MaxHealth > 0.35 and SafeFlying then
  604.         SafeFlying = false
  605.         if char and char:FindFirstChild("Humanoid") then char.Humanoid.PlatformStand = false end
  606.         if SafeObject then SafeObject:Destroy(); SafeObject = nil end
  607.     end
  608. end)
  609.  
  610. -- ==================== NOCLIP ====================
  611. local NoclipEnabled = false
  612. CheatsTab:CreateToggle({
  613.     Name = "Noclip",
  614.     CurrentValue = false,
  615.     Flag = "Noclip",
  616.     Callback = function(Value) NoclipEnabled = Value end
  617. })
  618. RunService.Stepped:Connect(function()
  619.     if NoclipEnabled and LocalPlayer.Character then
  620.         for _, part in pairs(LocalPlayer.Character:GetDescendants()) do
  621.             if part:IsA("BasePart") then part.CanCollide = false end
  622.         end
  623.     end
  624. end)
  625.  
  626. -- ==================== ANTI-STUN ====================
  627. local AntiStunEnabled = false
  628. CheatsTab:CreateToggle({
  629.     Name = "Anti-Stun",
  630.     CurrentValue = false,
  631.     Flag = "AntiStun",
  632.     Callback = function(Value) AntiStunEnabled = Value end
  633. })
  634. RunService.Heartbeat:Connect(function()
  635.     if AntiStunEnabled and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
  636.         local hum = LocalPlayer.Character.Humanoid
  637.         pcall(function()
  638.             hum:SetStateEnabled(Enum.HumanoidStateType.Stunned, false)
  639.             hum:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
  640.             hum:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
  641.         end)
  642.     end
  643. end)
  644.  
  645. -- ==================== ANTI-RAGDOLL ====================
  646. local AntiRagdollEnabled = false
  647. CheatsTab:CreateToggle({
  648.     Name = "Anti-Ragdoll",
  649.     CurrentValue = false,
  650.     Flag = "AntiRagdoll",
  651.     Callback = function(Value) AntiRagdollEnabled = Value end
  652. })
  653. RunService.Heartbeat:Connect(function()
  654.     if AntiRagdollEnabled and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
  655.         local hum = LocalPlayer.Character.Humanoid
  656.         pcall(function() hum:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false) end)
  657.     end
  658. end)
  659.  
  660. -- ==================== AIMBOT GRUDADO ====================
  661. local AimbotEnabled = false
  662. local AimbotMaxDistance = 1000
  663. local AimbotFilterTeam = true
  664. local AimbotTargetBots = false
  665. local AutoFireEnabled = false
  666. local AutoFireRequiresCrosshair = true
  667. local isShooting = false
  668. local currentTarget = nil
  669. local AutoShotDelay = 0.1
  670.  
  671. local function GetTargetPart(character)
  672.     if not character then return nil end
  673.     local parts = {"Head", "HumanoidRootPart", "UpperTorso", "Torso"}
  674.     for _, name in pairs(parts) do
  675.         local part = character:FindFirstChild(name)
  676.         if part then return part end
  677.     end
  678.     return nil
  679. end
  680.  
  681. local function GetTeamFromObject(obj)
  682.     if not obj then return nil end
  683.     if obj:IsA("Player") then
  684.         if obj.Team then return obj.Team end
  685.         local char = obj.Character
  686.         if char then
  687.             for _, name in pairs({"Team", "TeamColor", "TeamId"}) do
  688.                 local t = char:FindFirstChild(name)
  689.                 if t and t:IsA("ValueBase") then return t.Value end
  690.             end
  691.         end
  692.         local ls = obj:FindFirstChild("leaderstats")
  693.         if ls then
  694.             for _, name in pairs({"Team", "TeamId"}) do
  695.                 local t = ls:FindFirstChild(name)
  696.                 if t and t:IsA("ValueBase") then return t.Value end
  697.             end
  698.         end
  699.         return nil
  700.     end
  701.     if obj:IsA("Model") then
  702.         for _, name in pairs({"Team", "TeamColor", "TeamId"}) do
  703.             local t = obj:FindFirstChild(name)
  704.             if t and t:IsA("ValueBase") then return t.Value end
  705.         end
  706.         local hum = obj:FindFirstChildOfClass("Humanoid")
  707.         if hum then
  708.             for _, name in pairs({"Team", "TeamColor", "TeamId"}) do
  709.                 local t = hum:FindFirstChild(name)
  710.                 if t and t:IsA("ValueBase") then return t.Value end
  711.             end
  712.         end
  713.         local success, team = pcall(function() return obj:GetAttribute("Team") end)
  714.         if success and team then return team end
  715.         return nil
  716.     end
  717.     return nil
  718. end
  719.  
  720. local function IsSameTeam(obj1, obj2)
  721.     if not obj1 or not obj2 then return false end
  722.     local team1 = GetTeamFromObject(obj1)
  723.     local team2 = GetTeamFromObject(obj2)
  724.     if team1 and team2 then
  725.         if type(team1) == "number" and type(team2) == "number" then return team1 == team2 end
  726.         if type(team1) == "string" and type(team2) == "string" then return team1 == team2 end
  727.         if type(team1) == "userdata" and type(team2) == "userdata" then return team1 == team2 end
  728.     end
  729.     return false
  730. end
  731.  
  732. local function IsAlive(obj)
  733.     if not obj then return false end
  734.     local hum
  735.     if obj:IsA("Player") then
  736.         if not obj.Character then return false end
  737.         hum = obj.Character:FindFirstChildOfClass("Humanoid")
  738.     else
  739.         hum = obj:FindFirstChildOfClass("Humanoid")
  740.     end
  741.     if not hum or hum.Health <= 0 then return false end
  742.     local success, state = pcall(function() return hum:GetState() end)
  743.     if success and state == Enum.HumanoidStateType.Dead then return false end
  744.     return true
  745. end
  746.  
  747. local function IsVisible(obj)
  748.     if not obj then return false end
  749.     local char = obj:IsA("Player") and obj.Character or obj
  750.     if not char then return false end
  751.     local targetPart = GetTargetPart(char)
  752.     if not targetPart then return false end
  753.     local origin = Camera.CFrame.Position
  754.     local direction = targetPart.Position - origin
  755.     if direction.Magnitude > AimbotMaxDistance then return false end
  756.     local params = RaycastParams.new()
  757.     params.FilterDescendantsInstances = {LocalPlayer.Character, char}
  758.     params.FilterType = Enum.RaycastFilterType.Blacklist
  759.     local ray = Workspace:Raycast(origin, direction, params)
  760.     return ray == nil
  761. end
  762.  
  763. local function IsInCrosshair(targetPos)
  764.     local screenPos, onScreen = Camera:WorldToViewportPoint(targetPos)
  765.     if not onScreen then return false end
  766.     local center = Vector2.new(Camera.ViewportSize.X/2, Camera.ViewportSize.Y/2)
  767.     return (Vector2.new(screenPos.X, screenPos.Y) - center).Magnitude < 50
  768. end
  769.  
  770. local function GetAllTargets()
  771.     local targets = {}
  772.     local char = LocalPlayer.Character
  773.     if not char then return targets end
  774.     local root = char:FindFirstChild("HumanoidRootPart") or char:FindFirstChild("UpperTorso") or char:FindFirstChild("Torso")
  775.     if not root then return targets end
  776.  
  777.     for _, player in pairs(Players:GetPlayers()) do
  778.         if player == LocalPlayer then continue end
  779.         if not player.Character then continue end
  780.         if not IsAlive(player) then continue end
  781.         if AimbotFilterTeam and IsSameTeam(LocalPlayer, player) then continue end
  782.         local part = GetTargetPart(player.Character)
  783.         if part then
  784.             table.insert(targets, {Object = player, Part = part, IsBot = false})
  785.         end
  786.     end
  787.  
  788.     if AimbotTargetBots then
  789.         for _, obj in pairs(Workspace:GetDescendants()) do
  790.             if obj:IsA("Model") and obj:FindFirstChildOfClass("Humanoid") then
  791.                 local isPlayer = false
  792.                 for _, p in pairs(Players:GetPlayers()) do
  793.                     if p.Character == obj then isPlayer = true break end
  794.                 end
  795.                 if isPlayer or obj == LocalPlayer.Character then continue end
  796.                 if not IsAlive(obj) then continue end
  797.                 if AimbotFilterTeam and IsSameTeam(LocalPlayer, obj) then continue end
  798.                 local part = GetTargetPart(obj)
  799.                 if part then
  800.                     table.insert(targets, {Object = obj, Part = part, IsBot = true})
  801.                 end
  802.             end
  803.         end
  804.     end
  805.     return targets
  806. end
  807.  
  808. local function GetClosestTarget()
  809.     local char = LocalPlayer.Character
  810.     if not char then return nil end
  811.     local root = char:FindFirstChild("HumanoidRootPart") or char:FindFirstChild("UpperTorso") or char:FindFirstChild("Torso")
  812.     if not root then return nil end
  813.  
  814.     local targets = GetAllTargets()
  815.     local closest, closestDist = nil, math.huge
  816.     for _, t in pairs(targets) do
  817.         local dist = (t.Part.Position - root.Position).Magnitude
  818.         if dist < closestDist and dist <= AimbotMaxDistance then
  819.             closest = t
  820.             closestDist = dist
  821.         end
  822.     end
  823.     return closest
  824. end
  825.  
  826. -- Aimbot GRUDADO (sem smoothing, instantâneo)
  827. RunService.RenderStepped:Connect(function()
  828.     if not AimbotEnabled then return end
  829.     local target = GetClosestTarget()
  830.     if target and target.Part then
  831.         currentTarget = target
  832.         Camera.CFrame = CFrame.new(Camera.CFrame.Position, target.Part.Position)
  833.     else
  834.         currentTarget = nil
  835.     end
  836. end)
  837.  
  838. -- Auto Fire (Atira em alvos)
  839. RunService.RenderStepped:Connect(function()
  840.     if not AutoFireEnabled or not AimbotEnabled then
  841.         if isShooting then Mouse1Up(); isShooting = false end
  842.         return
  843.     end
  844.     local target = GetClosestTarget()
  845.     if target and target.Object and target.Part then
  846.         if IsVisible(target.Object) and IsAlive(target.Object) then
  847.             local shouldShoot = true
  848.             if AutoFireRequiresCrosshair then
  849.                 shouldShoot = IsInCrosshair(target.Part.Position)
  850.             end
  851.             if shouldShoot then
  852.                 if not isShooting then Mouse1Down(); isShooting = true end
  853.             else
  854.                 if isShooting then Mouse1Up(); isShooting = false end
  855.             end
  856.         else
  857.             if isShooting then Mouse1Up(); isShooting = false end
  858.         end
  859.     else
  860.         if isShooting then Mouse1Up(); isShooting = false end
  861.     end
  862. end)
  863.  
  864. -- UI Aimbot
  865. AimbotTab:CreateToggle({
  866.     Name = "Aimbot (Grudado)",
  867.     CurrentValue = false,
  868.     Flag = "Aimbot",
  869.     Callback = function(Value)
  870.         AimbotEnabled = Value
  871.         if not Value and isShooting then Mouse1Up(); isShooting = false end
  872.     end
  873. })
  874. AimbotTab:CreateSlider({
  875.     Name = "Distância Máxima (100-2000)",
  876.     Range = {100, 2000},
  877.     Increment = 50,
  878.     CurrentValue = 1000,
  879.     Flag = "AimbotMaxDistance",
  880.     Callback = function(Value) AimbotMaxDistance = Value end
  881. })
  882. AimbotTab:CreateToggle({
  883.     Name = "Filtrar Time (ignora aliados)",
  884.     CurrentValue = true,
  885.     Flag = "AimbotFilterTeam",
  886.     Callback = function(Value)
  887.         AimbotFilterTeam = Value
  888.         CustomNotify("Filtro de Time " .. (Value and "ativado" or "desativado"), Color3.new(0,1,1))
  889.     end
  890. })
  891. AimbotTab:CreateToggle({
  892.     Name = "Mirar em Bots (NPCs)",
  893.     CurrentValue = false,
  894.     Flag = "AimbotTargetBots",
  895.     Callback = function(Value)
  896.         AimbotTargetBots = Value
  897.         CustomNotify("Mirar em Bots " .. (Value and "ativado" or "desativado"), Color3.new(1,0.5,0))
  898.     end
  899. })
  900. AimbotTab:CreateToggle({
  901.     Name = "Auto Fire (atira em alvos visíveis)",
  902.     CurrentValue = false,
  903.     Flag = "AutoFire",
  904.     Callback = function(Value)
  905.         AutoFireEnabled = Value
  906.         if not Value and isShooting then Mouse1Up(); isShooting = false end
  907.         CustomNotify("Auto Fire " .. (Value and "ativado" or "desativado"), Color3.new(0,1,0))
  908.     end
  909. })
  910. AimbotTab:CreateToggle({
  911.     Name = "Auto Fire só no Crosshair",
  912.     CurrentValue = true,
  913.     Flag = "AutoFireCrosshair",
  914.     Callback = function(Value)
  915.         AutoFireRequiresCrosshair = Value
  916.         CustomNotify("Auto Fire " .. (Value and "só no centro" or "em qualquer lugar visível"), Color3.new(0,1,1))
  917.     end
  918. })
  919. AimbotTab:CreateSlider({
  920.     Name = "Delay entre tiros (0.01-0.5)",
  921.     Range = {0.01, 0.5},
  922.     Increment = 0.01,
  923.     CurrentValue = 0.1,
  924.     Flag = "AutoShotDelay",
  925.     Callback = function(Value) AutoShotDelay = Value end
  926. })
  927.  
  928. -- ==================== PERFORMANCE ====================
  929. local UnlimitedZoom = false
  930. local LockFPSEnabled = false
  931. local TargetFPS = 60
  932. local FPSLockConnection = nil
  933.  
  934. PerformanceTab:CreateSlider({
  935.     Name = "Campo de Visão (FOV)",
  936.     Range = {1, 120},
  937.     Increment = 1,
  938.     CurrentValue = 70,
  939.     Flag = "FOV",
  940.     Callback = function(Value) Camera.FieldOfView = Value end
  941. })
  942. PerformanceTab:CreateToggle({
  943.     Name = "Unlimited Zoom (FOV=1)",
  944.     CurrentValue = false,
  945.     Flag = "UnlimitedZoom",
  946.     Callback = function(Value)
  947.         UnlimitedZoom = Value
  948.         Camera.FieldOfView = Value and 1 or 70
  949.     end
  950. })
  951.  
  952. local function ApplyFPSLock()
  953.     if FPSLockConnection then FPSLockConnection:Disconnect(); FPSLockConnection = nil end
  954.     if not LockFPSEnabled or TargetFPS <= 0 then return end
  955.     local frameTime = 1 / TargetFPS
  956.     local lastTime = tick()
  957.     FPSLockConnection = RunService.Heartbeat:Connect(function()
  958.         local delta = tick() - lastTime
  959.         if delta < frameTime then task.wait(frameTime - delta) end
  960.         lastTime = tick()
  961.     end)
  962. end
  963. PerformanceTab:CreateToggle({
  964.     Name = "Lock FPS",
  965.     CurrentValue = false,
  966.     Flag = "LockFPS",
  967.     Callback = function(Value)
  968.         LockFPSEnabled = Value
  969.         if Value then ApplyFPSLock(); CustomNotify("FPS travado em " .. TargetFPS, Color3.new(0,1,1))
  970.         else if FPSLockConnection then FPSLockConnection:Disconnect(); FPSLockConnection = nil end; CustomNotify("Lock FPS desativado", Color3.new(1,0,0)) end
  971.     end
  972. })
  973. PerformanceTab:CreateSlider({
  974.     Name = "FPS Alvo (30-250)",
  975.     Range = {30, 250},
  976.     Increment = 1,
  977.     CurrentValue = 60,
  978.     Flag = "TargetFPS",
  979.     Callback = function(Value)
  980.         TargetFPS = Value
  981.         if LockFPSEnabled then ApplyFPSLock(); CustomNotify("FPS alvo: " .. Value, Color3.new(0,1,1)) end
  982.     end
  983. })
  984.  
  985. -- ==================== FPS COUNTER ====================
  986. local FPSEnabled = false
  987. local FPSCounter = nil
  988. local FPSLabel = nil
  989. local FPSFrame = nil
  990. local FPSColor = "Verde"
  991.  
  992. local ColorMap = {
  993.     ["Verde"] = Color3.new(0,1,0),
  994.     ["Vermelho"] = Color3.new(1,0,0),
  995.     ["Azul"] = Color3.new(0,0,1),
  996.     ["Amarelo"] = Color3.new(1,1,0),
  997.     ["Roxo"] = Color3.new(0.6,0,1),
  998.     ["Laranja"] = Color3.new(1,0.5,0),
  999.     ["Rosa"] = Color3.new(1,0.4,0.7),
  1000.     ["Branco"] = Color3.new(1,1,1),
  1001.     ["Rainbow"] = "rainbow"
  1002. }
  1003.  
  1004. local function CreateFPSCounter()
  1005.     local sg = Instance.new("ScreenGui"); sg.Name = "FPSCounter"; sg.Parent = game.CoreGui; sg.ResetOnSpawn = false
  1006.     local f = Instance.new("Frame"); f.Size = UDim2.new(0,120,0,40); f.Position = UDim2.new(0.01,0,0.95,0)
  1007.     f.BackgroundTransparency = 0.7; f.BackgroundColor3 = Color3.new(0,0,0); f.BorderSizePixel = 2
  1008.     local color = ColorMap[FPSColor]; f.BorderColor3 = (color=="rainbow") and Color3.new(1,1,1) or (color or Color3.new(0,1,0))
  1009.     f.Parent = sg; FPSFrame = f
  1010.     local l = Instance.new("TextLabel"); l.Size = UDim2.new(1,0,1,0); l.BackgroundTransparency = 1; l.Text = "FPS: 0"
  1011.     l.Font = Enum.Font.GothamBold; l.TextScaled = true; l.TextColor3 = (color=="rainbow") and Color3.new(1,1,1) or (color or Color3.new(0,1,0))
  1012.     l.Parent = f; FPSLabel = l; FPSCounter = sg
  1013.     local frames, lastTime = 0, tick()
  1014.     RunService.RenderStepped:Connect(function()
  1015.         if not FPSEnabled then if FPSCounter then FPSCounter:Destroy(); FPSCounter=nil; FPSLabel=nil; FPSFrame=nil end return end
  1016.         frames = frames + 1
  1017.         if tick() - lastTime >= 1 then
  1018.             FPSLabel.Text = "FPS: " .. frames
  1019.             local color = ColorMap[FPSColor]
  1020.             if color == "rainbow" then color = Color3.fromHSV((tick()%2)/2,1,1) end
  1021.             if color then FPSLabel.TextColor3 = color; FPSFrame.BorderColor3 = color end
  1022.             frames = 0; lastTime = tick()
  1023.         end
  1024.     end)
  1025. end
  1026.  
  1027. PerformanceTab:CreateDropdown({
  1028.     Name = "Cor do FPS",
  1029.     Options = {"Verde", "Vermelho", "Azul", "Amarelo", "Roxo", "Laranja", "Rosa", "Branco", "Rainbow"},
  1030.     CurrentOption = "Verde",
  1031.     Flag = "FPSColor",
  1032.     Callback = function(Option)
  1033.         FPSColor = Option
  1034.         if FPSLabel and FPSFrame then
  1035.             local color = ColorMap[Option]
  1036.             if color and color ~= "rainbow" then FPSLabel.TextColor3 = color; FPSFrame.BorderColor3 = color
  1037.             else FPSLabel.TextColor3 = Color3.new(1,1,1); FPSFrame.BorderColor3 = Color3.new(1,1,1) end
  1038.         end
  1039.     end
  1040. })
  1041. PerformanceTab:CreateToggle({
  1042.     Name = "Show FPS",
  1043.     CurrentValue = false,
  1044.     Flag = "ShowFPS",
  1045.     Callback = function(Value)
  1046.         FPSEnabled = Value
  1047.         if Value then if not FPSCounter then CreateFPSCounter() end else if FPSCounter then FPSCounter:Destroy(); FPSCounter=nil; FPSLabel=nil; FPSFrame=nil end end
  1048.     end
  1049. })
  1050.  
  1051. -- ==================== RESET ====================
  1052. PerformanceTab:CreateButton({
  1053.     Name = "Resetar Configurações",
  1054.     Callback = function()
  1055.         Camera.FieldOfView = 70
  1056.         if FPSLockConnection then FPSLockConnection:Disconnect(); FPSLockConnection = nil end
  1057.         LockFPSEnabled = false; UnlimitedZoom = false
  1058.         if isShooting then Mouse1Up(); isShooting = false end
  1059.         if isClicking then Mouse1Up(); isClicking = false end
  1060.         CustomNotify("Configurações resetadas!", Color3.new(0,1,0))
  1061.     end
  1062. })
  1063.  
  1064. -- ==================== ANTI-DETECT ====================
  1065. print("Anti-Detect Active: System_Process_" .. math.random(1000,9999))
  1066. CustomNotify("MkNewHack [Turbo] carregado! Fly rápido, Aimbot grudado, Auto Farm e Clicker.", Color3.new(0,1,0))
Tags: Script Cheats
Advertisement
Add Comment
Please, Sign In to add comment