Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- --Properties:
- ScreenGui.Parent = owner:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- local viewportFrame = Instance.new("ViewportFrame")
- viewportFrame.Size = UDim2.new(0.3, 0, 0.4, 0)
- viewportFrame.Position = UDim2.new(0, 15, 0, 15)
- viewportFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- viewportFrame.BorderColor3 = Color3.new(0.6, 0.5, 0.4)
- viewportFrame.BorderSizePixel = 2
- viewportFrame.BackgroundTransparency = 0.25
- viewportFrame.Parent = ScreenGui
- local viewportCamera = Instance.new("Camera")
- viewportFrame.CurrentCamera = viewportCamera
- viewportCamera.Parent = viewportFrame
- viewportCamera.CFrame = CFrame.new(Vector3.new(0, 700, 0), Vector3.new(0, 0, 0))
- local Point1 = Vector3.new(-2500,-10,-2500)
- local Point2 = Vector3.new(2500,2500,2000)
- local Region = Region3.new(Point1,Point2)
- for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
- local Part = Part:Clone()
- Part.Parent = viewportFrame
- if Part.Name == "Head" then
- local Pos = Instance.new("Part", viewportFrame)
- Pos.Name = "Pos"
- Pos.Size = Vector3.new(0.1,10.3,10.3)
- Pos.Position = Part.Position
- Pos.Rotation = Vector3.new(0, 0, 90)
- Pos.CanCollide = true
- Pos.Anchored = true
- Pos.Shape = Enum.PartType.Cylinder
- Pos.TopSurface = Enum.SurfaceType.Smooth
- Pos.BottomSurface = Enum.SurfaceType.Smooth
- end
- for i,o in pairs(Part:GetChildren()) do
- o:Remove()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment