Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui",owner.PlayerGui)
- local frame = Instance.new("Frame",ScreenGui)
- local ve = Instance.new("ViewportFrame",frame)
- local PlayerName = Instance.new("TextBox")
- local Spy = Instance.new("TextButton")
- local remote = owner:FindFirstChild("spyspylol")
- local updated = Instance.new("Folder",frame)
- local folder = Instance.new("Folder",ve)
- local ls = nil
- local text = nil
- if remote == nil then remote = Instance.new("RemoteEvent",owner) remote.Name = "spyspylol" end
- ScreenGui.Name = "boopypoopy"
- PlayerName.Name = "TextBoxButton"
- PlayerName.Parent = frame
- PlayerName.AnchorPoint = Vector2.new(1, 1)
- PlayerName.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- PlayerName.BackgroundTransparency = 0.500
- PlayerName.BorderSizePixel = 0
- PlayerName.Position = UDim2.new(0.800000012, 0, 0.99000001, 0)
- PlayerName.Size = UDim2.new(0.75, 0, 0.0500000007, 0)
- PlayerName.Font = Enum.Font.SourceSans
- PlayerName.PlaceholderText = "Enter player name.."
- PlayerName.Text = ""
- PlayerName.TextColor3 = Color3.fromRGB(255, 255, 255)
- PlayerName.TextScaled = true
- PlayerName.TextSize = 14.000
- PlayerName.TextWrapped = true
- PlayerName.ZIndex = 10
- PlayerName.Text = ""
- Spy.Name = "Spy"
- Spy.Parent = frame
- Spy.AnchorPoint = Vector2.new(1, 1)
- Spy.BackgroundColor3 = Color3.fromRGB(255, 0, 251)
- Spy.BackgroundTransparency = 0.500
- Spy.BorderSizePixel = 0
- Spy.Position = UDim2.new(0.949999988, 0, 0.98999995, 0)
- Spy.Size = UDim2.new(0.140000001, 0, 0.0500000007, 0)
- Spy.Font = Enum.Font.SourceSans
- Spy.Text = "Spy"
- Spy.TextColor3 = Color3.fromRGB(255, 255, 255)
- Spy.TextScaled = true
- Spy.TextSize = 14.000
- Spy.TextWrapped = true
- frame.AnchorPoint = Vector2.new(1,1)
- frame.Position = UDim2.new(1,-10,1,-10)
- frame.Size = UDim2.new(0.3,0,0.3/1.777,0)
- frame.BackgroundTransparency = 1
- frame.BorderSizePixel = 0
- frame.SizeConstraint = Enum.SizeConstraint.RelativeXX
- frame.ClipsDescendants = true
- ve.Size = UDim2.new(1,0,1,0)
- ve.BackgroundColor3 = Color3.fromRGB(139, 230, 255)
- ve.BackgroundTransparency = 0
- local cursor = Instance.new("Frame")
- cursor.Name = "NoClickc"
- cursor.Parent = frame
- cursor.ZIndex = 10
- cursor.BackgroundTransparency = 1
- cursor.Size = UDim2.new(0,10,0,10,0)
- cursor.AnchorPoint = Vector2.new(0.5,0.5)
- local cursorin = Instance.new("ImageLabel")
- cursorin.Name = "NoClickc"
- cursorin.Parent = cursor
- cursorin.BackgroundTransparency = 1
- cursorin.Size = UDim2.new(0,15,0,23)
- cursorin.ZIndex = 10
- cursorin.Image = "rbxassetid://"..tostring(3049556601)
- cursorin.ImageColor3 = Color3.fromRGB(255,0,255)
- folder.Name = "POOPYHEAD"
- local function findPlayer(plrname)
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.lower(string.sub(v.Name,1,#plrname)) == string.lower(plrname) then
- return v
- end
- end
- return nil
- end
- coroutine.resume(coroutine.create(function()
- while wait() do
- local gg = ve:GetChildren()
- for i,v in pairs(workspace:GetDescendants()) do
- 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
- local d = v:FindFirstAncestorOfClass("Model")
- if d ~= nil then
- if game.Players:FindFirstChild(tostring(d)) == nil then
- v:Clone().Parent = updated
- end
- elseif v.ClassName ~= "Terrain" then
- v:Clone().Parent = updated
- end
- end
- if i % 1250 == 0 then
- wait()
- end
- end
- for i,v in pairs(updated:GetChildren()) do
- v.Parent = ve
- if i % 500 == 0 then
- wait()
- end
- end
- for i,v in pairs(gg) do
- if i % 500 == 0 then
- wait()
- end
- if v:IsA("Folder") then
- if v.Name ~= "POOPYHEAD" then
- v:Destroy()
- end
- else
- v:Destroy()
- end
- end
- wait(60)
- end
- end))
- coroutine.resume(coroutine.create(function()
- while true do
- local pl = folder:GetChildren()
- for i,vv in pairs(game:GetService("Players"):GetPlayers()) do
- vv.Character.Archivable = true
- local clon = vv.Character:Clone()
- clon.Parent = folder
- local hum = clon:FindFirstChildOfClass("Humanoid")
- if hum ~= nil then
- hum.DisplayName = " "
- end
- end
- wait(0.2)
- for i,v in pairs(pl) do
- v:Destroy()
- end
- end
- end))
- local i = 200
- remote.OnServerEvent:Connect(function(plr,mode,cam,mousepos,screensize,guiss)
- local sucess, response = pcall(function()
- if plr == owner and typeof(cam) ~= "CFrame" then
- text = mode
- else
- if mode == "chickennugget12343" then
- --coroutine.resume(coroutine.create(function()
- --wait(.05)
- --local guis = game:GetService("HttpService"):JSONDecode(guiss)
- local guis = guiss
- local came = Instance.new("Camera",ve)
- came.CFrame = cam
- ve.CurrentCamera = came
- cursor.Position = UDim2.new(mousepos[1],0,mousepos[2],0)
- frame.Size = UDim2.new(0.3,0,0.3/(screensize[1]/screensize[2]),0)
- updated:ClearAllChildren()
- for i,v in pairs(guis) do
- v.Parent = updated
- end
- --[[if i % 10 == 0 then
- updated:ClearAllChildren()
- --print('epic',#guis)
- for i,vv in pairs(guis) do
- --for ii,vvv in pairs(vv) do
- -- if vv.ClassName ~= "Frame" then
- -- print(ii,vvv,"")
- -- end
- --end
- local k = Instance.new(vv.ClassName,updated)
- k.Active = false
- --k.AnchorPoint = vv.AnchorPoint
- k.BackgroundColor3 = vv.BackgroundColor3
- k.BackgroundTransparency = vv.BackgroundTransparency
- k.BorderSizePixel = vv.BorderSizePixel
- k.BorderColor3 = vv.BorderColor3
- k.BorderMode = vv.BorderMode
- k.Size = UDim2.new(vv.AbsoluteSize.X/screensize[1],0,vv.AbsoluteSize.Y/screensize[2],0)
- k.Position = UDim2.new(vv.AbsolutePosition.X/screensize[1],0,vv.AbsolutePosition.Y/screensize[2],0)
- k.ZIndex = vv.ZIndex
- k.Visible = vv.Visible
- k.SizeConstraint = vv.SizeConstraint
- if vv.ClassName == "TextBox" or vv.ClassName == "TextLabel" or vv.ClassName == "TextButton" then
- k.Text = vv.Text
- k.TextColor3 = vv.TextColor3
- k.RichText = vv.RichText
- k.TextStrokeColor3 = vv.TextStrokeColor3
- k.LineHeight = vv.LineHeight
- k.TextScaled = true
- k.TextStrokeTransparency = vv.TextStrokeTransparency
- k.TextTransparency = vv.TextTransparency
- k.Font = vv.Font
- k.TextXAlignment = vv.TextXAlignment
- k.TextYAlignment = vv.TextYAlignment
- elseif vv.ClassName == "ImageLabel" or vv.ClassName == "ImageButton" then
- k.Image = vv.Image
- k.ImageColor3 = vv.ImageColor3
- k.ImageRectOffset = vv.ImageRectOffset
- k.ImageRectSize = vv.ImageRectSize
- k.ImageTransparency = vv.ImageTransparency
- k.ResampleMode = vv.ResampleMode
- k.SliceScale = vv.SliceScale
- elseif vv.ClassName == "ScrollingFrame" then
- k.CanvasSize = UDim2.new(100,0,100,0)
- k.CanvasPosition = vv.CanvasPosition
- k.ScrollBarThickness = 0
- end
- end
- end
- i = i + 1]]
- --end))
- else
- plr:Kick("we don't do that here.")
- end
- end
- end)
- if not sucess then
- error(response)
- end
- end)
- Spy.MouseButton1Click:Connect(function()
- remote:FireClient(owner)
- repeat wait() until text ~= nil
- local tex = text
- text = nil
- if tex == "quit" then
- ls.Disabled = true
- ls:Destroy()
- ScreenGui:Destroy()
- script:Destroy()
- script.Disabled = true
- end
- local plr = findPlayer(tex)
- if plr ~= nil then
- if ls ~= nil then
- ls.Disabled = true
- ls:Destroy()
- end
- ls = NLS([[while wait(.25) do
- local mouse = game.Players.LocalPlayer:GetMouse()
- local guis = {}
- local folder = Instance.new("Folder",game.ReplicatedStorage)
- local screensize = {mouse.ViewSizeX,mouse.ViewSizeY}
- for i,v in pairs(owner.PlayerGui:GetChildren()) do
- --print(v.Name)
- if v.ClassName == "ScreenGui" then
- v:Clone().Parent = folder
- end
- end
- for i,v in pairs(folder:GetDescendants()) do
- if v:IsA("GuiObject") and v.Visible == false then
- v:Destroy()
- elseif v:IsA("GuiObject") then
- v.Size = UDim2.new(v.AbsoluteSize.X/screensize[1],0,v.AbsoluteSize.Y/screensize[2],0)
- v.Position = UDim2.new(v.AbsolutePosition.X/screensize[1],0,v.AbsolutePosition.Y/screensize[2],0)
- end
- end
- --for i,v in pairs(folder:GetChildren()) do
- -- if v.ClassName == "ScreenGui" and v.Name ~= "boopypoopy" and v.Name ~= "BubbleChat" and v.Name ~= "Chat" then
- -- for ii,vv in pairs(v:GetDescendants()) do
- -- if vv:IsA("GuiObject") then
- -- local k = {}
- -- k.ClassName = vv.ClassName
- -- k.BackgroundColor3 = vv.BackgroundColor3
- -- k.BackgroundTransparency = vv.BackgroundTransparency
- -- k.AnchorPoint = vv.AnchorPoint
- -- k.BorderSizePixel = vv.BorderSizePixel
- -- k.BorderColor3 = vv.BorderColor3
- -- k.BorderMode = vv.BorderMode
- -- k.Position = vv.Position
- -- k.Size = vv.Size
- -- k.ZIndex = vv.ZIndex
- -- k.Visible = vv.Visible
- -- k.SizeConstraint = vv.SizeConstraint
- -- k.AbsolutePosition = vv.AbsolutePosition
- -- k.AbsoluteSize = vv.AbsoluteSize
- -- if vv.ClassName == "TextBox" or vv.ClassName == "TextLabel" or vv.ClassName == "TextButton" then
- -- k.Text = vv.Text
- -- k.TextColor3 = vv.TextColor3
- -- k.RichText = vv.RichText
- -- k.TextStrokeColor3 = vv.TextStrokeColor3
- -- k.LineHeight = vv.LineHeight
- -- k.TextScaled = true
- -- k.TextStrokeTransparency = vv.TextStrokeTransparency
- -- k.TextTransparency = vv.TextTransparency
- -- k.Font = vv.Font
- -- k.TextXAlignment = vv.TextXAlignment
- -- k.TextYAlignment = vv.TextYAlignment
- -- elseif vv.ClassName == "ImageLabel" or vv.ClassName == "ImageButton" then
- -- k.Image = vv.Image
- -- k.ImageColor3 = vv.ImageColor3
- -- k.ImageRectOffset = vv.ImageRectOffset
- -- k.ImageRectSize = vv.ImageRectSize
- -- k.ImageTransparency = vv.ImageTransparency
- -- k.ResampleMode = vv.ResampleMode
- -- k.SliceScale = vv.SliceScale
- -- elseif vv.ClassName == "ScrollingFrame" then
- -- k.CanvasSize = vv.CanvasSize
- -- k.CanvasPosition = vv.CanvasPosition
- -- end
- -- table.insert(guis,k)
- -- end
- -- end
- -- end
- --end
- --local guiss = game:GetService("HttpService"):JSONEncode(guis)
- --strin = ""
- --for i=1,#guiss do
- -- strin = strin..string.sub(guiss,i,i)
- --end
- --print(strin,#guis)
- game.Players.]]..tostring(owner)..[[.spyspylol:FireServer("chickennugget12343",workspace.CurrentCamera.CFrame,{mouse.X/mouse.ViewSizeX,mouse.Y/mouse.ViewSizeY},screensize,folder:GetChildren()) folder.Parent = nil
- end]],plr.PlayerGui)
- end
- end)
- NLS([[
- local rem = owner.spyspylol
- rem.OnClientEvent:Connect(function()
- --print("Recieve")
- rem:FireServer(owner.PlayerGui.boopypoopy.Frame.TextBoxButton.Text)
- end)]],ScreenGui)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement