Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 26/2/2020 by Konethorix --
- local gui = Instance.new('ScreenGui')
- gui.Name = 'AUDIO STEALER GUI'
- local scroll = Instance.new('ScrollingFrame')
- scroll.Size = UDim2.new(0.8,0,0.8,0)
- scroll.Position = UDim2.new(0.1,0,0.1,0)
- scroll.BackgroundColor3 = Color3.new(0,0,0)
- scroll.BackgroundTransparency = 0.5
- scroll.ScrollingDirection = Enum.ScrollingDirection.X
- scroll.CanvasSize = UDim2.new(0,20000,0,0)
- scroll.Parent = gui
- local listlayout = Instance.new('UIListLayout')
- listlayout.FillDirection = Enum.FillDirection.Horizontal
- listlayout.Parent = scroll
- local boxes = {}
- local boxnum = 1
- function makebox()
- local boz = Instance.new('TextBox')
- boz.Size = UDim2.new(0,250,1,-12)
- boz.PlaceholderText = "output goes here"
- boz.BackgroundColor3 = Color3.new(1,1,1)
- --boz.TextWrapped = true
- boz.TextSize = 12
- boz.ClearTextOnFocus = false
- boz.Text = ''
- boz.Parent = scroll
- boxes[boxnum] = boz
- local page = Instance.new('TextLabel')
- page.BackgroundColor3 = Color3.new(0,0,0)
- page.BackgroundTransparency = 0.5
- page.TextScaled = true
- page.Size = UDim2.new(0,40,0,40)
- page.Position = UDim2.new(0,0,1,-40-6)
- page.Text = boxnum
- page.Parent = boz
- return boz
- end
- local services = {workspace, game:GetService("Players").LocalPlayer, game.ReplicatedStorage}
- for i,serv in pairs(services) do
- for i,p in pairs(serv:GetDescendants()) do
- local boz
- if boxes[boxnum] == nil then
- boz = makebox()
- elseif #boxes[boxnum].Text + 384 > 128^2 then -- check if current box is full
- boxnum = boxnum + 1
- boz = makebox() -- set the boz var to the new box
- else
- boz = boxes[boxnum] -- set the boz var to the existing box
- end
- function cout(str) -- lmao
- boz.Text = boz.Text .. str
- end
- if p:IsA("Sound") then
- if p.Parent.Parent then
- cout(p.Parent.Parent.Name.. ' / ' ..p.Parent.Name.. ' / ' ..p.Name..' --> '..p.SoundId.. '\n')
- else
- cout(p.Parent.Name.. ' / ' ..p.Name..' --> '..p.SoundId.. '\n')
- end
- end
- end
- end
- gui.Parent = game:GetService('Players').LocalPlayer:WaitForChild('PlayerGui')
Add Comment
Please, Sign In to add comment