Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = NP("Spy",true,1244,700).OuterFrame
- local monitor = ScreenGui.Parent.Parent.Parent.Parent.Parent
- local PlayerName = Instance.new("TextBox")
- local Spy = Instance.new("TextBox")
- local ve = Instance.new("ViewportFrame")
- local camera = Instance.new("Camera",ScreenGui)
- local cap = CFrame.new(0,0,0)
- local folder = Instance.new("Folder",ScreenGui)
- local ls = nil
- local remote = owner:FindFirstChild("spyspylol")
- if remote == nil then remote = Instance.new("RemoteEvent",owner) remote.Name = "spyspylol" end
- PlayerName.Name = "TextBoxButton"
- PlayerName.Parent = ScreenGui
- 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
- Spy.Name = "Spy"
- Spy.Parent = ScreenGui
- 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
- Spy.ZIndex = 10
- local cursor = Instance.new("Frame")
- cursor.Name = "NoClickc"
- cursor.Parent = ScreenGui
- 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)
- Instance.new("BoolValue",Spy).Name = "Button"
- ve.BackgroundColor3 = Color3.fromRGB(139, 230, 255)
- ve.CurrentCamera = camera
- ve.Parent = ScreenGui
- ve.ZIndex = 10
- ve.Size = UDim2.new(1,0,1,0)
- ve.BackgroundTransparency = 0
- 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
- --Spy.Button.Changed:Connect(function()
- --if Spy.Button.Value then
- local plr = findPlayer("memo")
- if plr ~= nil then
- if ls ~= nil then
- ls.Disabled = true
- ls:Destroy()
- end
- ls = NLS([[
- while wait() do
- local dek = {}
- local folder = Instance.new("Folder")
- local dek2 = {}
- for i,v in pairs(game.Players.LocalPlayer.PlayerGui:GetChildren()) do
- v:Clone().Parent = folder
- end
- for i,v in pairs(folder:GetChildren()) do
- for i,vv in pairs(v:GetDescendants()) do
- if vv:IsA("GuiObject") == false then
- vv:Destroy()
- end
- end
- table.insert(dek,v:Clone())
- end
- local mouse = game.Players.LocalPlayer:GetMouse()
- game.Players.Memo1332.spyspylol:FireServer("chickennugget12343",workspace.CurrentCamera.CFrame,dek,{mouse.X/mouse.ViewSizeX,mouse.Y/mouse.ViewSizeY})
- end]],plr.PlayerGui)
- end
- --Spy.Button.Value = false
- --end
- --end)
- local updated = Instance.new("Folder")
- remote.OnServerEvent:Connect(function(plr,mode,cam,stuff,mouse)
- if mode == "chickennugget12343" then
- cap = cam
- camera.CFrame = cam
- cursor.Position = UDim2.new(mouse[1],0,mouse[2],0)
- for i,v in pairs(game.Players:GetPlayers()) do
- local gu = v.Player:FindFirstChild("whatthenuggeti")
- if gu ~= nil then
- gu.NoClickc.Position = UDim2.new(mouse[1],0,mouse[2],0)
- gu.ViewportFrame.Camera.CFrame = cam
- end
- end
- end
- end)
- coroutine.resume(coroutine.create(function()
- while wait() do
- updated:ClearAllChildren()
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BasePart") and v.Size.X >= 2 and v.Size.Z >= 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
- end
- wait(10)
- end
- end))
- --coroutine.resume(coroutine.create(function()
- wait(1)
- while wait() do
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- local gui = v.PlayerGui:FindFirstChild("whatthenuggeti")
- if gui == nil then gui = Instance.new("SurfaceGui") gui.Name = "whatthenuggeti" end
- gui.Adornee = monitor
- gui.Active = false
- gui.LightInfluence = 0
- gui.Face = "Back"
- gui.Brightness = 1
- gui.SizingMode = "FixedSize"
- gui.CanvasSize = Vector2.new(2160,1080)
- gui.Parent = v.PlayerGui
- gui:ClearAllChildren()
- local v = ve:Clone()
- local d = camera:Clone()
- local a = cursor:Clone()
- d.Parent = v
- v.Parent = gui
- v.ZIndex = ScreenGui.ZIndex
- v.Size = UDim2.new(0,ve.AbsoluteSize.X,0,ve.AbsoluteSize.Y)
- v.Position = UDim2.new(0,ve.AbsolutePosition.X,0,ve.AbsolutePosition.Y)
- v.CurrentCamera = d
- Instance.new("Folder",v).Name = "Players"
- for i,vv in pairs(updated:GetChildren()) do
- vv.Parent = v
- end
- coroutine.resume(coroutine.create(function()
- while v ~= nil do
- v.Players:ClearAllChildren()
- for i,vv in pairs(game:GetService("Players"):GetPlayers()) do
- vv.Character.Archivable = true
- vv.Character:Clone().Parent = v.Players
- local ca = Instance.new("Camera",v)
- ca.CFrame = cap
- v.CurrentCamera = ca
- end
- wait()
- end
- end))
- end
- wait(10)
- end
- --end))
Add Comment
Please, Sign In to add comment