Advertisement
Meliodas0_0

Ride Jetski On Land

Jul 9th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. local players = game:GetService("Players")
  2. local client = players.LocalPlayer
  3.  
  4. local gameMeta = getrawmetatable(game)
  5. local oldNamecall = gameMeta.__namecall
  6.  
  7. local function newNamecall(self, ...)
  8. local method = select(#{...}, ...)
  9.  
  10. if method == "FindPartOnRay" then
  11. local hit, pos, normal, material = oldNamecall(self, ...)
  12.  
  13. local posProxy = {
  14. Y = math.huge
  15. }
  16.  
  17. return hit, posProxy, normal, Enum.Material.Water
  18. end
  19.  
  20. return oldNamecall(self, ...)
  21. end
  22.  
  23. make_writeable(gameMeta)
  24. gameMeta.__namecall = newcclosure(newNamecall)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement