local active = true local trueActive = true local reachType = "Sphere" local dmgEnabled = true local visualizerEnabled = false local visualizer = Instance.new("Part") visualizer.BrickColor = BrickColor.Blue() visualizer.Transparency = 0.6 visualizer.Anchored = true visualizer.CanCollide = false visualizer.Size = Vector3.new(0.5,0.5,0.5) visualizer.BottomSurface = Enum.SurfaceType.Smooth visualizer.TopSurface = Enum.SurfaceType.Smooth local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local TextBox = Instance.new("TextBox") local TextLabel_2 = Instance.new("TextLabel") local TextLabel_3 = Instance.new("TextLabel") local TextLabel_4 = Instance.new("TextLabel") local TextButton = Instance.new("TextButton") local Frame_2 = Instance.new("Frame") local Frame_3 = Instance.new("Frame") local Frame_4 = Instance.new("Frame") local Frame_5 = Instance.new("Frame") local TextButton_2 = Instance.new("TextButton") --Properties: ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.DisplayOrder = 999999999 ScreenGui.ResetOnSpawn = false Frame.Parent = ScreenGui Frame.AnchorPoint = Vector2.new(0, 0.5) Frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45) Frame.BackgroundTransparency = 0 Frame.BorderColor3 = Color3.fromRGB(0, 0, 0) Frame.BorderSizePixel = 4 Frame.Position = UDim2.new(0, 0, 0.600000024, 0) Frame.Size = UDim2.new(0.150000006, 0, 0.300000012, 0) TextLabel.Parent = Frame TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel.BackgroundTransparency = 1.000 TextLabel.Size = UDim2.new(0.600000024, 0, 0.200000003, 0) TextLabel.Font = Enum.Font.SourceSans TextLabel.Text = "Reach:" TextLabel.TextColor3 = Color3.fromRGB(255,255, 255) TextLabel.TextScaled = true TextLabel.TextSize = 14.000 TextLabel.TextWrapped = true TextBox.Parent = Frame TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextBox.BackgroundTransparency = 1.000 TextBox.Position = UDim2.new(0.600000024, 0, 0, 0) TextBox.Size = UDim2.new(0.400000006, 0, 0.200000003, 0) TextBox.Font = Enum.Font.SourceSans TextBox.Text = "3.5" TextBox.TextColor3 = Color3.fromRGB(0,0,255) TextBox.TextScaled = true TextBox.TextSize = 14.000 TextBox.TextWrapped = true TextLabel_2.Parent = Frame TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel_2.BackgroundTransparency = 1.000 TextLabel_2.Position = UDim2.new(0, 0, 0.200000003, 0) TextLabel_2.Size = UDim2.new(0.600000024, 0, 0.200000003, 0) TextLabel_2.Font = Enum.Font.SourceSans TextLabel_2.Text = "Shape:" TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel_2.TextScaled = true TextLabel_2.TextSize = 14.000 TextLabel_2.TextWrapped = true TextLabel_3.Parent = Frame TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel_3.BackgroundTransparency = 1.000 TextLabel_3.Position = UDim2.new(0, 0, 0.400000006, 0) TextLabel_3.Size = UDim2.new(0.600000024, 0, 0.200000003, 0) TextLabel_3.Font = Enum.Font.SourceSans TextLabel_3.Text = "Damage:" TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel_3.TextScaled = true TextLabel_3.TextSize = 14.000 TextLabel_3.TextWrapped = true TextLabel_4.Parent = Frame TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel_4.BackgroundTransparency = 1.000 TextLabel_4.Position = UDim2.new(0, 0, 0.600000024, 0) TextLabel_4.Size = UDim2.new(0.600000024, 0, 0.200000003, 0) TextLabel_4.Font = Enum.Font.SourceSans TextLabel_4.Text = "Visualizer:" TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel_4.TextScaled = true TextLabel_4.TextSize = 14.000 TextLabel_4.TextWrapped = true TextButton.Parent = Frame TextButton.AnchorPoint = Vector2.new(0, 1) TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextButton.BackgroundTransparency = 1.000 TextButton.Position = UDim2.new(0, 0, 1, 0) TextButton.Size = UDim2.new(1, 0, 0.150000006, 0) TextButton.Font = Enum.Font.SourceSansBold TextButton.Text = "Closet X (R to close GUI)" TextButton.TextColor3 = Color3.fromRGB(0, 0, 255) TextButton.TextScaled = true TextButton.TextSize = 14.000 TextButton.TextWrapped = true Frame_2.Parent = Frame Frame_2.Active = true Frame_2.AnchorPoint = Vector2.new(0, 0.5) Frame_2.BackgroundColor3 = Color3.fromRGB(31, 31, 31) Frame_2.BorderSizePixel = 0 Frame_2.Position = UDim2.new(0.725000024, 0, 0.699999988, 0) Frame_2.Size = UDim2.new(0, 25, 0, 25) Frame_2.ZIndex = 5 Frame_3.Parent = Frame_2 Frame_3.AnchorPoint = Vector2.new(0.5, 0.5) Frame_3.BackgroundColor3 = Color3.fromRGB(0,0,255) Frame_3.BorderSizePixel = 0 Frame_3.LayoutOrder = 1 Frame_3.Position = UDim2.new(0.5, 0, 0.5, 0) Frame_4.Parent = Frame Frame_4.Active = true Frame_4.AnchorPoint = Vector2.new(0, 0.5) Frame_4.BackgroundColor3 = Color3.fromRGB(31, 31, 31) Frame_4.BorderSizePixel = 0 Frame_4.Position = UDim2.new(0.725000024, 0, 0.5, 0) Frame_4.Size = UDim2.new(0, 25, 0, 25) Frame_4.ZIndex = 5 Frame_5.Parent = Frame_4 Frame_5.AnchorPoint = Vector2.new(0.5, 0.5) Frame_5.BackgroundColor3 = Color3.fromRGB(0,0,255) Frame_5.BorderSizePixel = 0 Frame_5.LayoutOrder = 1 Frame_5.Position = UDim2.new(0.5, 0, 0.5, 0) Frame_5.Size = UDim2.new(1, 0, 1, 0) TextButton_2.Parent = Frame TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextButton_2.BackgroundTransparency = 1.000 TextButton_2.Position = UDim2.new(0.600000024, 0, 0.200000003, 0) TextButton_2.Size = UDim2.new(0.400000006, 0, 0.200000003, 0) TextButton_2.Font = Enum.Font.SourceSans TextButton_2.Text = "Sphere" TextButton_2.TextColor3 = Color3.fromRGB(0,0,255) TextButton_2.TextScaled = true TextButton_2.TextSize = 14.000 TextButton_2.TextWrapped = true repeat wait() until game.Players.LocalPlayer ScreenGui.Parent = game:GetService("CoreGui") Frame_4.InputBegan:connect(function(inp) if inp.UserInputType == Enum.UserInputType.MouseButton1 then dmgEnabled = not dmgEnabled local goal = {Size = UDim2.new(0,0,0,0)} if dmgEnabled then goal = {Size = UDim2.new(1,0,1,0)} end game:GetService("TweenService"):Create(Frame_5,TweenInfo.new(0.12,Enum.EasingStyle.Quad),goal):Play() end end) Frame_2.InputBegan:connect(function(inp) if inp.UserInputType == Enum.UserInputType.MouseButton1 then visualizerEnabled = not visualizerEnabled local goal = {Size = UDim2.new(0,0,0,0)} if visualizerEnabled then goal = {Size = UDim2.new(1,0,1,0)} end game:GetService("TweenService"):Create(Frame_3,TweenInfo.new(0.12,Enum.EasingStyle.Linear),goal):Play() end end) TextButton_2.MouseButton1Click:connect(function() if reachType == "Sphere" then reachType = "Line" else reachType = "Sphere" end TextButton_2.Text = reachType end) TextButton.MouseButton1Click:connect(function() trueActive = false ScreenGui:Destroy() end) game:GetService("UserInputService").InputBegan:connect(function(inp,gpe) if gpe then return end if inp.KeyCode == Enum.KeyCode.R then ScreenGui.Enabled = not ScreenGui.Enabled end end) local plr = game.Players.LocalPlayer local function onHit(hit,handle) local victim = hit.Parent:FindFirstChildOfClass("Humanoid") if victim and victim.Parent.Name ~= game.Players.LocalPlayer.Name then if dmgEnabled then for _,v in pairs(hit.Parent:GetChildren()) do if v:IsA("Part") then firetouchinterest(v,handle,0) firetouchinterest(v,handle,1) end end else firetouchinterest(hit,handle,0) firetouchinterest(hit,handle,1) end end end local function getWhiteList() local wl = {} for _,v in pairs(game.Players:GetPlayers()) do if v ~= plr then local char = v.Character if char then for _,q in pairs(char:GetChildren()) do if q:IsA("Part") then table.insert(wl,q) end end end end end return wl end game:GetService("RunService").RenderStepped:connect(function() if not active or not trueActive then return end local s = plr.Character and plr.Character:FindFirstChildOfClass("Tool") if not s then visualizer.Parent = nil end if s then local handle = s:FindFirstChild("Handle") or s:FindFirstChildOfClass("Part") if handle then if visualizerEnabled then visualizer.Parent = workspace else visualizer.Parent = nil end local reach = tonumber(TextBox.Text) if reach then if reachType == "Sphere" then visualizer.Shape = Enum.PartType.Ball visualizer.Material = Enum.Material.ForceField visualizer.Transparency = 0 visualizer.Size = Vector3.new(reach,reach,reach) visualizer.CFrame = handle.CFrame for _,v in pairs(game.Players:GetPlayers()) do local hrp = v.Character and v.Character:FindFirstChild("HumanoidRootPart") if hrp and handle then local mag = (hrp.Position-handle.Position).magnitude if mag <= reach then onHit(hrp,handle) end end end elseif reachType == "Line" then local origin = (handle.CFrame*CFrame.new(0,0,-2)).p local ray = Ray.new(origin,handle.CFrame.lookVector*-reach) local p,pos = workspace:FindPartOnRayWithWhitelist(ray,getWhiteList()) visualizer.Shape = Enum.PartType.Block visualizer.Size = Vector3.new(1,0.8,reach) visualizer.CFrame = handle.CFrame*CFrame.new(0,0,(reach/2)+2) if p then onHit(p,handle) else for _,v in pairs(handle:GetTouchingParts()) do onHit(v,handle) end end end end end end end) Script #2 --//Lazy code and messy local run = function(a,Called) local Error,Value = pcall(function() coroutine.wrap(a)(Called) end) coroutine.wrap(function() if Value and Error == false then warn("Error at: "..tostring(Value)) end end)() end local Menus = {} local UserInputService = game:GetService("UserInputService") local States = { AutoAim = false, } --//https://create.roblox.com/docs/reference/engine/classes/UserInputService? local UserInputService = game:GetService("UserInputService") local function onInputBegan(input, _gameProcessed) if input.KeyCode == Enum.KeyCode.RightShift then States.AutoAim = not States.AutoAim end end UserInputService.InputBegan:Connect(onInputBegan) function GetChars() local chars = {} for i,v in pairs(game:GetService("Players"):GetPlayers()) do if v and v ~= game.Players.LocalPlayer then chars[#chars+1] = v.Character end end return chars end function findNearestPlayer(Position) local List = GetChars() local Torso = nil local Distance = 15 local Temp = nil local Human = nil local Temp2 = nil for x = 1, #List do Temp2 = List[x] if (Temp2.className == "Model") and (Temp2 ~= script.Parent) then Temp = Temp2:findFirstChild("HumanoidRootPart") Human = Temp2:findFirstChild("Humanoid") if (Temp ~= nil) and (Human ~= nil) and (Human.Health > 0) then if (Temp.Position - Position).magnitude < Distance then Torso = Temp Distance = (Temp.Position - Position).magnitude end end end end return Torso end local Player = game.Players.LocalPlayer local Character = Player.Character local Mouse = Player:GetMouse() local RunService = game:GetService("RunService") local ta = {0,0} local Root = game.Players.LocalPlayer.Character.HumanoidRootPart local RootPos, MousePos = Root.Position, findNearestPlayer(Root.Position) RunService.RenderStepped:Connect(function() if States.AutoAim then RootPos, MousePos = Root.Position, findNearestPlayer(Root.Position) if MousePos then Root.CFrame = CFrame.new(RootPos, Vector3.new(MousePos.Position.X, RootPos.Y, MousePos.Position.Z)) end end end) local stop = false local cd1 = false local startbypass = false local changecd = false task.spawn(function() while true do task.wait() if States.AutoAim then if MousePos and RootPos then task.spawn(function() if not changecd then changecd = true if ta[1] == -3 then ta[1] = 3 else ta[1] = -3 end if ta[2] == -1.7 then ta[2] = 1.7 else ta[2] = -1.7 end wait() changecd = false end end) if MousePos and States.AutoAim then Root.CFrame = MousePos.CFrame+Vector3.new(ta[1],0,ta[2]) else ta[1]=0 ta[2]=0 end end end end end)