Advertisement
DracoFAAD

Untitled

Feb 10th, 2023
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.77 KB | None | 0 0
  1. local ScreenGui = Instance.new('ScreenGui')
  2. ScreenGui.Name = 'ScreenGui'
  3. ScreenGui.Parent = game["CoreGui"]
  4. ScreenGui.Archivable = true
  5. ScreenGui.DisplayOrder = 0
  6. ScreenGui.Enabled = true
  7. ScreenGui.IgnoreGuiInset = true
  8. ScreenGui.ResetOnSpawn = true
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10.  
  11. local Frame = Instance.new('Frame')
  12. Frame.Name = 'Frame'
  13. Frame.Parent = ScreenGui
  14. Frame.Archivable = true
  15. Frame.SelectionImageObject = nil
  16. Frame.Active = false
  17. Frame.AnchorPoint = Vector2.new(0, 0)
  18. Frame.AutomaticSize = Enum.AutomaticSize.None
  19. Frame.BackgroundColor3 = Color3.new(0.25098, 0.25098, 0.25098)
  20. Frame.BackgroundTransparency = 0
  21. Frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  22. Frame.BorderMode = Enum.BorderMode.Outline
  23. Frame.BorderSizePixel = 1
  24. Frame.LayoutOrder = 0
  25. Frame.Position = UDim2.new(0.2892307639122009, 0, 0.3029925227165222, 0)
  26. Frame.Rotation = 0
  27. Frame.Size = UDim2.new(0.42076924443244934, 0, 0.39276808500289917, 0)
  28. Frame.SizeConstraint = Enum.SizeConstraint.RelativeXY
  29. Frame.Style = Enum.FrameStyle.Custom
  30. Frame.Visible = true
  31. Frame.ZIndex = 1
  32.  
  33. local TextLabel = Instance.new('TextLabel')
  34. TextLabel.Name = 'TextLabel'
  35. TextLabel.Parent = Frame
  36. TextLabel.Archivable = true
  37. TextLabel.SelectionImageObject = nil
  38. TextLabel.Active = false
  39. TextLabel.AnchorPoint = Vector2.new(0, 0)
  40. TextLabel.AutomaticSize = Enum.AutomaticSize.None
  41. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  42. TextLabel.BackgroundTransparency = 1
  43. TextLabel.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  44. TextLabel.BorderMode = Enum.BorderMode.Outline
  45. TextLabel.BorderSizePixel = 1
  46. TextLabel.LayoutOrder = 0
  47. TextLabel.Position = UDim2.new(0.1590493619441986, 0, 0.42222222685813904, 0)
  48. TextLabel.Rotation = 0
  49. TextLabel.Size = UDim2.new(0.6819012761116028, 0, 0.1587301641702652, 0)
  50. TextLabel.SizeConstraint = Enum.SizeConstraint.RelativeXY
  51. TextLabel.Visible = true
  52. TextLabel.ZIndex = 1
  53. TextLabel.FontFace = Font.new ('rbxasset://fonts/families/SourceSansPro.json',Enum.FontWeight.Regular,Enum.FontStyle.Normal)
  54. TextLabel.LineHeight = 1
  55. TextLabel.MaxVisibleGraphemes = -1
  56. TextLabel.RichText = false
  57. TextLabel.Text = '0/0'
  58. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  59. TextLabel.TextScaled = true
  60. TextLabel.TextSize = 14
  61. TextLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
  62. TextLabel.TextStrokeTransparency = 1
  63. TextLabel.TextTransparency = 0
  64. TextLabel.TextTruncate = Enum.TextTruncate.None
  65. TextLabel.TextWrapped = true
  66. TextLabel.TextXAlignment = Enum.TextXAlignment.Center
  67. TextLabel.TextYAlignment = Enum.TextYAlignment.Center
  68.  
  69. local UITextSizeConstraint = Instance.new('UITextSizeConstraint')
  70. UITextSizeConstraint.Name = 'UITextSizeConstraint'
  71. UITextSizeConstraint.Parent = TextLabel
  72. UITextSizeConstraint.Archivable = true
  73. UITextSizeConstraint.MaxTextSize = 50
  74. UITextSizeConstraint.MinTextSize = 1
  75.  
  76. local UIAspectRatioConstraint = Instance.new('UIAspectRatioConstraint')
  77. UIAspectRatioConstraint.Name = 'UIAspectRatioConstraint'
  78. UIAspectRatioConstraint.Parent = TextLabel
  79. UIAspectRatioConstraint.Archivable = true
  80. UIAspectRatioConstraint.AspectRatio = 7.460000038146973
  81. UIAspectRatioConstraint.AspectType = Enum.AspectType.FitWithinMaxSize
  82. UIAspectRatioConstraint.DominantAxis = Enum.DominantAxis.Width
  83.  
  84. local UICorner = Instance.new('UICorner')
  85. UICorner.Name = 'UICorner'
  86. UICorner.Parent = Frame
  87. UICorner.Archivable = true
  88. UICorner.CornerRadius = UDim.new(0, 8)
  89.  
  90. local UIStroke = Instance.new('UIStroke')
  91. UIStroke.Name = 'UIStroke'
  92. UIStroke.Parent = Frame
  93. UIStroke.Archivable = true
  94. UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Contextual
  95. UIStroke.Color = Color3.new(0, 0, 0)
  96. UIStroke.LineJoinMode = Enum.LineJoinMode.Round
  97. UIStroke.Thickness = 6.900000095367432
  98. UIStroke.Transparency = 0
  99.  
  100. local UIAspectRatioConstraint7 = Instance.new('UIAspectRatioConstraint')
  101. UIAspectRatioConstraint7.Name = 'UIAspectRatioConstraint'
  102. UIAspectRatioConstraint7.Parent = Frame
  103. UIAspectRatioConstraint7.Archivable = true
  104. UIAspectRatioConstraint7.AspectRatio = 1.7365078926086426
  105. UIAspectRatioConstraint7.AspectType = Enum.AspectType.FitWithinMaxSize
  106. UIAspectRatioConstraint7.DominantAxis = Enum.DominantAxis.Width
  107.  
  108. local stops = 1
  109. function FullPath(object)
  110. if object == nil then
  111. return nil
  112. end
  113. local fullName = object:GetFullName()
  114. local ancestors = string.split(fullName, '.')
  115. if ancestors[1] == 'TeleportService' then
  116. return 'DONTDOIT'
  117. end
  118. local finalFullName = 'game:GetService(\"' .. ancestors[1] .. '\")'
  119. table.remove(ancestors, 1)
  120. for i, v in pairs(ancestors) do
  121. finalFullName = finalFullName .. "['" .. v .. "']"
  122. end
  123. return finalFullName
  124. end
  125. local done = 0
  126. local amount = 0
  127. function getChildren(currentStr, object)
  128. if amount == 0 then
  129. amount = #object:GetDescendants()
  130. end
  131. for i, v in pairs(object:GetDescendants()) do
  132. stops += 1
  133. if stops == 1000 then
  134.  
  135. wait()
  136. stops = 0
  137. end
  138.  
  139. if v ~= game:GetService('TeleportService') and v:FindFirstAncestorOfClass('TeleportService') == nil then
  140. if FullPath(v) == 'DONTDOIT' or FullPath(v) == nil or FullPath(v.Parent) == nil then continue end
  141. currentStr = currentStr .. '' .. v.Name .. '' .. ',' .. FullPath(v.Parent) .. ',' .. v.ClassName .. ',' ..FullPath(v) ..'LIONEROUTPUTNEWTESTOUTPUT'
  142. end
  143. done += 1
  144. TextLabel.Text = done .. "/" .. amount
  145. end
  146. return currentStr
  147. end
  148.  
  149. wait(1)
  150.  
  151. function final()
  152. local strin2 = getChildren('', game)
  153. TextLabel.Text = "Done!"
  154. wait(1)
  155. ScreenGui:Destroy()
  156. strin2 = string.sub(strin2, 1, string.len(strin2) - string.len('LIONEROUTPUTNEWTESTOUTPUT'))
  157. return strin2
  158. end
  159. writefile('LIONER3EDITOROUTPUT.txt', final())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement