mouse hook
Key RequiredUniversal

mouse hook

Universal Scriptgaxriexzgaxriexz 2.8K views 59 executesUpdated Jun 9, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•14 lines (334 chars)
local target = {
    enabled = true,
    position = CFrame.new(0,0,0)
}

local Hooks = {}

Hooks.Mouse = hookmetamethod(game, "__index", newcclosure(function(self, key)
    if target.enabled and target.position and self:IsA("Mouse") and key == 'Hit' then
        return target.position
    end

    return Hooks.Mouse(self, key)
end))

Features & Information

just a mouse hook

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts