--Yeskid local Players = game:GetService("Players") local RS = game:GetService("ReplicatedStorage") local LocalPlayer = Players.LocalPlayer --参数越强越容易死知道吧 local Config = { Enabled = true, TargetPart = "Head", Interval = 0.5, Multiplier = 1 } local Remotes = { Sync = RS:WaitForChild("SystemResources"):WaitForChild("BufferCache"):WaitForChild("RequestActionSync"), Flash = RS:WaitForChild("Events"):WaitForChild("RemoteEvents"):WaitForChild("CharacterMuzzleFlash"), Bullet = RS:WaitForChild("Events"):WaitForChild("RemoteEvents"):WaitForChild("ReplicateFakeBullet") } local function GetTarget() local target, dist = nil, math.huge local myChar = LocalPlayer.Character if not myChar or not myChar.PrimaryPart then return nil end for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer and p.Character then local head = p.Character:FindFirstChild(Config.TargetPart) local hum = p.Character:FindFirstChildOfClass("Humanoid") if head and hum and hum.Health > 0 then local d = (head.Position - myChar.PrimaryPart.Position).Magnitude if d < dist then dist = d target = p.Character end end end end return target end local function RageShot() local targetChar = GetTarget() local myChar = LocalPlayer.Character if not targetChar or not myChar or not myChar.PrimaryPart then return end local targetPart = targetChar:FindFirstChild(Config.TargetPart) local targetHum = targetChar:FindFirstChildOfClass("Humanoid") if not targetPart or not targetHum then return end local origin = myChar.PrimaryPart.Position local hitPos = targetPart.Position local direction = (hitPos - origin).Unit Remotes.Flash:FireServer() local syncArgs = { [1] = { ["direction"] = direction, ["hitPosition"] = hitPos, ["origin"] = origin, ["hitInstance"] = targetPart, ["hitHumanoid"] = targetHum, ["IsHeadshot"] = (Config.TargetPart == "Head") } } local bulletArgs = { [1] = CFrame.new(origin, hitPos), [2] = direction } for i = 1, Config.Multiplier do Remotes.Sync:FireServer(unpack(syncArgs)) Remotes.Bullet:FireServer(unpack(bulletArgs)) end end task.spawn(function() while true do task.wait(Config.Interval) if Config.Enabled then pcall(RageShot) end end end)