
Keyless

local OldNamecall; OldNamecall = hookmetamethod(game, '__namecall', function(self, ...)
local Args = {...}
local Method = getnamecallmethod()
local Script = getcallingscript()
if not checkcaller() and self == workspace and Method == 'Raycast' and Script then
if Script.Parent.Name == 'SprayPaint' then
local Params = RaycastParams.new()
Params.FilterDescendantsInstances = { workspace.Map, workspace.PaintFolder }
Params.FilterType = Enum.RaycastFilterType.Whitelist
Args[3] = Params
elseif Script.Parent.Name == 'Sponge' then
local Params = RaycastParams.new()
Params.FilterDescendantsInstances = { workspace.Map, workspace.PaintFolder }
Params.FilterType = Enum.RaycastFilterType.Whitelist
Args[3] = Params
end
end
return OldNamecall(self, table.unpack(Args))
end)
cool and working
why did you obfuscate it? wouldn't it be less likely to be patched?
*why you didn't
@tomergamertv no, its pretty obvious how it works, dev will find out anyways
@Urvoge hmm well okay
still works lmao cant erase it tho
@arr3gq will try to fix erasing bug