Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = owner
- char = plr.Character
- --[[
- local screen = Instance.new("Part",workspace)
- screen.Anchored = true
- screen.Size = Vector3.new(16.25, 12.5, 2)
- screen.Position = Vector3.new(0, 12.5 / 2, 0)
- local surface = Instance.new("SurfaceGui",screen)
- local viewport = Instance.new("ViewportFrame",surface)
- viewport.Size = UDim2.new(0, 812, 0, 775)
- viewport.BackgroundTransparency = 1
- local camera = Instance.new("Camera",viewport)
- camera.CFrame = CFrame.new(0, 0, 0)
- ]]--
- NLS([[local screen = Instance.new("ScreenGui", owner:findFirstChildOfClass("PlayerGui"))
- local ViewportFrame = Instance.new("ViewportFrame", screen)
- ViewportFrame.Size = UDim2.new(1, 0, 1, 36)
- ViewportFrame.Position = ViewportFrame.Position + UDim2.new(0,0,0,-36)
- ViewportFrame.BackgroundTransparency = 1
- ViewportFrame.ImageTransparency = 0
- local ViewportCamera = Instance.new("Camera", ViewportFrame)
- ViewportFrame.CurrentCamera = ViewportCamera
- ViewportCamera.CFrame = workspace.CurrentCamera.CFrame
- local e = Instance.new("Model",ViewportFrame)
- coroutine.wrap(function()
- while game:GetService("RunService").RenderStepped:wait() do
- ViewportCamera.CFrame = CFrame.new(0, 0, 0)
- end
- end)()
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- local vclone = v:Clone()
- vclone.Parent = ViewportFrame
- coroutine.wrap(function()
- while game:GetService("RunService").RenderStepped:wait() do
- if not v.Anchored then
- vclone.CFrame = v.CFrame
- end
- end
- end)()
- end
- end
- owner.Chatted:connect(function(msg)
- if msg == "-stop" then
- screen:remove()
- end
- end)
- ]],char)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement