JasonJJK

RconsoleRemoteSpy

Sep 25th, 2020 (edited)
1,079
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local mt = getrawmetatable(game) local namecall = mt.__namecall setreadonly(mt,false) rconsolename("Rc\111\110\115ol\101\82e\109ot\101\83py") rconsoleprint("C\114\101a\116ed \98\121 J\97so\110\74JK \40\74\97\115\95n#0501)\n") rconsoleprint("P\114\101\115s \91\68\69\76E\84E\93\32\116o \99\108\101a\114 \116\104\101 \99on\115o\108\101\n") function getScriptPath(v) local ins=v local Path=tostring(v) local nextsafe="." if not v then return "Synapse X" end if string.find(tostring(v)," ") then Path="['"..tostring(v).."']" nextsafe="" elseif tonumber(string.sub(tostring(v),1,1))then Path="['"..tostring(v).."']" nextsafe="" end repeat if string.find(tostring(ins.Parent)," ") then Path="['"..tostring(ins.Parent).."']"..nextsafe..Path;ins=ins.Parent nextsafe="" elseif tonumber(string.sub(tostring(ins.Parent),1,1))then Path="['"..tostring(ins.Parent).."']"..nextsafe..Path;ins=ins.Parent nextsafe="" else Path=tostring(ins.Parent)..nextsafe..Path;ins=ins.Parent nextsafe="." end until not ins.Parent return Path end mt.__namecall = function(self, ...) local method = getnamecallmethod() local Args = {...} local forma={} local arguments = "None!" if #Args~=0 then arguments="\n{\n" for i,v in next,Args do arguments=arguments..tostring(i).." : "..tostring(v).." -- "..typeof(v).."\n" end arguments=arguments.."}" end if method == 'InvokeServer' then forma = {"\n", "----- RemoteFunction logged!","\n", "From Script: "..getScriptPath(getcallingscript()),"\n", "Location: "..getScriptPath(self),"\n", "Arguments:", arguments,"\n", } end if method == 'FireServer' then forma = {"\n", "----- RemoteEvent logged!","\n", "From Script: "..getScriptPath(getcallingscript()),"\n", "Location: "..getScriptPath(self),"\n", "Arguments:", arguments,"\n", } if method == 'Fire' then forma = {"\n", "----- BindableEvent logged!","\n", "From Script: "..getScriptPath(getcallingscript()),"\n", "Location: "..getScriptPath(self),"\n", "Arguments:", arguments,"\n", } end end for i=1,#forma do rconsoleprint(forma[i]) end return namecall(self,...) end game.UserInputService.InputBegan:Connect(function(k) if k.KeyCode==Enum.KeyCode.Delete then rconsoleclear() end end)
RAW Paste Data