silent aim
Key Required

silent aim

KATsametexesametexe 4.8K views 274 executesUpdated Nov 8, 2024
0.6/ 5(8 votes)
1713% Positive
Lua Script•54 lines (1878 chars)
--// made by samet

local run_service = game:GetService("RunService");
local players = game:GetService("Players");
local user_input_service = game:GetService("UserInputService");

local local_player = players.LocalPlayer;
local camera = workspace.CurrentCamera;

local closest;
local silent_aim_enabled = true; --// master switch

local common_functions = require(local_player.PlayerGui.GameUI.ClientMaster.CommonFunctions);

local get_closest_player = function()
    local closest_distance, player = math.huge, nil;

    for _, value in players:GetPlayers() do
        if not (value == local_player) then
            local character = value.Character;
            local root_part = character and character:FindFirstChild("HumanoidRootPart");
                
            if not (root_part) then continue end;

            local screen_position, visible = camera:WorldToViewportPoint(root_part.Position);
            local distance = (Vector2.new(screen_position.X, screen_position.Y) - user_input_service:GetMouseLocation()).Magnitude;

            if not visible then continue end;

            if distance < closest_distance then
                player = value;
                closest_distance = distance;
            end;
        end;
    end;

    return player;
end;

run_service.RenderStepped:Connect(function()
    if (silent_aim_enabled) then
        closest = get_closest_player();
    end
end)

local old_func = common_functions.RayCast;
common_functions.RayCast = function(origin, direction, i_dont_know_what_this_is, idk_either_but_probably_ignore_list) --// detected, use hookfunc
    if (silent_aim_enabled and closest) then
        local bone_position = closest.Character.Head.Position;
        direction = bone_position; --// not accurate
    end;
    
    return old_func(origin, direction, i_dont_know_what_this_is, idk_either_but_probably_ignore_list);
end;

Features & Information

shit silent

Community Comments (2)

Ang3lAng3lNov 9, 2024(edited)

Doesn't even work lol

gogokgogokNov 9, 2024(edited)

@ScriptRater Dev already removed review.

More Scripts for KAT