M4DH4X

Untitled

Feb 3rd, 2021 (edited)
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1.  
  2. -- // Metatable vars
  3. local mt = getrawmetatable(game)
  4. local backupindex = mt.__index
  5. setreadonly(mt, false)
  6. -- // MT Hook
  7. mt.__index = newcclosure(function(t, k)
  8. if (t:IsA("Mouse") and (k == "Hit" or k == "Target")) then
  9. if (Target) then
  10. return (k == "Hit" and Target.CFrame or Target)
  11. end
  12. end
  13. return backupindex(t, k)
  14. end)
Add Comment
Please, Sign In to add comment