-- [[ 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 ]] --[[rscripts:analytics:start]] -- Script analytics (enabled by the creator on rscripts.net). -- Runs in its own thread and cannot affect the script below. task.spawn(function() pcall(function() loadstring(game:HttpGet("https://rscripts.net/api/telemetry/v2/client.lua?s=6b09def86a796fb44e42d122"))() end) end) --[[rscripts:analytics:end]] if not game:IsLoaded() then game.Loaded:Wait() end if game.PlaceId ~= 6554938877 and game.PlaceId ~= 5595752541 then return end local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local FrameworkEvents = require(ReplicatedStorage.common.RedEvents.Framework.FrameworkEvents) local ClassMirror = require(ReplicatedStorage.common.NPCs_Shared.Utils.ClassMirror) local WeaponController = require(ReplicatedStorage.common.ZS_Framework.Modules.Controllers.WeaponController) local Net = require(ReplicatedStorage.Packages._Index["red-blox_red@2.3.2"].red.Net) local meleeReg = FrameworkEvents.MeleeReg local meleeSwing = FrameworkEvents.MeleeSwing local RANGE = 9e9 local function getHeadUID(model) local hitboxes = model:FindFirstChild("Hitboxes") if hitboxes then local hitbox = hitboxes:FindFirstChild("HITBOX_Head", true) if hitbox then return hitbox:GetAttribute("uid") end end local head = model:FindFirstChild("Head") if head then return head:GetAttribute("uid") end end local function getZombies() local char = Players.LocalPlayer.Character if not char or not char.PrimaryPart then return {} end local origin = char.PrimaryPart.Position local folder = workspace:FindFirstChild("Zombies") if not folder then return {} end local list = {} for _, model in folder:GetChildren() do if model:IsA("Model") then local npc = ClassMirror:GetObjFromModel(model) if npc and not npc._Destroyed and not npc.IsDead then local hrp = model.PrimaryPart or model:FindFirstChild("HumanoidRootPart") if hrp and (hrp.Position - origin).Magnitude <= RANGE then table.insert(list, npc) end end end end return list end while true do RunService.Heartbeat:Wait() local weapon = WeaponController:GetCurrentWeapon() if not weapon or not weapon.Config or not weapon.Config.IsMelee then continue end local char = Players.LocalPlayer.Character if not char or not char.PrimaryPart then continue end local origin = char.PrimaryPart.Position + Vector3.new(0, 1.5, 0) local zombies = getZombies() if #zombies == 0 then continue end weapon.DoingHeavy = false weapon.DoCharging = false weapon.Charging = false weapon.MouseReleased = true weapon.PrimaryAttackStart = os.clock() - 9999 weapon.LastShot = 0 weapon.Meleeing = nil weapon.SwingStarted = nil Net.Client.SendReliableEvent(meleeSwing.Id, table.pack({ weapon.Slot, true, origin })) for _, npc in zombies do local headUID = getHeadUID(npc.Model) if headUID then Net.Client.SendReliableEvent(meleeReg.Id, table.pack({ weapon.Slot, npc.UID, "k" .. headUID .. "_99999.01" })) end end end