BobMe

donk2

Oct 2nd, 2021 (edited)
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.75 KB | None | 0 0
  1. local ScreenGui = NP("Spy",true,1244,700).OuterFrame
  2. local monitor = ScreenGui.Parent.Parent.Parent.Parent.Parent
  3. local PlayerName = Instance.new("TextBox")
  4. local Spy = Instance.new("TextBox")
  5. local ve = Instance.new("ViewportFrame")
  6. local camera = Instance.new("Camera",ScreenGui)
  7. local cap = CFrame.new(0,0,0)
  8. local folder = Instance.new("Folder",ScreenGui)
  9. local ls = nil
  10. local remote = owner:FindFirstChild("spyspylol")
  11. if remote == nil then remote = Instance.new("RemoteEvent",owner) remote.Name = "spyspylol" end
  12.  
  13. PlayerName.Name = "TextBoxButton"
  14. PlayerName.Parent = ScreenGui
  15. PlayerName.AnchorPoint = Vector2.new(1, 1)
  16. PlayerName.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  17. PlayerName.BackgroundTransparency = 0.500
  18. PlayerName.BorderSizePixel = 0
  19. PlayerName.Position = UDim2.new(0.800000012, 0, 0.99000001, 0)
  20. PlayerName.Size = UDim2.new(0.75, 0, 0.0500000007, 0)
  21. PlayerName.Font = Enum.Font.SourceSans
  22. PlayerName.PlaceholderText = "Enter player name.."
  23. PlayerName.Text = ""
  24. PlayerName.TextColor3 = Color3.fromRGB(255, 255, 255)
  25. PlayerName.TextScaled = true
  26. PlayerName.TextSize = 14.000
  27. PlayerName.TextWrapped = true
  28. PlayerName.ZIndex = 10
  29.  
  30. Spy.Name = "Spy"
  31. Spy.Parent = ScreenGui
  32. Spy.AnchorPoint = Vector2.new(1, 1)
  33. Spy.BackgroundColor3 = Color3.fromRGB(255, 0, 251)
  34. Spy.BackgroundTransparency = 0.500
  35. Spy.BorderSizePixel = 0
  36. Spy.Position = UDim2.new(0.949999988, 0, 0.98999995, 0)
  37. Spy.Size = UDim2.new(0.140000001, 0, 0.0500000007, 0)
  38. Spy.Font = Enum.Font.SourceSans
  39. Spy.Text = "Spy"
  40. Spy.TextColor3 = Color3.fromRGB(255, 255, 255)
  41. Spy.TextScaled = true
  42. Spy.TextSize = 14.000
  43. Spy.TextWrapped = true
  44. Spy.ZIndex = 10
  45.  
  46. local cursor = Instance.new("Frame")
  47. cursor.Name = "NoClickc"
  48. cursor.Parent = ScreenGui
  49. cursor.ZIndex = 10
  50. cursor.BackgroundTransparency = 1
  51. cursor.Size = UDim2.new(0,10,0,10,0)
  52. cursor.AnchorPoint = Vector2.new(0.5,0.5)
  53. local cursorin = Instance.new("ImageLabel")
  54. cursorin.Name = "NoClickc"
  55. cursorin.Parent = cursor
  56. cursorin.BackgroundTransparency = 1
  57. cursorin.Size = UDim2.new(0,15,0,23)
  58. cursorin.ZIndex = 10
  59. cursorin.Image = "rbxassetid://"..tostring(3049556601)
  60. cursorin.ImageColor3 = Color3.fromRGB(255,0,255)
  61. Instance.new("BoolValue",Spy).Name = "Button"
  62.  
  63. ve.BackgroundColor3 = Color3.fromRGB(139, 230, 255)
  64. ve.CurrentCamera = camera
  65. ve.Parent = ScreenGui
  66. ve.ZIndex = 10
  67. ve.Size = UDim2.new(1,0,1,0)
  68. ve.BackgroundTransparency = 0
  69.  
  70. local function findPlayer(plrname)
  71. for i,v in pairs(game.Players:GetPlayers()) do
  72. if string.lower(string.sub(v.Name,1,#plrname)) == string.lower(plrname) then
  73. return v
  74. end
  75. end
  76. return nil
  77. end
  78.  
  79. --Spy.Button.Changed:Connect(function()
  80. --if Spy.Button.Value then
  81. local plr = findPlayer("memo")
  82. if plr ~= nil then
  83. if ls ~= nil then
  84. ls.Disabled = true
  85. ls:Destroy()
  86. end
  87. ls = NLS([[
  88. while wait() do
  89. local dek = {}
  90. local folder = Instance.new("Folder")
  91. local dek2 = {}
  92. for i,v in pairs(game.Players.LocalPlayer.PlayerGui:GetChildren()) do
  93. v:Clone().Parent = folder
  94. end
  95. for i,v in pairs(folder:GetChildren()) do
  96. for i,vv in pairs(v:GetDescendants()) do
  97. if vv:IsA("GuiObject") == false then
  98. vv:Destroy()
  99. end
  100. end
  101. table.insert(dek,v:Clone())
  102. end
  103. local mouse = game.Players.LocalPlayer:GetMouse()
  104. game.Players.Memo1332.spyspylol:FireServer("chickennugget12343",workspace.CurrentCamera.CFrame,dek,{mouse.X/mouse.ViewSizeX,mouse.Y/mouse.ViewSizeY})
  105. end]],plr.PlayerGui)
  106. end
  107. --Spy.Button.Value = false
  108. --end
  109. --end)
  110. local updated = Instance.new("Folder")
  111. remote.OnServerEvent:Connect(function(plr,mode,cam,stuff,mouse)
  112. if mode == "chickennugget12343" then
  113. cap = cam
  114. camera.CFrame = cam
  115. cursor.Position = UDim2.new(mouse[1],0,mouse[2],0)
  116. for i,v in pairs(game.Players:GetPlayers()) do
  117. local gu = v.Player:FindFirstChild("whatthenuggeti")
  118. if gu ~= nil then
  119. gu.NoClickc.Position = UDim2.new(mouse[1],0,mouse[2],0)
  120. gu.ViewportFrame.Camera.CFrame = cam
  121. end
  122. end
  123. end
  124. end)
  125.  
  126. coroutine.resume(coroutine.create(function()
  127. while wait() do
  128. updated:ClearAllChildren()
  129. for i,v in pairs(workspace:GetDescendants()) do
  130. if v:IsA("BasePart") and v.Size.X >= 2 and v.Size.Z >= 2 then
  131. local d = v:FindFirstAncestorOfClass("Model")
  132. if d ~= nil then
  133. if game.Players:FindFirstChild(tostring(d)) == nil then
  134. v:Clone().Parent = updated
  135. end
  136. elseif v.ClassName ~= "Terrain" then
  137. v:Clone().Parent = updated
  138. end
  139. end
  140. end
  141. wait(10)
  142. end
  143. end))
  144.  
  145. --coroutine.resume(coroutine.create(function()
  146. wait(1)
  147. while wait() do
  148. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  149. local gui = v.PlayerGui:FindFirstChild("whatthenuggeti")
  150. if gui == nil then gui = Instance.new("SurfaceGui") gui.Name = "whatthenuggeti" end
  151. gui.Adornee = monitor
  152. gui.Active = false
  153. gui.LightInfluence = 0
  154. gui.Face = "Back"
  155. gui.Brightness = 1
  156. gui.SizingMode = "FixedSize"
  157. gui.CanvasSize = Vector2.new(2160,1080)
  158. gui.Parent = v.PlayerGui
  159. gui:ClearAllChildren()
  160. local v = ve:Clone()
  161. local d = camera:Clone()
  162. local a = cursor:Clone()
  163. d.Parent = v
  164. v.Parent = gui
  165. v.ZIndex = ScreenGui.ZIndex
  166. v.Size = UDim2.new(0,ve.AbsoluteSize.X,0,ve.AbsoluteSize.Y)
  167. v.Position = UDim2.new(0,ve.AbsolutePosition.X,0,ve.AbsolutePosition.Y)
  168. v.CurrentCamera = d
  169. Instance.new("Folder",v).Name = "Players"
  170. for i,vv in pairs(updated:GetChildren()) do
  171. vv.Parent = v
  172. end
  173. coroutine.resume(coroutine.create(function()
  174. while v ~= nil do
  175. v.Players:ClearAllChildren()
  176. for i,vv in pairs(game:GetService("Players"):GetPlayers()) do
  177. vv.Character.Archivable = true
  178. vv.Character:Clone().Parent = v.Players
  179. local ca = Instance.new("Camera",v)
  180. ca.CFrame = cap
  181. v.CurrentCamera = ca
  182. end
  183. wait()
  184. end
  185. end))
  186. end
  187. wait(10)
  188. end
  189. --end))
Add Comment
Please, Sign In to add comment