local rs = game:GetService("ReplicatedStorage") local plr = game:GetService("Players").LocalPlayer local run = game:GetService("RunService") local ws = workspace local chr = ws:WaitForChild("Characters") local cam = ws.CurrentCamera local rmt, cwp, lst, lck = nil, nil, 0, false for _,v in next, getgc(true) do if type(v)=="table" and rawget(v,"ShootWeapon") then rmt=v break end end local function gtm() for _,f in next, chr:GetChildren() do if f:IsA("Folder") and f:FindFirstChild(plr.Name) then return f.Name end end end local function gnr(mp) local mt = gtm() if not mt then return end local nr, nd = nil, math.huge for _,f in next, chr:GetChildren() do if f:IsA("Folder") and f.Name~=mt then for _,e in next, f:GetChildren() do local eh = e:FindFirstChild("HumanoidRootPart") local hm = e:FindFirstChildOfClass("Humanoid") local hd = e:FindFirstChild("Head") if eh and hm and hm.Health>0 then local tp = hd and hd.Position or eh.Position local d = (tp-mp).Magnitude if d0 then lck = true local nd = math.min(mx-cr,cp) cwp.Rounds = cr+nd cwp.Capacity = cp-nd task.wait(0.05) lck = false end end run.Heartbeat:Connect(function() if tick()-lst < 0.1 then return end local mc = plr.Character if not mc or mc:GetAttribute("Dead") then return end local hrp = mc:FindFirstChild("HumanoidRootPart") if not hrp then return end if not cwp or not rawget(cwp,"IsEquipped") then if not uwp() then return end end if not igw(cwp) then cwp = nil return end local pr = rawget(cwp,"Properties") if not pr then return end local mx = rawget(pr,"Rounds") local cr = rawget(cwp,"Rounds") if cr and mx and cr