local _RunService = game:GetService('RunService') local _ReplicatedStorage = game:GetService('ReplicatedStorage') local v3 if _RunService:IsStudio() then v3 = require(_ReplicatedStorage.ImGui) else v3 = loadstring(game:HttpGet('https://github.com/depthso/Roblox-ImGUI/raw/main/ImGui.lua'))() end local u10 = { Enable = function() getgenv().SilentAimSettings.Enabled = true end, Disable = function() getgenv().SilentAimSettings.Enabled = false end, SetFOV = function(p4) getgenv().SilentAimSettings.FOVRadius = p4 end, SetHitChance = function(p5) getgenv().SilentAimSettings.HitChance = p5 end, SetTargetPart = function(p6) getgenv().SilentAimSettings.TargetPart = p6 end, SetTeamCheck = function(p7) getgenv().SilentAimSettings.TeamCheck = p7 end, SetVisibleCheck = function(p8) getgenv().SilentAimSettings.VisibleCheck = p8 end, SetAliveCheck = function(p9) getgenv().SilentAimSettings.AliveCheck = p9 end, } getgenv().SilentAimSettings = { Enabled = false, TeamCheck = false, VisibleCheck = false, AliveCheck = true, TargetPart = 'Head', FOVRadius = 120, HitChance = 100, } local u11 = { Players = game:GetService('Players'), RunService = game:GetService('RunService'), UserInputService = game:GetService('UserInputService'), Camera = workspace.CurrentCamera, } local _RunService2 = u11.RunService local _UserInputService = u11.UserInputService local _Camera = u11.Camera local _LocalPlayer = u11.Players.LocalPlayer local u16 = { 'Head', 'HumanoidRootPart', } local function u20(p17) local v18, v19 = _Camera:WorldToScreenPoint(p17) return Vector2.new(v18.X, v18.Y), v19 end local function u23(p21, p22) return (p22 - p21).Unit end local function u24() return _UserInputService:GetMouseLocation() end local function u26(p25) return p25.Team == _LocalPlayer.Team end local function u31(p27) local _Character = p27.Character local _Character2 = _LocalPlayer.Character if _Character and _Character2 then local v30 = _Character:FindFirstChild('Head') or _Character:FindFirstChild('HumanoidRootPart') if v30 then return #_Camera:GetPartsObscuringTarget({ v30.Position, _Character2, _Character, }, {_Character2, _Character}) == 0 else return false end else return false end end local function u53() local _TargetPart = getgenv().SilentAimSettings.TargetPart local _FOVRadius = getgenv().SilentAimSettings.FOVRadius local _VisibleCheck = getgenv().SilentAimSettings.VisibleCheck local _AliveCheck = getgenv().SilentAimSettings.AliveCheck local _TeamCheck = getgenv().SilentAimSettings.TeamCheck local v37 = u24() local v38, v39, v40 = pairs(u11.Players:GetPlayers()) local v41 = nil local v42 = nil local v43 = nil while true do local v44 v40, v44 = v38(v39, v40) if v40 == nil then break end if v44 ~= _LocalPlayer and not (_TeamCheck and u26(v44)) and (not _VisibleCheck or u31(v44)) then local _Character3 = v44.Character if _Character3 then local _HumanoidRootPart = _Character3:FindFirstChild('HumanoidRootPart') local _Humanoid = _Character3:FindFirstChild('Humanoid') if _HumanoidRootPart and (_Humanoid and (not _AliveCheck or _Humanoid.Health > 0)) then local v48, v49 = u20(_HumanoidRootPart.Position) if v49 then local _Magnitude = (v37 - v48).Magnitude if _Magnitude <= (v41 or _FOVRadius) then local v51 if _TargetPart == 'Random' then v51 = u16[math.random(1, #u16)] or _TargetPart else v51 = _TargetPart end local v52 = _Character3:FindFirstChild(v51) if v52 then v43 = v44 v42 = v52 v41 = _Magnitude end end end end end end end return v42, v43 end local function u55(p54) return math.random() * 100 <= p54 end local u56 = nil _RunService2.Heartbeat:Connect(function() if getgenv().SilentAimSettings.Enabled then u56 = u53() else u56 = nil end end) local u57 = nil u57 = hookmetamethod(game, '__namecall', newcclosure(function(...) local v58 = getnamecallmethod() local v59 = {...} local v60 = v59[1] if v58 ~= 'Destroy' or v60 ~= _LocalPlayer then if ({})[v58] then return u57(...) end local v61 = u55(getgenv().SilentAimSettings.HitChance) if not getgenv().SilentAimSettings.Enabled or (not v61 or checkcaller()) then return u57(...) end local v62 = v58 == 'FindPartOnRayWithIgnoreList' and u56 if not v62 then return u57(...) end local v63 = v59[2] if typeof(v63) == 'Ray' then local _Origin = v63.Origin if false then _Origin = (v62.CFrame * CFrame.new(0, 0, 1)).Position end local v65 = u23(_Origin, v62.Position) * 1000 v59[2] = Ray.new(_Origin, v65) end return u57(unpack(v59)) end end)) local u66 = nil local u67 = nil local u68 = false local function u75() local _LocalPlayer2 = game:GetService('Players').LocalPlayer local _FOVCircle = _LocalPlayer2:FindFirstChild('PlayerGui'):FindFirstChild('FOVCircle') if not _FOVCircle then _FOVCircle = Instance.new('ScreenGui') _FOVCircle.Name = 'FOVCircle' _FOVCircle.Parent = _LocalPlayer2.PlayerGui end u66 = _FOVCircle:FindFirstChild('FOVCircleFrame') if not u66 then u66 = Instance.new('Frame') u66.Name = 'FOVCircleFrame' u66.Size = UDim2.new(0, 100, 0, 100) u66.Position = UDim2.new(0.5, -50, 0.5, -50) u66.BackgroundColor3 = Color3.fromRGB(0, 0, 0) u66.BackgroundTransparency = 1 u66.Parent = _FOVCircle end if not u66:FindFirstChild('UIStroke') then local _UIStroke = Instance.new('UIStroke') _UIStroke.Color = Color3.fromRGB(0, 0, 0) _UIStroke.Thickness = 2 _UIStroke.Parent = u66 end if not u66:FindFirstChild('UICorner') then local _UICorner = Instance.new('UICorner') _UICorner.CornerRadius = UDim.new(1, 0) _UICorner.Parent = u66 end u67 = _FOVCircle:FindFirstChild('InnerFOVCircleFrame') if not u67 then u67 = Instance.new('Frame') u67.Name = 'InnerFOVCircleFrame' u67.Size = UDim2.new(0, 98, 0, 98) u67.Position = UDim2.new(0.5, -49, 0.5, -49) u67.BackgroundColor3 = Color3.fromRGB(255, 255, 255) u67.BackgroundTransparency = 1 u67.Parent = _FOVCircle end if not u67:FindFirstChild('UIStroke') then local _UIStroke2 = Instance.new('UIStroke') _UIStroke2.Color = Color3.fromRGB(255, 255, 255) _UIStroke2.Thickness = 2 _UIStroke2.Parent = u67 end if not u67:FindFirstChild('UICorner') then local _UICorner2 = Instance.new('UICorner') _UICorner2.CornerRadius = UDim.new(1, 0) _UICorner2.Parent = u67 end u68 = true end local function u76() if u66 then u66:Destroy() u66 = nil end if u67 then u67:Destroy() u67 = nil end u68 = false end local function u79() if u68 then local v77 = (getgenv().SilentAimSettings.FOVRadius or 120) * 2 local v78 = v77 < 10 and 10 or v77 if u66 then u66.Size = UDim2.new(0, v78, 0, v78) u66.Position = UDim2.new(0.5, -v78 / 2, 0.5, -v78 / 2) end if u67 then u67.Size = UDim2.new(0, v78 - 2, 0, v78 - 2) u67.Position = UDim2.new(0.5, -(v78 - 2) / 2, 0.5, -(v78 - 2) / 2) end end end local v80 = v3:CreateWindow({ Title = 'Counter Blox HvH', Size = UDim2.new(0, 350, 0, 300), Position = UDim2.new(0.5, 0, 0, 70), }) v80:Center() local v81 = v80:CreateTab({ Name = 'Aim Assist', }) v81:Checkbox({ Label = 'Silent Aim', Value = false, }).Callback = function(_, p82) if p82 then u10.Enable() else u10.Disable() u76() end end local u83 = false local u84 = nil local u85 = nil local u86 = nil local u87 = nil local u88 = 0 local u89 = 0.1 local function u93(p90) local _Character4 = p90.Character if _Character4 then local _Head = _Character4:FindFirstChild('Head') if _Head then return #_Camera:GetPartsObscuringTarget({ _Head.Position, _LocalPlayer.Character.Head.Position, }, { _LocalPlayer.Character, _Character4, }) == 0 else return false end else return false end end local function u95(p94) return p94.Team == _LocalPlayer.Team end local function u102() local v96, v97, v98 = pairs(u11.Players:GetPlayers()) while true do local v99 v98, v99 = v96(v97, v98) if v98 == nil then break end if v99 ~= _LocalPlayer and not u95(v99) then local _Character5 = v99.Character if _Character5 then local _Humanoid2 = _Character5:FindFirstChild('Humanoid') if _Humanoid2 and (_Humanoid2.Health > 0 and (_Character5:FindFirstChild('Head') and u93(v99))) then return v99 end end end end return nil end local function u103() if u85 and (u86 and u87) then if u87 and u87.Health > 0 then if u93(u85) then if u95(u85) then u85 = nil u86 = nil u87 = nil elseif u89 <= tick() - u88 then mouse1press() wait(0.01) mouse1release() u88 = tick() end else u85 = nil u86 = nil u87 = nil return end else u85 = nil u86 = nil u87 = nil return end else return end end local function u105() if u83 then u84 = _RunService2.Heartbeat:Connect(function() if u85 and (u86 and u87) then u103() else local v104 = u102() if v104 then u85 = v104 u86 = u85.Character u87 = u86:FindFirstChild('Humanoid') end end end) end end local function u106() if u84 then u84:Disconnect() u84 = nil end u85 = nil u86 = nil u87 = nil u88 = 0 end v81:Checkbox({ Label = 'Auto Fire', Value = false, }).Callback = function(_, p107) u83 = p107 if p107 then u105() else u106() end end v81:Checkbox({ Label = 'Team Check', Value = false, }).Callback = function(_, p108) u10.SetTeamCheck(p108) end v81:Checkbox({ Label = 'Visibility Check', Value = false, }).Callback = function(_, p109) u10.SetVisibleCheck(p109) end v81:Combo({ Label = 'Bone', Items = { Head = 'Head', Torso = 'HumanoidRootPart', }, Selected = 'Head', }).Callback = function(_, p110) u10.SetTargetPart(p110) end v81:ProgressSlider({ Label = 'FOV', Value = 120, MinValue = 1, MaxValue = 1000, Fill = true, }).Callback = function(_, p111) u10.SetFOV(p111) u79() end v81:ProgressSlider({ Label = 'Hit Chance', Value = 100, MinValue = 1, MaxValue = 100, Fill = true, }).Callback = function(_, p112) u10.SetHitChance(p112) end v81:Checkbox({ Label = 'Show FOV', Value = false, }).Callback = function(_, p113) if p113 then u75() u79() else u76() end end local v114 = v80:CreateTab({ Name = 'Visuals', }) local u115 = false local u116 = nil local u117 = {} local function u120(p118) local _LocalPlayer3 = game:GetService('Players').LocalPlayer return p118.TeamColor.Color or (_LocalPlayer3.TeamColor == p118.TeamColor and Color3.fromRGB(0, 0, 255) or Color3.fromRGB(255, 0, 0)) end local function u131(p121) local _Character6 = p121.Character if _Character6 and _Character6:FindFirstChild('Head') then local _Head2 = _Character6.Head local _NameESP = _Head2:FindFirstChild('NameESP') if not _NameESP then _NameESP = Instance.new('BillboardGui') _NameESP.Name = 'NameESP' _NameESP.Size = UDim2.new(0, 200, 0, 50) _NameESP.AlwaysOnTop = true local _TextLabel = Instance.new('TextLabel') _TextLabel.Name = 'NameLabel' _TextLabel.BackgroundTransparency = 1 _TextLabel.Size = UDim2.new(1, 0, 1, 0) _TextLabel.Font = Enum.Font.SourceSansBold _TextLabel.TextSize = 16 _TextLabel.TextStrokeTransparency = 0.5 _TextLabel.Parent = _NameESP _NameESP.Parent = _Head2 u117[p121] = _NameESP end local _NameLabel = _NameESP:FindFirstChild('NameLabel') if _NameLabel then local v127 = not (game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('HumanoidRootPart')) and 0 or (game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position - _Head2.Position).magnitude local _Humanoid3 = _Character6:FindFirstChild('Humanoid') local v129 = not _Humanoid3 and 100 or _Humanoid3.Health local _DisplayName = p121.DisplayName _NameLabel.Text = string.format('[%d HP] %s [%dm]', v129, _DisplayName, math.floor(v127)) _NameLabel.TextColor3 = u120(p121) _NameLabel.Visible = u115 _NameESP.StudsOffset = Vector3.new(0, 2 + math.clamp(v127 / 50, 0, 5), 0) end end end local function u136() if u115 then local v132, v133, v134 = ipairs(game:GetService('Players'):GetPlayers()) while true do local v135 v134, v135 = v132(v133, v134) if v134 == nil then break end if v135 ~= game:GetService('Players').LocalPlayer and v135.Character then u131(v135) end end end end local function u142(p137) u115 = p137 if p137 then u136() if not u116 then u116 = _RunService2.Heartbeat:Connect(u136) end else if u116 then u116:Disconnect() u116 = nil end local v138, v139, v140 = pairs(u117) while true do local v141 v140, v141 = v138(v139, v140) if v140 == nil then break end if v141 and v141.Parent then v141:Destroy() end end u117 = {} end end v114:Checkbox({ Label = 'ESP Name', Value = false, }).Callback = function(_, p143) u142(p143) end local u144 = false local u145 = nil local u146 = {} local function u156(p147) local _Character7 = p147.Character if _Character7 and _Character7:FindFirstChild('HumanoidRootPart') then local _HumanoidRootPart2 = _Character7.HumanoidRootPart local _WeaponESP = _HumanoidRootPart2:FindFirstChild('WeaponESP') if not _WeaponESP then _WeaponESP = Instance.new('BillboardGui') _WeaponESP.Name = 'WeaponESP' _WeaponESP.Size = UDim2.new(0, 200, 0, 50) _WeaponESP.AlwaysOnTop = true local _TextLabel2 = Instance.new('TextLabel') _TextLabel2.Name = 'WeaponLabel' _TextLabel2.BackgroundTransparency = 1 _TextLabel2.Size = UDim2.new(1, 0, 1, 0) _TextLabel2.Font = Enum.Font.SourceSansBold _TextLabel2.TextSize = 16 _TextLabel2.TextStrokeTransparency = 0.5 _TextLabel2.Parent = _WeaponESP _WeaponESP.Parent = _HumanoidRootPart2 u146[p147] = _WeaponESP end local _WeaponLabel = _WeaponESP:FindFirstChild('WeaponLabel') if _WeaponLabel then local v153 = not (game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('HumanoidRootPart')) and 0 or (game:GetService('Players').LocalPlayer.Character.HumanoidRootPart.Position - _HumanoidRootPart2.Position).magnitude local v154 = 'None' local v155 = _Character7:FindFirstChild('Tool') or _Character7:FindFirstChild('EquippedTool') if v155 and v155:IsA('StringValue') then v154 = v155.Value elseif v155 and v155:IsA('Tool') then v154 = v155.Name end _WeaponLabel.Text = v154 _WeaponLabel.TextColor3 = Color3.fromRGB(255, 255, 255) _WeaponLabel.Visible = u144 _WeaponESP.StudsOffset = Vector3.new(0, -2 - math.clamp(v153 / 50, 0, 5), 0) end end end local function u161() if u144 then local v157, v158, v159 = ipairs(game:GetService('Players'):GetPlayers()) while true do local v160 v159, v160 = v157(v158, v159) if v159 == nil then break end if v160 ~= game:GetService('Players').LocalPlayer and v160.Character then u156(v160) end end end end local function u167(p162) u144 = p162 if p162 then u161() if not u145 then u145 = _RunService2.Heartbeat:Connect(u161) end else if u145 then u145:Disconnect() u145 = nil end local v163, v164, v165 = pairs(u146) while true do local v166 v165, v166 = v163(v164, v165) if v165 == nil then break end if v166 and v166.Parent then v166:Destroy() end end u146 = {} end end v114:Checkbox({ Label = 'ESP Weapon', Value = false, }).Callback = function(_, p168) u167(p168) end local u169 = false local u170 = nil local u171 = Color3.fromRGB(255, 255, 255) local function u179() if u169 then local _Camera2 = workspace:FindFirstChild('Camera') if _Camera2 then _Camera2 = workspace.Camera:FindFirstChild('Arms') end if _Camera2 then local function u178(p173) local v174, v175, v176 = pairs(p173:GetChildren()) while true do local v177 v176, v177 = v174(v175, v176) if v176 == nil then break end if v177:IsA('BasePart') then if not v177.Parent or v177.Parent.Name ~= 'IDFArms' then v177.Material = Enum.Material.ForceField v177.BrickColor = BrickColor.White() v177.Color = u171 end elseif v177:IsA('Model') and v177.Name ~= 'IDFArms' then u178(v177) end end end u178(_Camera2) end else return end end local function u181(p180) u169 = p180 if p180 then u179() if not u170 then u170 = _RunService2.Heartbeat:Connect(u179) end elseif u170 then u170:Disconnect() u170 = nil end end v114:Checkbox({ Label = 'Custom Weapons', Value = false, }).Callback = function(_, p182) u181(p182) end local v183 = v114:Combo({ Label = 'Weapon Color', Selected = 'White', Items = { 'White', 'Red', 'Green', 'Blue', 'Yellow', 'Purple', 'Cyan', 'Orange', 'Pink', 'Brown', 'Black', }, }) local u184 = { White = Color3.fromRGB(255, 255, 255), Red = Color3.fromRGB(255, 0, 0), Green = Color3.fromRGB(0, 255, 0), Blue = Color3.fromRGB(0, 0, 255), Yellow = Color3.fromRGB(255, 255, 0), Purple = Color3.fromRGB(128, 0, 128), Cyan = Color3.fromRGB(0, 255, 255), Orange = Color3.fromRGB(255, 165, 0), Pink = Color3.fromRGB(255, 192, 203), Brown = Color3.fromRGB(165, 42, 42), Black = Color3.fromRGB(0, 0, 0), } function v183.Callback(_, p185) u171 = u184[p185] or Color3.fromRGB(255, 255, 255) if u169 then u179() end end local u186 = false local u187 = nil local u188 = {} local u189 = 0.7 local u190 = Color3.fromRGB(255, 255, 255) local function u195() local v191, v192, v193 = pairs(u188) while true do local v194 v193, v194 = v191(v192, v193) if v193 == nil then break end if v194 and v194.Parent then v194:Destroy() end end u188 = {} end local function u202(p196, p197) local v198, v199, v200 = pairs(u188) while true do local v201 v200, v201 = v198(v199, v200) if v200 == nil then break end if v201 and v201.Parent then v201.FillColor = p197 v201.FillTransparency = p196 end end end local function u215(_, p203) local _Highlight = p203:FindFirstChild('Highlight') if _Highlight then local v205, v206, v207 = pairs(_Highlight:GetChildren()) local v208 = {} while true do local v209 v207, v209 = v205(v206, v207) if v207 == nil then break end if v209:IsA('Highlight') then table.insert(v208, v209) end end for v210 = 1, #v208 - 1 do v208[v210]:Destroy() end if #v208 > 0 then local v211 = v208[#v208] v211.FillColor = u190 v211.FillTransparency = u189 return v211 end else local _Folder = Instance.new('Folder') _Folder.Name = 'Highlight' _Folder.Parent = p203 end local _Highlight2 = p203:FindFirstChild('Highlight') if not _Highlight2 then _Highlight2 = Instance.new('Folder') _Highlight2.Name = 'Highlight' _Highlight2.Parent = p203 end local _Highlight3 = Instance.new('Highlight') _Highlight3.FillColor = u190 _Highlight3.FillTransparency = u189 _Highlight3.OutlineColor = u190 _Highlight3.OutlineTransparency = 1 _Highlight3.Enabled = true _Highlight3.Adornee = p203 _Highlight3.Parent = _Highlight2 table.insert(u188, _Highlight3) return _Highlight3 end local function u230() if u186 then local _LocalPlayer4 = game:GetService('Players').LocalPlayer if not _LocalPlayer4.Character then _LocalPlayer4.CharacterAdded:Wait() end local v217, v218, v219 = pairs(game:GetService('Players'):GetPlayers()) while true do local v220 v219, v220 = v217(v218, v219) if v219 == nil then break end if v220 ~= _LocalPlayer4 and v220.Character then local _Character8 = v220.Character local v222, v223, v224 = pairs(_Character8:GetChildren()) while true do local v225 v224, v225 = v222(v223, v224) if v224 == nil then break end if v225:IsA('BasePart') and v225.Name ~= 'HumanoidRootPart' then u215(v220, v225) end end local v226, v227, v228 = pairs(_Character8:GetChildren()) while true do local v229 v228, v229 = v226(v227, v228) if v228 == nil then break end if v229:IsA('Accessory') and v229:FindFirstChild('Handle') then u215(v220, v229.Handle) end end end end end end v114:Checkbox({ Label = 'Chams', Value = false, }).Callback = function(_, p231) u186 = p231 if p231 then u230() if not u187 then u187 = _RunService2.Heartbeat:Connect(u230) end else if u187 then u187:Disconnect() u187 = nil end u195() end end v114:Slider({ Label = 'Transparency', Value = 0.7, MinValue = 0, MaxValue = 1, Step = 0.1, }).Callback = function(_, p232) u189 = p232 if u186 then u202(u189, u190) end end v114:Combo({ Label = 'Chams Color', Selected = 'White', Items = { 'White', 'Red', 'Green', 'Blue', 'Yellow', 'Purple', 'Cyan', 'Orange', 'Pink', 'Brown', 'Black', }, }).Callback = function(_, p233) u190 = u184[p233] or Color3.fromRGB(255, 255, 255) if u186 then u202(u189, u190) end end local v234 = v80:CreateTab({ Name = 'Movement', }) local v235 = v234:Checkbox({ Label = 'Bhop', Value = false, }) v234:Label({ Text = '**Developed by @CowkaWare**', RichText = true, }) v234:Label({ Text = 'Helped by @originalimage', }) v234:Label({ Text = '**More Soon**', RichText = true, }) local u236 = false local u237 = nil local u238 = nil local u239 = nil local u240 = nil local u241 = false local function u246() if u236 then local _LocalPlayer5 = game:GetService('Players').LocalPlayer u240 = (_LocalPlayer5.Character or _LocalPlayer5.CharacterAdded:Wait()):WaitForChild('Humanoid') u238 = game:GetService('UserInputService').InputBegan:Connect(function(p243) if p243.KeyCode == Enum.KeyCode.Space then u241 = true end end) u239 = game:GetService('UserInputService').InputEnded:Connect(function(p244) if p244.KeyCode == Enum.KeyCode.Space then u241 = false end end) u237 = game:GetService('RunService').Heartbeat:Connect(function() if u241 and u240 then u240.Jump = not u240.Jump end local _Character9 = _LocalPlayer5.Character if _Character9 and (u236 and (u241 and u240)) and (u240:GetState() == Enum.HumanoidStateType.Freefall and u240.MoveDirection.Magnitude > 0) then _Character9:TranslateBy(u240.MoveDirection / 5.9) end end) end end local function u247() if u237 then u237:Disconnect() u237 = nil end if u238 then u238:Disconnect() u238 = nil end if u239 then u239:Disconnect() u239 = nil end u240 = nil u241 = false end function v235.Callback(_, p248) u236 = p248 if p248 then u246() else u247() end end game:GetService('Players').LocalPlayer.CharacterAdded:Connect(function(p249) if u236 then u240 = p249:WaitForChild('Humanoid') end end) _RunService2.Heartbeat:Connect(function() if u68 then u79() end end) v80:ShowTab(v81)