Professional Documents
Culture Documents
File
File
Wallbang = true
local mt = getrawmetatable(game)
local namecallold = mt.__namecall
setreadonly(mt, false)
mt.__namecall = newcclosure(function(self, ...)
local Args = {...}
NamecallMethod = getnamecallmethod()
if getgenv().Wallbang and tostring(NamecallMethod) ==
"FindPartOnRayWithIgnoreList" then
table.insert(Args[2], workspace.Map)
end
return namecallold(self, ...)
end)
setreadonly(mt, true)