--@[SUMMER] Randomizer: Redux local GetService = game.GetService -- local ReplicatedStorage = GetService(game, "ReplicatedStorage") local Workspace = GetService(game, "Workspace") local Players = GetService(game, "Players") -- local Camera = Workspace.CurrentCamera local LocalPlayer = Players.LocalPlayer local CrosshairHandler = require(ReplicatedStorage.Modules.GunKit.CrosshairHandler) -- local OldGetPosition = CrosshairHandler.GetPosition hookfunction(CrosshairHandler.GetPosition, function(Self, Tool) local ClosestHead = nil local ClosestDistance = math.huge for _, Player in ipairs(Players:GetPlayers()) do if Player == LocalPlayer then continue end local Character = Player.Character if not Character then continue end local Head = Character:FindFirstChild("Head") local Humanoid = Character:FindFirstChildOfClass("Humanoid") if not Head or not Humanoid or Humanoid.Health <= 0 then continue end local Distance = (Head.Position - Camera.CFrame.Position).Magnitude if Distance < ClosestDistance then ClosestDistance = Distance ClosestHead = Head end end if ClosestHead then return ClosestHead.Position, ClosestHead end return OldGetPosition(Self, Tool) end)