Advertisement
Msizz

remote spy test

Jan 25th, 2024
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.28 KB | None | 0 0
  1. --[=[
  2. d888b db db d888888b .d888b. db db db .d8b.
  3. 88' Y8b 88 88 `88' VP `8D 88 88 88 d8' `8b
  4. 88 88 88 88 odD' 88 88 88 88ooo88
  5. 88 ooo 88 88 88 .88' 88 88 88 88~~~88
  6. 88. ~8~ 88b d88 .88. j88. 88booo. 88b d88 88 88
  7. Y888P ~Y8888P' Y888888P 888888D Y88888P ~Y8888P' YP YP CONVERTER
  8. ]=]
  9.  
  10. -- Instances: 38 | Scripts: 3 | Modules: 0
  11. local G2L = {};
  12.  
  13. -- StarterGui.RemoteSpy
  14. G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
  15. G2L["1"]["Name"] = [[RemoteSpy]];
  16.  
  17. -- StarterGui.RemoteSpy.Main
  18. G2L["2"] = Instance.new("Frame", G2L["1"]);
  19. G2L["2"]["ZIndex"] = 999999999;
  20. G2L["2"]["BackgroundColor3"] = Color3.fromRGB(37, 37, 55);
  21. G2L["2"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
  22. G2L["2"]["Size"] = UDim2.new(0.6992710828781128, 0, 0.8468711376190186, 0);
  23. G2L["2"]["Position"] = UDim2.new(0.5, 0, 0.5, 0);
  24. G2L["2"]["Name"] = [[Main]];
  25.  
  26. -- StarterGui.RemoteSpy.Main.UICorner
  27. G2L["3"] = Instance.new("UICorner", G2L["2"]);
  28.  
  29.  
  30. -- StarterGui.RemoteSpy.Main.Holder
  31. G2L["4"] = Instance.new("ScrollingFrame", G2L["2"]);
  32. G2L["4"]["Active"] = true;
  33. G2L["4"]["ZIndex"] = 999999999;
  34. G2L["4"]["BorderSizePixel"] = 0;
  35. G2L["4"]["CanvasSize"] = UDim2.new(0, 0, 0, 0);
  36. G2L["4"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  37. G2L["4"]["AutomaticCanvasSize"] = Enum.AutomaticSize.XY;
  38. G2L["4"]["BackgroundTransparency"] = 1;
  39. G2L["4"]["Size"] = UDim2.new(0.9988439083099365, 0, 0.9340463280677795, 0);
  40. G2L["4"]["ScrollBarImageColor3"] = Color3.fromRGB(0, 0, 0);
  41. G2L["4"]["ScrollBarThickness"] = 0;
  42. G2L["4"]["Position"] = UDim2.new(0, 0, 0.06595365703105927, 0);
  43. G2L["4"]["Name"] = [[Holder]];
  44.  
  45. -- StarterGui.RemoteSpy.Main.Holder.UIListLayout
  46. G2L["5"] = Instance.new("UIListLayout", G2L["4"]);
  47. G2L["5"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
  48. G2L["5"]["Padding"] = UDim.new(0, 3);
  49. G2L["5"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  50.  
  51. -- StarterGui.RemoteSpy.Main.Holder.LocalScript
  52. G2L["6"] = Instance.new("LocalScript", G2L["4"]);
  53.  
  54.  
  55. -- StarterGui.RemoteSpy.Main.Holder.UIAspectRatioConstraint
  56. G2L["7"] = Instance.new("UIAspectRatioConstraint", G2L["4"]);
  57. G2L["7"]["AspectRatio"] = 1.6488549709320068;
  58.  
  59. -- StarterGui.RemoteSpy.Main.Holder.remote
  60. G2L["8"] = Instance.new("TextLabel", G2L["4"]);
  61. G2L["8"]["TextWrapped"] = true;
  62. G2L["8"]["ZIndex"] = 999999999;
  63. G2L["8"]["TextScaled"] = true;
  64. G2L["8"]["BackgroundColor3"] = Color3.fromRGB(42, 42, 63);
  65. G2L["8"]["TextSize"] = 10;
  66. G2L["8"]["TextColor3"] = Color3.fromRGB(88, 88, 132);
  67. G2L["8"]["Size"] = UDim2.new(1, 0, 1, 0);
  68. G2L["8"]["Text"] = [[@remote@]];
  69. G2L["8"]["Name"] = [[remote]];
  70. G2L["8"]["Position"] = UDim2.new(0.009837962687015533, 0, 0, 0);
  71.  
  72. -- StarterGui.RemoteSpy.Main.Holder.remote.UICorner
  73. G2L["9"] = Instance.new("UICorner", G2L["8"]);
  74.  
  75.  
  76. -- StarterGui.RemoteSpy.Main.Holder.remote.UIListLayout
  77. G2L["a"] = Instance.new("UIListLayout", G2L["8"]);
  78. G2L["a"]["VerticalAlignment"] = Enum.VerticalAlignment.Center;
  79. G2L["a"]["FillDirection"] = Enum.FillDirection.Horizontal;
  80. G2L["a"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Right;
  81. G2L["a"]["Padding"] = UDim.new(0, 14);
  82. G2L["a"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  83.  
  84. -- StarterGui.RemoteSpy.Main.Holder.remote.UIAspectRatioConstraint
  85. G2L["b"] = Instance.new("UIAspectRatioConstraint", G2L["8"]);
  86. G2L["b"]["AspectRatio"] = 21.94871711730957;
  87.  
  88. -- StarterGui.RemoteSpy.Main.Holder.remote.UITextSizeConstraint
  89. G2L["c"] = Instance.new("UITextSizeConstraint", G2L["8"]);
  90. G2L["c"]["MaxTextSize"] = 10;
  91.  
  92. -- StarterGui.RemoteSpy.Main.Holder.remote.TextBox
  93. G2L["d"] = Instance.new("TextBox", G2L["8"]);
  94. G2L["d"]["CursorPosition"] = -1;
  95. G2L["d"]["PlaceholderColor3"] = Color3.fromRGB(88, 88, 132);
  96. G2L["d"]["ZIndex"] = 999999999;
  97. G2L["d"]["TextSize"] = 14;
  98. G2L["d"]["TextWrapped"] = true;
  99. G2L["d"]["TextScaled"] = true;
  100. G2L["d"]["BackgroundColor3"] = Color3.fromRGB(42, 42, 63);
  101. G2L["d"]["TextColor3"] = Color3.fromRGB(88, 88, 132);
  102. G2L["d"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  103. G2L["d"]["PlaceholderText"] = [[( N/S )]];
  104. G2L["d"]["Size"] = UDim2.new(0.05257009342312813, 0, 1, 0);
  105. G2L["d"]["Text"] = [[]];
  106. G2L["d"]["Position"] = UDim2.new(1.0092092752456665, 0, 0, 0);
  107. G2L["d"]["ClearTextOnFocus"] = false;
  108.  
  109. -- StarterGui.RemoteSpy.Main.Holder.remote.TextBox.UICorner
  110. G2L["e"] = Instance.new("UICorner", G2L["d"]);
  111.  
  112.  
  113. -- StarterGui.RemoteSpy.Main.Holder.remote.TextBox.UIAspectRatioConstraint
  114. G2L["f"] = Instance.new("UIAspectRatioConstraint", G2L["d"]);
  115. G2L["f"]["AspectRatio"] = 1.1538461446762085;
  116.  
  117. -- StarterGui.RemoteSpy.Main.Holder.remote.ImageButton
  118. G2L["10"] = Instance.new("ImageButton", G2L["8"]);
  119. G2L["10"]["ZIndex"] = 999999999;
  120. G2L["10"]["AutoButtonColor"] = false;
  121. G2L["10"]["BackgroundColor3"] = Color3.fromRGB(42, 42, 63);
  122. G2L["10"]["ImageColor3"] = Color3.fromRGB(88, 88, 132);
  123. G2L["10"]["Image"] = [[rbxassetid://7072720722]];
  124. G2L["10"]["Size"] = UDim2.new(0.03504673019051552, 0, 0.7692307829856873, 0);
  125. G2L["10"]["Position"] = UDim2.new(0.9299065470695496, 0, 0, 0);
  126.  
  127. -- StarterGui.RemoteSpy.Main.Holder.remote.ImageButton.UICorner
  128. G2L["11"] = Instance.new("UICorner", G2L["10"]);
  129.  
  130.  
  131. -- StarterGui.RemoteSpy.Main.Holder.remote.ImageButton.UIAspectRatioConstraint
  132. G2L["12"] = Instance.new("UIAspectRatioConstraint", G2L["10"]);
  133.  
  134.  
  135. -- StarterGui.RemoteSpy.Main.Holder.remote.copy
  136. G2L["13"] = Instance.new("ImageButton", G2L["8"]);
  137. G2L["13"]["ZIndex"] = 999999999;
  138. G2L["13"]["AutoButtonColor"] = false;
  139. G2L["13"]["BackgroundColor3"] = Color3.fromRGB(42, 42, 63);
  140. G2L["13"]["ImageColor3"] = Color3.fromRGB(88, 88, 132);
  141. G2L["13"]["Image"] = [[rbxassetid://7072707790]];
  142. G2L["13"]["Size"] = UDim2.new(0.03504673019051552, 0, 0.7692307829856873, 0);
  143. G2L["13"]["Name"] = [[copy]];
  144. G2L["13"]["Position"] = UDim2.new(0.9649532437324524, 0, 0, 0);
  145.  
  146. -- StarterGui.RemoteSpy.Main.Holder.remote.copy.UICorner
  147. G2L["14"] = Instance.new("UICorner", G2L["13"]);
  148.  
  149.  
  150. -- StarterGui.RemoteSpy.Main.Holder.remote.copy.UIAspectRatioConstraint
  151. G2L["15"] = Instance.new("UIAspectRatioConstraint", G2L["13"]);
  152.  
  153.  
  154. -- StarterGui.RemoteSpy.Main.Holder.remote.UIPadding
  155. G2L["16"] = Instance.new("UIPadding", G2L["8"]);
  156. G2L["16"]["PaddingRight"] = UDim.new(0, 6);
  157.  
  158. -- StarterGui.RemoteSpy.Main.ke
  159. G2L["17"] = Instance.new("LocalScript", G2L["2"]);
  160. G2L["17"]["Name"] = [[ke]];
  161.  
  162. -- StarterGui.RemoteSpy.Main.DropShadow
  163. G2L["18"] = Instance.new("ImageLabel", G2L["2"]);
  164. G2L["18"]["ZIndex"] = 99999999;
  165. G2L["18"]["BorderSizePixel"] = 0;
  166. G2L["18"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  167. G2L["18"]["ImageTransparency"] = 0.5;
  168. G2L["18"]["Image"] = [[rbxassetid://297694300]];
  169. G2L["18"]["Size"] = UDim2.new(1.2353750467300415, 0, 1.239304780960083, 0);
  170. G2L["18"]["Name"] = [[DropShadow]];
  171. G2L["18"]["BackgroundTransparency"] = 1;
  172. G2L["18"]["Position"] = UDim2.new(-0.11268748342990875, 0, -0.12186985462903976, 0);
  173.  
  174. -- StarterGui.RemoteSpy.Main.DropShadow.UIAspectRatioConstraint
  175. G2L["19"] = Instance.new("UIAspectRatioConstraint", G2L["18"]);
  176. G2L["19"]["AspectRatio"] = 1.5370001792907715;
  177.  
  178. -- StarterGui.RemoteSpy.Main.remote
  179. G2L["1a"] = Instance.new("TextLabel", G2L["2"]);
  180. G2L["1a"]["TextWrapped"] = true;
  181. G2L["1a"]["ZIndex"] = 999999999;
  182. G2L["1a"]["TextScaled"] = true;
  183. G2L["1a"]["BackgroundColor3"] = Color3.fromRGB(42, 42, 63);
  184. G2L["1a"]["TextSize"] = 14;
  185. G2L["1a"]["TextColor3"] = Color3.fromRGB(88, 88, 132);
  186. G2L["1a"]["Size"] = UDim2.new(0.9780346751213074, 0, 0.05347593501210213, 0);
  187. G2L["1a"]["Text"] = [["Remote Spy"]];
  188. G2L["1a"]["Name"] = [[remote]];
  189. G2L["1a"]["BackgroundTransparency"] = 1;
  190. G2L["1a"]["Position"] = UDim2.new(0.010221518576145172, 0, 0.01083273347467184, 0);
  191.  
  192. -- StarterGui.RemoteSpy.Main.remote.UIAspectRatioConstraint
  193. G2L["1b"] = Instance.new("UIAspectRatioConstraint", G2L["1a"]);
  194. G2L["1b"]["AspectRatio"] = 28.200000762939453;
  195.  
  196. -- StarterGui.RemoteSpy.Main.remote.UITextSizeConstraint
  197. G2L["1c"] = Instance.new("UITextSizeConstraint", G2L["1a"]);
  198. G2L["1c"]["MaxTextSize"] = 10;
  199.  
  200. -- StarterGui.RemoteSpy.Main.LocalScript
  201. G2L["1d"] = Instance.new("LocalScript", G2L["2"]);
  202.  
  203.  
  204. -- StarterGui.RemoteSpy.Main.UIAspectRatioConstraint
  205. G2L["1e"] = Instance.new("UIAspectRatioConstraint", G2L["2"]);
  206. G2L["1e"]["AspectRatio"] = 1.5418894290924072;
  207.  
  208. -- StarterGui.RemoteSpy.UIAspectRatioConstraint
  209. G2L["1f"] = Instance.new("UIAspectRatioConstraint", G2L["1"]);
  210. G2L["1f"]["AspectRatio"] = 2.168367385864258;
  211.  
  212. -- StarterGui.RemoteSpy.Frame
  213. G2L["20"] = Instance.new("Frame", G2L["1"]);
  214. G2L["20"]["ZIndex"] = 999999998;
  215. G2L["20"]["BorderSizePixel"] = 0;
  216. G2L["20"]["BackgroundColor3"] = Color3.fromRGB(11, 11, 11);
  217. G2L["20"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
  218. G2L["20"]["BackgroundTransparency"] = 0.5;
  219. G2L["20"]["Size"] = UDim2.new(999, 0, 999, 0);
  220. G2L["20"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  221. G2L["20"]["Position"] = UDim2.new(0.5, 0, 0.5, 0);
  222.  
  223. -- StarterGui.RemoteSpy.Frame.UIAspectRatioConstraint
  224. G2L["21"] = Instance.new("UIAspectRatioConstraint", G2L["20"]);
  225. G2L["21"]["AspectRatio"] = 1.1951837539672852;
  226.  
  227. -- StarterGui.RemoteSpy.TextButton
  228. G2L["22"] = Instance.new("TextButton", G2L["1"]);
  229. G2L["22"]["TextWrapped"] = true;
  230. G2L["22"]["ZIndex"] = 999999999;
  231. G2L["22"]["BorderSizePixel"] = 0;
  232. G2L["22"]["AutoButtonColor"] = false;
  233. G2L["22"]["TextScaled"] = true;
  234. G2L["22"]["BackgroundColor3"] = Color3.fromRGB(37, 37, 55);
  235. G2L["22"]["TextSize"] = 42;
  236. G2L["22"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
  237. G2L["22"]["TextColor3"] = Color3.fromRGB(88, 88, 132);
  238. G2L["22"]["Size"] = UDim2.new(0, 44, 0, 44);
  239. G2L["22"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  240. G2L["22"]["Text"] = [[O]];
  241. G2L["22"]["Position"] = UDim2.new(0.022703181952238083, 0, 0.4415048062801361, 0);
  242.  
  243. -- StarterGui.RemoteSpy.TextButton.UICorner
  244. G2L["23"] = Instance.new("UICorner", G2L["22"]);
  245. G2L["23"]["CornerRadius"] = UDim.new(1, 0);
  246.  
  247. -- StarterGui.RemoteSpy.TextButton.UIStroke
  248. G2L["24"] = Instance.new("UIStroke", G2L["22"]);
  249. G2L["24"]["Color"] = Color3.fromRGB(88, 88, 132);
  250. G2L["24"]["Thickness"] = 1.7999999523162842;
  251. G2L["24"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  252.  
  253. -- StarterGui.RemoteSpy.TextButton.UIAspectRatioConstraint
  254. G2L["25"] = Instance.new("UIAspectRatioConstraint", G2L["22"]);
  255.  
  256.  
  257. -- StarterGui.RemoteSpy.TextButton.UITextSizeConstraint
  258. G2L["26"] = Instance.new("UITextSizeConstraint", G2L["22"]);
  259. G2L["26"]["MaxTextSize"] = 42;
  260.  
  261. -- StarterGui.RemoteSpy.Main.Holder.LocalScript
  262. local function C_6()
  263. local script = G2L["6"];
  264. script.Parent.AutomaticCanvasSize="XY"
  265. script.Parent.ClipsDescendants = true
  266. end;
  267. task.spawn(C_6);
  268. -- StarterGui.RemoteSpy.Main.ke
  269. local function C_17()
  270. local script = G2L["17"];
  271. local b = Instance.new("BlurEffect")
  272. b.Size = 0
  273. b.Parent = game.Lighting
  274. local a = false
  275. function onKeyPress(inputObject, gameProcessedEvent)
  276. if not gameProcessedEvent then
  277. if inputObject.KeyCode == Enum.KeyCode.RightControl then -- change 'E' to any key on the keyboard. EX: Tab
  278. script.Parent.Visible = not script.Parent.Visible
  279. script.Parent.Parent.Frame.Visible = not script.Parent.Parent.Frame.Visible
  280. if a then
  281. b.Size = 0
  282. a=false
  283. else
  284. b.Size = 24
  285. a=true
  286. end
  287. end
  288. end
  289. end
  290. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  291. end;
  292. task.spawn(C_17);
  293. -- StarterGui.RemoteSpy.Main.LocalScript
  294. local function C_1d()
  295. local script = G2L["1d"];
  296.  
  297.  
  298. local Plr = game:GetService("Players")
  299. local PlrFold = script.Parent.Holder
  300.  
  301. local dummyButton = PlrFold.remote:Clone()
  302. PlrFold.remote:Destroy()
  303.  
  304.  
  305. --local CurrentPlayer = 0
  306.  
  307. for i,v in pairs(game:GetDescendants()) do
  308. if v:IsA("RemoteEvent") or v:IsA("RemoteFunction") then
  309. if v.Name == "shit" then
  310. else
  311. --CurrentPlayer = CurrentPlayer + 1
  312.  
  313. local newButton = dummyButton:Clone()
  314.  
  315. --newButton.Position = UDim2.new( 0, 0, 0, newButton.Size.Y.Offset * ( CurrentPlayer - 1 ) )
  316. newButton.Text = v.Name
  317. local TT = "game."..v:GetFullName()..":FireServer".."("..newButton.TextBox.Text..")"
  318. newButton.ImageButton.MouseButton1Down:connect(function()
  319. local getgame = v:GetFullName()
  320. assert(loadstring("game."..v:GetFullName()..":FireServer".."("..Plr.LocalPlayer..", "..newButton.TextBox.Text..")"))()
  321. --[[
  322. if v:FireServer() then
  323. print("game."..v:GetFullName()..":FireServer".."("..newButton.TextBox.Text..")")
  324. end
  325. --]]
  326. end)
  327.  
  328. newButton.copy.MouseButton1Down:Connect(function()
  329. local args = {
  330. "game."..v:GetFullName()..":FireServer".."("..newButton.TextBox.Text..")"
  331. }
  332. setclipboard(unpack(args))
  333. end)
  334.  
  335. newButton.copy.MouseEnter:Connect(function()
  336. newButton.Text = v.Name.." - Copy Path"
  337. end)
  338.  
  339. newButton.ImageButton.MouseEnter:Connect(function()
  340. newButton.Text = v.Name.." - Run Code"
  341. end)
  342.  
  343. newButton.copy.MouseLeave:Connect(function()
  344. newButton.Text = v.Name
  345. end)
  346.  
  347. newButton.ImageButton.MouseLeave:Connect(function()
  348. newButton.Text = v.Name
  349. end)
  350.  
  351. newButton.Parent = PlrFold
  352.  
  353. end
  354. end
  355. end
  356. end;
  357. task.spawn(C_1d);
  358.  
  359. return G2L["1"], require;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement