No-Scope Sniping Script | SILENT AIM

function getRandomAlivePlayer()
    for _,v in next, game.Players:GetPlayers() do 
        if v.Team ~= game.Players.LocalPlayer.Team and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health > 0 and v.Character:FindFirstChild("Head")  then 
            return v 
        end 
    end 
end

local old 
old = hookfunction(Instance.new("RemoteEvent").FireServer, function(self, ...)
    warn(self)
    local args = {...}
    if args[2] and args[2] == "bullet" then 
        warn("ok changing stuff")
        local char = getRandomAlivePlayer()
        if char and char.Character then 
            char = char.Character 
            args[3] = char 
            args[4] = char.Head
            args[5] = char.Head.Position
            args[6] = char.Head.CFrame
        else 
            return old(self, ...)
        end
        return old(self, unpack(args))
    end 
    return old(self, ...)
end)
Scroll to Top