Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- // Metatable vars
- local mt = getrawmetatable(game)
- local backupindex = mt.__index
- setreadonly(mt, false)
- -- // MT Hook
- mt.__index = newcclosure(function(t, k)
- if (t:IsA("Mouse") and (k == "Hit" or k == "Target")) then
- if (Target) then
- return (k == "Hit" and Target.CFrame or Target)
- end
- end
- return backupindex(t, k)
- end)
Add Comment
Please, Sign In to add comment