-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") _G.HunterConfig = _G.HunterConfig or { IS_ACTIVE = false, SELECTED_TARGET = nil } local cfg = _G.HunterConfig local myPlayer = Players.LocalPlayer _G.CurrentTargetHighlight = _G.CurrentTargetHighlight or Instance.new("Highlight") _G.CurrentTargetHighlight.Name = "SafeHunterTargetHighlight" _G.CurrentTargetHighlight.FillColor = Color3.fromRGB(255, 0, 0) _G.CurrentTargetHighlight.FillTransparency = 0.5 _G.CurrentTargetHighlight.OutlineColor = Color3.fromRGB(255, 255, 255) _G.CurrentTargetHighlight.OutlineTransparency = 0 local playerGui = myPlayer:WaitForChild("PlayerGui", 10) or myPlayer.PlayerGui if playerGui:FindFirstChild("SafeHunterGui") then playerGui.SafeHunterGui:Destroy() end local sg = Instance.new("ScreenGui") sg.Name = "SafeHunterGui" sg.ResetOnSpawn = false sg.DisplayOrder = 9999 sg.Parent = playerGui local mainFrame = Instance.new("Frame", sg) mainFrame.Size = UDim2.new(0, 240, 0, 240) mainFrame.Position = UDim2.new(0, 50, 0, 150) mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) mainFrame.BackgroundTransparency = 0.1 mainFrame.Active = true Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 8) local title = Instance.new("TextLabel", mainFrame) title.Size = UDim2.new(1, 0, 0, 25) title.Text = "CONSTANT ATTACK SNIPER v45" title.TextColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.SourceSansBold title.TextSize = 14 title.BackgroundTransparency = 1 local button = Instance.new("TextButton", mainFrame) button.Size = UDim2.new(1, -20, 0, 35) button.Position = UDim2.new(0, 10, 0, 30) button.BackgroundColor3 = Color3.fromRGB(150, 0, 0) button.Text = "SNIPER STATUS: OFF" button.TextColor3 = Color3.new(1,1,1) button.Font = Enum.Font.SourceSansBold button.TextSize = 14 Instance.new("UICorner", button).CornerRadius = UDim.new(0, 6) local targetLabel = Instance.new("TextLabel", mainFrame) targetLabel.Size = UDim2.new(1, -20, 0, 25) targetLabel.Position = UDim2.new(0, 10, 0, 70) targetLabel.Text = "TARGET: NONE" targetLabel.TextColor3 = Color3.fromRGB(255, 170, 0) targetLabel.Font = Enum.Font.SourceSans targetLabel.TextSize = 13 targetLabel.BackgroundTransparency = 1 local scrollList = Instance.new("ScrollingFrame", mainFrame) scrollList.Size = UDim2.new(1, -20, 0, 125) scrollList.Position = UDim2.new(0, 10, 0, 100) scrollList.BackgroundColor3 = Color3.fromRGB(10, 10, 10) scrollList.ScrollBarThickness = 6 local listLayout = Instance.new("UIListLayout", scrollList) listLayout.Padding = UDim.new(0, 4) local function refreshList() for _, child in ipairs(scrollList:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end for _, plr in ipairs(Players:GetPlayers()) do if plr ~= myPlayer then local pBtn = Instance.new("TextButton", scrollList) pBtn.Size = UDim2.new(1, 0, 0, 25) pBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30) pBtn.Text = plr.DisplayName or plr.Name pBtn.TextColor3 = Color3.new(1,1,1) pBtn.Font = Enum.Font.SourceSans pBtn.TextSize = 13 Instance.new("UICorner", pBtn).CornerRadius = UDim.new(0, 4) pBtn.MouseButton1Click:Connect(function() cfg.SELECTED_TARGET = plr targetLabel.Text = "TARGET: " .. pBtn.Text end) end end scrollList.CanvasSize = UDim2.new(0, 0, 0, listLayout.AbsoluteContentSize.Y + 10) end button.MouseButton1Click:Connect(function() cfg.IS_ACTIVE = not cfg.IS_ACTIVE button.Text = cfg.IS_ACTIVE and "SNIPER STATUS: ACTIVE" or "SNIPER STATUS: OFF" button.BackgroundColor3 = cfg.IS_ACTIVE and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(150, 0, 0) if not cfg.IS_ACTIVE then _G.CurrentTargetHighlight.Parent = nil end end) local function makeDraggable(gui) local dragging, dragInput, dragStart, startPos gui.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = gui.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) gui.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) end makeDraggable(mainFrame) refreshList() Players.PlayerAdded:Connect(refreshList) print("[Part 1] UI Panel Configured.") -- PART 2: SPAWN-DETECTOR & CONSTANT ATTACK ENGINE local Players = game:GetService("Players") local Workspace = game:GetService("Workspace") local RunService = game:GetService("RunService") local Stats = game:GetService("Stats") local myPlayer = Players.LocalPlayer local cfg = _G.HunterConfig _G.SniperLock = false local spawnFolder = Workspace:WaitForChild("Terrain"):WaitForChild("Spawn") local pvpCheckParams = OverlapParams.new() pvpCheckParams.FilterType = Enum.RaycastFilterType.Exclude local function isTrulyInPvp(targetChar) if not targetChar then return false end local hrp = targetChar:FindFirstChild("HumanoidRootPart") if not hrp then return false end pvpCheckParams.FilterDescendantsInstances = {targetChar, myPlayer.Character} local partsInSpace = Workspace:GetPartBoundsInBox(hrp.CFrame, Vector3.new(4, 10, 4), pvpCheckParams) for _, part in ipairs(partsInSpace) do if part:IsA("BasePart") and part:IsDescendantOf(spawnFolder) then return false end end return true end local function autoEquipTool(char) local backpack = myPlayer:FindFirstChild("Backpack") if char and backpack then local tool = backpack:FindFirstChildOfClass("Tool") if tool then tool.Parent = char end end end local function runNetworkScanner() local networkData = Stats:FindFirstChild("Network") local pingValue = networkData and networkData:FindFirstChild("ServerStatsItem") and Stats.Network.ServerStatsItem:FindFirstChild("Data Ping") local totalPing = pingValue and pingValue:GetValue() or 60 local safeBuffer = math.clamp((totalPing / 1000) * 2.2, 0.45, 2.5) task.wait(safeBuffer) end -- Open Source Delta Time Tween Engine with 3D Y-Axis Target Tracking local function smoothTweenGoto3D(myChar, myHrp, targetHrp, duration) if not myChar or not myHrp or not targetHrp then return end local startTime = tick() local startCFrame = myHrp.CFrame for _, part in ipairs(myChar:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end while tick() - startTime < duration do if not cfg.IS_ACTIVE or not _G.HunterEngineRunning then break end local elapsedTime = tick() - startTime local progressRatio = math.clamp(elapsedTime / duration, 0, 1) -- Tracks position parameters smoothly over delta steps local dynamicTargetCF = (typeof(targetHrp) == "table") and targetHrp.CFrame or (targetHrp and targetHrp.Parent and CFrame.new(targetHrp.Position) * targetHrp.CFrame.Rotation or startCFrame) local interpolatedCF = startCFrame:Lerp(dynamicTargetCF, progressRatio) myHrp.CFrame = interpolatedCF RunService.Heartbeat:Wait() end if typeof(targetHrp) == "table" then myHrp.CFrame = targetHrp.CFrame elseif targetHrp and targetHrp.Parent then myHrp.CFrame = CFrame.new(targetHrp.Position) * targetHrp.CFrame.Rotation end end -- ======================================================== -- CONSTANT ATTACK THREAD REGISTERED TO THE RENDER PIPELINE -- This loop activates your sword continuously every frame while enabled, -- ensuring your reach is already firing BEFORE and DURING the transit. RunService.RenderStepped:Connect(function() if not cfg.IS_ACTIVE or not _G.HunterEngineRunning then return end local myChar = myPlayer.Character local tool = myChar and myChar:FindFirstChildOfClass("Tool") -- YOUR EXACT RE-PLACED WORKING UNTOUCHED CODE PIECE: local range = 50 local p = Players:GetPlayers() for i = 2, #p do local v = p[i].Character if v and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 and v:FindFirstChild("HumanoidRootPart") and myPlayer:DistanceFromCharacter(v.HumanoidRootPart.Position) <= range then if tool and tool:FindFirstChild("Handle") then tool:Activate() for idx, partInstance in next, v:GetChildren() do if partInstance:IsA("BasePart") then firetouchinterest(tool.Handle, partInstance, 0) firetouchinterest(tool.Handle, partInstance, 1) end end end end end end) -- ======================================================== _G.HunterEngineRunning = false task.wait(0.1) _G.HunterEngineRunning = true task.spawn(function() while _G.HunterEngineRunning do task.wait(0.02) if _G.SniperLock or not cfg.IS_ACTIVE or not cfg.SELECTED_TARGET then continue end local target = cfg.SELECTED_TARGET local myChar = myPlayer.Character local myHum = myChar and myChar:FindFirstChildOfClass("Humanoid") local myHrp = myChar and myChar:FindFirstChild("HumanoidRootPart") if myChar and myHrp and myHum and myHum.Health > 0 then local tChar = target.Character or workspace:FindFirstChild(target.Name) if tChar and tChar:FindFirstChild("HumanoidRootPart") and tChar:FindFirstChildOfClass("Humanoid") then local tHrp = tChar.HumanoidRootPart local tHum = tChar:FindFirstChildOfClass("Humanoid") if tHum.Health > 0 and not tChar:GetAttribute("Protected") then if not isTrulyInPvp(tChar) then _G.CurrentTargetHighlight.Parent = nil while not isTrulyInPvp(tChar) and cfg.IS_ACTIVE and cfg.SELECTED_TARGET == target and not _G.SniperLock and _G.HunterEngineRunning do if not tHrp or tHrp.Parent == nil or tHum.Health <= 0 then break end task.wait(0.05) end end if _G.SniperLock or not cfg.IS_ACTIVE or cfg.SELECTED_TARGET ~= target or tHum.Health <= 0 or not tHrp.Parent or not isTrulyInPvp(tChar) then continue end _G.SniperLock = true _G.CurrentTargetHighlight.Parent = tChar autoEquipTool(myChar) local originalCFrame = myHrp.CFrame -- Magnet Lock coordinates matching their exact 3D vector volume position local magnetTargetCF = CFrame.new(tHrp.Position) * tHrp.CFrame.Rotation print("[Sniper] Target active. Commencing 3D magnet glide with constant sword loop activation.") myHrp.AssemblyLinearVelocity = Vector3.zero myHum:ChangeState(Enum.HumanoidStateType.Running) -- PHASE 1: Tween into their 3D coordinates (The independent thread is already constantly swinging) smoothTweenGoto3D(myChar, myHrp, tHrp, 0.55) task.wait(0.18) -- Hold buffer window to allow your active sword loop to secure the kill points -- PHASE 3: Tween smoothly right back to your safe spawn coordinates print("[Sniper] Hits delivered. Retracting to spawn coordinates.") smoothTweenGoto3D(myChar, myHrp, {CFrame = originalCFrame}, 0.55) myHrp.AssemblyLinearVelocity = Vector3.zero myHrp.CFrame = originalCFrame _G.CurrentTargetHighlight.Parent = nil myHum:ChangeState(Enum.HumanoidStateType.GettingUp) myHum.PlatformStand = false runNetworkScanner() _G.SniperLock = false end end end end end)