
2.8k Views
85 Executions
mouse hook
Universal Script 📌
gaxriexzPublished 5
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
just a mouse hook
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))
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!






