Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local players = game:GetService("Players")
- local client = players.LocalPlayer
- local gameMeta = getrawmetatable(game)
- local oldNamecall = gameMeta.__namecall
- local function newNamecall(self, ...)
- local method = select(#{...}, ...)
- if method == "FindPartOnRay" then
- local hit, pos, normal, material = oldNamecall(self, ...)
- local posProxy = {
- Y = math.huge
- }
- return hit, posProxy, normal, Enum.Material.Water
- end
- return oldNamecall(self, ...)
- end
- make_writeable(gameMeta)
- gameMeta.__namecall = newcclosure(newNamecall)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement