Run it
Copy the script and paste it into your executor.
ContentProvider = :()
ReplicatedStorage = :()
ReplicatedFirst = :()
Lighting = :()
MaterialService = :()
SoundService = :()
StarterPack = :()
Players = :()
RunService = :()
Stats = :()
TweenService = :()
UserInputService = :()
globalEnv = (() == ()) :: any
globalEnv.DevAssetProfilerCleanup
(globalEnv.DevAssetProfilerCleanup)
LocalPlayer = Players.LocalPlayer
LocalPlayer
Players:():()
LocalPlayer = Players.LocalPlayer
globalEnv.TrackerLoadedInstances
globalEnv.TrackerLoadedInstances = ({}, { __mode = })
seenInstances: {[]: boolean} = globalEnv.TrackerLoadedInstances
connections: {RBXScriptConnection} = {}
(signal: RBXScriptSignal, fn: (...any) -> ()): RBXScriptConnection
conn = signal:(fn)
.(connections, conn)
conn
CONFIG = {
BatchSize = ,
MaxWorkers = ,
ErrorPageSize = ,
SearchDebounce = ,
AnimSpeed = ,
MinWidth = ,
MinHeight = ,
MaxWidth = ,
MaxHeight = ,
}
THEME = {
BgMain = .(, , ),
BgSecondary = .(, , ),
BgCard = .(, , ),
Border = .(, , ),
TextPrimary = .(, , ),
TextMuted = .(, , ),
TextDim = .(, , ),
Accent = .(, , ),
Success = .(, , ),
SuccessBg = .(, , ),
Danger = .(, , ),
}
(className: , props: {[]: any}?): any
inst = .(className)
props
parent = props.Parent
k, v (props)
k ~=
(inst :: any)[k] = v
parent
inst.Parent = parent
inst
(parent: , radius: number): UICorner
c = .()
c.CornerRadius = .(, radius)
c.Parent = parent
c
(parent: , color: , thickness: number?): UIStroke
s = .()
s.Color = color
s.Thickness = thickness
s.ApplyStrokeMode = .ApplyStrokeMode.Border
s.Parent = parent
s
():
ok, target = (()
((gethui) == ()) :()
)
ok target
canParent = (()
t = .()
t.Parent = target
t:()
)
canParent target
LocalPlayer:()
FailedRecord = {
id: ,
name: ,
fullName: ,
assetType: ,
contentId: ,
targetInstance: ?,
reason: ,
retries: number,
}
ASSET_CLASSES: {[]: } = {
MeshPart = , SpecialMesh = , Decal = , Texture = ,
SurfaceAppearance = , Sound = , Animation = ,
ImageLabel = , ImageButton = , ParticleEmitter = ,
Beam = , Trail = , Sky = , Shirt = ,
Pants = , ShirtGraphic = ,
}
ASSET_PROPS: {[]: {}} = {
MeshPart = {, },
SpecialMesh = {, },
Decal = {},
Texture = {},
SurfaceAppearance = {, , , },
Sound = {},
Animation = {},
ImageLabel = {},
ImageButton = {},
ParticleEmitter = {},
Beam = {},
Trail = {},
Sky = {, , , , , },
Shirt = {},
Pants = {},
ShirtGraphic = {},
}
(inst: ): {}
props = ASSET_PROPS[inst.ClassName]
props {}
list = {}
_, prop (props)
ok, val = (() (inst :: any)[prop] )
ok (val) == val ~=
.(list, val)
list
state = {
totalInstances = ,
processedInstances = ,
totalFiles = ,
recoveredCount = ,
failed = {} :: {FailedRecord},
failedSeen = {} :: {[]: boolean},
isComplete = ,
activeStartTime = ,
accumulatedTime = ,
elapsedTime = ,
isRunning = ,
activeWorkers = ,
speed = ,
isMinimized = ,
activeTab = ,
savedSize = .(, , , ),
}
(inst: ): boolean
ASSET_CLASSES[inst.ClassName] ~=
(inst: ):
ASSET_CLASSES[inst.ClassName] inst.ClassName
(inst: ):
full = inst:()
(#full > ) ( .. .(full, -)) full
(sec: number):
.(, .(sec / ), .(sec % ))
ScreenGui = (, {
Name = ,
ResetOnSpawn = ,
DisplayOrder = ,
Parent = (),
})
globalEnv.DevAssetProfilerCleanup = ()
_, conn (connections)
conn:()
.(connections)
ScreenGui ScreenGui.Parent
ScreenGui:()
RootFrame = (, {
Name = ,
Size = state.savedSize,
Position = .(, -, , -),
BackgroundColor3 = THEME.BgMain,
BorderSizePixel = ,
ClipsDescendants = ,
Parent = ScreenGui,
})
(RootFrame, )
(RootFrame, THEME.Border)
Header = (, {
Name = ,
Size = .(, , , ),
BackgroundColor3 = THEME.BgSecondary,
BorderSizePixel = ,
Parent = RootFrame,
})
(Header, )
(, {
Size = .(, , , ),
Position = .(, , , -),
BackgroundColor3 = THEME.Border,
BorderSizePixel = ,
Parent = Header,
})
StatusDot = (, {
Size = .(, , , ),
Position = .(, , , -),
BackgroundColor3 = THEME.Accent,
BorderSizePixel = ,
Parent = Header,
})
(StatusDot, )
TitleLabel = (, {
Size = .(, , , ),
Position = .(, , , ),
BackgroundTransparency = ,
TextColor3 = THEME.TextPrimary,
Font = .Font.RobotoMono,
TextSize = ,
Text = ,
TextXAlignment = .TextXAlignment.Left,
Parent = Header,
})
TabNav = (, {
Size = .(, , , ),
Position = .(, , , -),
BackgroundColor3 = THEME.BgMain,
BorderSizePixel = ,
Parent = Header,
})
(TabNav, )
(TabNav, THEME.Border)
TabMonitorBtn = (, {
Size = .(, , , ),
BackgroundColor3 = THEME.BgCard,
TextColor3 = THEME.TextPrimary,
Font = .Font.GothamMedium,
TextSize = ,
Text = ,
BorderSizePixel = ,
Parent = TabNav,
})
(TabMonitorBtn, )
TabErrorsBtn = (, {
Size = .(, , , ),
Position = .(, , , ),
BackgroundTransparency = ,
TextColor3 = THEME.TextMuted,
Font = .Font.GothamMedium,
TextSize = ,
Text = ,
BorderSizePixel = ,
Parent = TabNav,
})
(TabErrorsBtn, )
MinBtn = (, {
Size = .(, , , ),
Position = .(, -, , -),
BackgroundColor3 = THEME.BgMain,
BorderSizePixel = ,
TextColor3 = THEME.TextMuted,
Font = .Font.GothamBold,
TextSize = ,
Text = ,
Parent = Header,
})
(MinBtn, )
(MinBtn, THEME.Border)
MonitorPage = (, {
Name = ,
Size = .(, -, , -),
Position = .(, , , ),
BackgroundTransparency = ,
Parent = RootFrame,
})
ProgressRow = (, {
Size = .(, , , ),
BackgroundTransparency = ,
Parent = MonitorPage,
})
PercentText = (, {
Size = .(, , , ),
BackgroundTransparency = ,
Font = .Font.GothamBold,
TextSize = ,
TextColor3 = THEME.TextPrimary,
Text = ,
TextXAlignment = .TextXAlignment.Left,
Parent = ProgressRow,
})
CountText = (, {
Size = .(, , , ),
Position = .(, , , ),
BackgroundTransparency = ,
Font = .Font.RobotoMono,
TextSize = ,
TextColor3 = THEME.TextMuted,
Text = ,
TextXAlignment = .TextXAlignment.Right,
Parent = ProgressRow,
})
ProgressTrack = (, {
Size = .(, , , ),
Position = .(, , , ),
BackgroundColor3 = THEME.BgCard,
BorderSizePixel = ,
Parent = MonitorPage,
})
(ProgressTrack, )
ProgressBar = (, {
Size = .(, , , ),
BackgroundColor3 = THEME.Accent,
BorderSizePixel = ,
Parent = ProgressTrack,
})
(ProgressBar, )
TargetCard = (, {
Size = .(, , , ),
Position = .(, , , ),
BackgroundColor3 = THEME.BgSecondary,
BorderSizePixel = ,
Parent = MonitorPage,
})
(TargetCard, )
(TargetCard, THEME.Border)
CurrentPath = (, {
Size = .(, -, , ),
Position = .(, , , ),
BackgroundTransparency = ,
Font = .Font.RobotoMono,
TextSize = ,
TextColor3 = THEME.TextPrimary,
Text = ,
TextTruncate = .TextTruncate.AtEnd,
TextXAlignment = .TextXAlignment.Left,
Parent = TargetCard,
})
CurrentMeta = (, {
Size = .(, -, , ),
Position = .(, , , ),
BackgroundTransparency = ,
Font = .Font.Gotham,
TextSize = ,
TextColor3 = THEME.TextDim,
Text = ,
TextXAlignment = .TextXAlignment.Left,
Parent = TargetCard,
})
TelemetryRow = (, {
Size = .(, , , ),
Position = .(, , , -),
BackgroundTransparency = ,
Parent = MonitorPage,
})
(, {
FillDirection = .FillDirection.Horizontal,
VerticalAlignment = .VerticalAlignment.Center,
Padding = .(, ),
Parent = TelemetryRow,
})
(defaultText: ): TextLabel
(, {
AutomaticSize = .AutomaticSize.X,
Size = .(, , , ),
BackgroundTransparency = ,
Font = .Font.RobotoMono,
TextSize = ,
TextColor3 = THEME.TextDim,
Text = defaultText,
Parent = TelemetryRow,
})
ChipFps = ()
ChipPing = ()
ChipSpeed = ()
ChipEta = ()
ChipTime = ()
ErrorsPage = (, {
Name = ,
Size = .(, -, , -),
Position = .(, , , ),
BackgroundTransparency = ,
Visible = ,
Parent = RootFrame,
})
SearchInput = (, {
Size = .(, -, , ),
BackgroundColor3 = THEME.BgSecondary,
BorderSizePixel = ,
PlaceholderText = ,
PlaceholderColor3 = THEME.TextDim,
TextColor3 = THEME.TextPrimary,
Font = .Font.RobotoMono,
TextSize = ,
Text = ,
ClearTextOnFocus = ,
Parent = ErrorsPage,
})
(SearchInput, )
(SearchInput, THEME.Border)
(, { PaddingLeft = .(, ), Parent = SearchInput })
RetryAllBtn = (, {
Size = .(, , , ),
Position = .(, -, , ),
BackgroundColor3 = THEME.BgCard,
BorderSizePixel = ,
TextColor3 = THEME.Accent,
Font = .Font.GothamMedium,
TextSize = ,
Text = ,
Parent = ErrorsPage,
})
(RetryAllBtn, )
(RetryAllBtn, THEME.Border)
ErrorScroll = (, {
Size = .(, , , -),
Position = .(, , , ),
BackgroundTransparency = ,
BorderSizePixel = ,
ScrollBarThickness = ,
ScrollBarImageColor3 = THEME.Border,
AutomaticCanvasSize = .AutomaticSize.Y,
CanvasSize = .(, , , ),
Parent = ErrorsPage,
})
(, { PaddingRight = .(, ), Parent = ErrorScroll })
(, {
Padding = .(, ),
SortOrder = .SortOrder.LayoutOrder,
Parent = ErrorScroll,
})
InfoPage = (, {
Name = ,
Size = .(, -, , -),
Position = .(, , , ),
BackgroundTransparency = ,
Visible = ,
Parent = RootFrame,
})
InfoHeader = (, {
Size = .(, , , ),
BackgroundTransparency = ,
Parent = InfoPage,
})
InfoBackBtn = (, {
Size = .(, , , ),
BackgroundColor3 = THEME.BgSecondary,
BorderSizePixel = ,
TextColor3 = THEME.TextMuted,
Font = .Font.GothamMedium,
TextSize = ,
Text = ,
Parent = InfoHeader,
})
(InfoBackBtn, )
(InfoBackBtn, THEME.Border)
(, {
Size = .(, -, , ),
Position = .(, , , ),
BackgroundTransparency = ,
Font = .Font.RobotoMono,
TextSize = ,
TextColor3 = THEME.TextPrimary,
Text = ,
TextXAlignment = .TextXAlignment.Left,
Parent = InfoHeader,
})
InfoScroll = (, {
Size = .(, , , -),
Position = .(, , , ),
BackgroundColor3 = THEME.BgSecondary,
BorderSizePixel = ,
ScrollBarThickness = ,
ScrollBarImageColor3 = THEME.Border,
AutomaticCanvasSize = .AutomaticSize.Y,
CanvasSize = .(, , , ),
Parent = InfoPage,
})
(InfoScroll, )
(InfoScroll, THEME.Border)
(, {
PaddingTop = .(, ), PaddingBottom = .(, ),
PaddingLeft = .(, ), PaddingRight = .(, ),
Parent = InfoScroll,
})
(, { Padding = .(, ), SortOrder = .SortOrder.LayoutOrder, Parent = InfoScroll })
(label: ): TextLabel
box = (, {
AutomaticSize = .AutomaticSize.Y,
Size = .(, , , ),
BackgroundColor3 = THEME.BgCard,
BorderSizePixel = ,
Parent = InfoScroll,
})
(box, )
(box, THEME.Border)
(, {
PaddingTop = .(, ), PaddingBottom = .(, ),
PaddingLeft = .(, ), PaddingRight = .(, ),
Parent = box,
})
(, {
Size = .(, , , ),
BackgroundTransparency = ,
Font = .Font.GothamMedium,
TextSize = ,
TextColor3 = THEME.TextDim,
Text = .(label),
TextXAlignment = .TextXAlignment.Left,
Parent = box,
})
(, {
AutomaticSize = .AutomaticSize.Y,
Size = .(, , , ),
Position = .(, , , ),
BackgroundTransparency = ,
Font = .Font.RobotoMono,
TextSize = ,
TextColor3 = THEME.TextPrimary,
Text = ,
TextWrapped = ,
TextXAlignment = .TextXAlignment.Left,
Parent = box,
})
DiagName = ()
DiagClass = ()
DiagStatus = ()
DiagId = ()
DiagPath = ()
InfoActionRow = (, {
Size = .(, , , ),
Position = .(, , , -),
BackgroundTransparency = ,
Parent = InfoPage,
})
InfoRetryBtn = (, {
Size = .(, -, , ),
BackgroundColor3 = THEME.BgCard,
BorderSizePixel = ,
TextColor3 = THEME.Accent,
Font = .Font.GothamMedium,
TextSize = ,
Text = ,
Parent = InfoActionRow,
})
(InfoRetryBtn, )
(InfoRetryBtn, THEME.Border)
InfoCopyBtn = (, {
Size = .(, -, , ),
Position = .(, , , ),
BackgroundColor3 = THEME.BgCard,
BorderSizePixel = ,
TextColor3 = THEME.TextMuted,
Font = .Font.GothamMedium,
TextSize = ,
Text = ,
Parent = InfoActionRow,
})
(InfoCopyBtn, )
(InfoCopyBtn, THEME.Border)
ResizeGrip = (, {
Size = .(, , , ),
Position = .(, -, , -),
BackgroundTransparency = ,
Active = ,
ZIndex = ,
Parent = RootFrame,
})
_, offset ({, , })
(, {
Size = .(, offset, , ),
Position = .(, -offset, , -offset),
BackgroundColor3 = THEME.Border,
BorderSizePixel = ,
ZIndex = ,
Parent = ResizeGrip,
})
currentRecord: FailedRecord? =
renderErrors: (query: ?) -> ()
switchTab: (tab: ) -> ()
openDiagnostics: (record: FailedRecord) -> ()
()
safeTotal = .(, state.totalInstances)
progress = .(state.processedInstances / safeTotal, , )
pct = .(progress * )
PercentText.Text = pct ..
CountText.Text = .(, state.processedInstances, state.totalInstances)
TabErrorsBtn.Text = .(, #state.failed)
TabErrorsBtn.TextColor3 = (#state.failed > ) THEME.Danger THEME.TextMuted
state.isMinimized
TitleLabel.Text = pct ..
TweenService:(ProgressBar, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {
Size = .(progress, , , ),
}):()
filteredErrors: {FailedRecord} = {}
renderedErrorCount =
loadMoreBtn: TextButton? =
(errRecord: FailedRecord, actionBtn: TextButton?, cardFrame: Frame?)
actionBtn
actionBtn.Text =
actionBtn.TextColor3 = THEME.TextMuted
.(()
startTime = .()
targetToLoad: {any} = {}
errRecord.targetInstance errRecord.targetInstance.Parent
.(targetToLoad, errRecord.targetInstance)
errRecord.contentId ~=
.(targetToLoad, errRecord.contentId)
retrySucceeded =
latestStatus =
#targetToLoad >
ContentProvider:(targetToLoad, (loadedId, status)
loadedId == errRecord.contentId errRecord.contentId ==
latestStatus = (status)
status == .AssetFetchStatus.Success
retrySucceeded =
)
latestStatus =
elapsedMs = .((.() - startTime) * )
retrySucceeded
actionBtn
actionBtn.Text = .(, elapsedMs)
actionBtn.TextColor3 = THEME.Success
cardFrame
cardFrame.BackgroundColor3 = THEME.SuccessBg
s = cardFrame:()
s
s.Color = THEME.Success
.(, ()
i, item (state.failed)
item == errRecord item.id == errRecord.id
.(state.failed, i)
i, item (filteredErrors)
item == errRecord item.id == errRecord.id
.(filteredErrors, i)
state.failedSeen[errRecord.id] =
state.recoveredCount +=
()
state.activeTab ==
cardFrame cardFrame.Parent
cardFrame:()
#filteredErrors ==
(SearchInput.Text)
state.activeTab ==
()
)
errRecord.retries +=
errRecord.reason = .(, latestStatus, errRecord.retries + )
actionBtn
actionBtn.Text =
actionBtn.TextColor3 = THEME.Danger
.(, ()
actionBtn.Text =
actionBtn.TextColor3 = THEME.Accent
)
state.activeTab == currentRecord == errRecord
DiagStatus.Text = errRecord.reason
()
)
(err: FailedRecord, layoutOrder: number)
card = (, {
Name = .. layoutOrder,
LayoutOrder = layoutOrder,
Size = .(, , , ),
BackgroundColor3 = THEME.BgSecondary,
BorderSizePixel = ,
Parent = ErrorScroll,
})
(card, )
(card, THEME.Border)
(, {
Size = .(, -, , ),
Position = .(, , , ),
BackgroundTransparency = ,
Font = .Font.RobotoMono,
TextSize = ,
TextColor3 = THEME.TextPrimary,
Text = err.name,
TextTruncate = .TextTruncate.AtEnd,
TextXAlignment = .TextXAlignment.Left,
Parent = card,
})
(, {
Size = .(, -, , ),
Position = .(, , , ),
BackgroundTransparency = ,
Font = .Font.Gotham,
TextSize = ,
TextColor3 = THEME.Danger,
Text = .(, err.assetType, err.reason),
TextTruncate = .TextTruncate.AtEnd,
TextXAlignment = .TextXAlignment.Left,
Parent = card,
})
btnHolder = (, {
Size = .(, , , ),
Position = .(, -, , ),
BackgroundTransparency = ,
Parent = card,
})
(, {
FillDirection = .FillDirection.Horizontal,
HorizontalAlignment = .HorizontalAlignment.Right,
VerticalAlignment = .VerticalAlignment.Center,
Padding = .(, ),
Parent = btnHolder,
})
infoBtn = (, {
Size = .(, , , ),
BackgroundColor3 = THEME.BgCard,
BorderSizePixel = ,
TextColor3 = THEME.TextMuted,
Font = .Font.GothamMedium,
TextSize = ,
Text = ,
Parent = btnHolder,
})
(infoBtn, )
retryBtn = (, {
Size = .(, , , ),
BackgroundColor3 = THEME.BgCard,
BorderSizePixel = ,
TextColor3 = THEME.Accent,
Font = .Font.GothamMedium,
TextSize = ,
Text = ,
Parent = btnHolder,
})
(retryBtn, )
copyBtn = (, {
Size = .(, , , ),
BackgroundColor3 = THEME.BgCard,
BorderSizePixel = ,
TextColor3 = THEME.TextMuted,
Font = .Font.GothamMedium,
TextSize = ,
Text = ,
Parent = btnHolder,
})
(copyBtn, )
infoBtn.MouseButton1Click:(()
(err)
)
retryBtn.MouseButton1Click:(()
(err, retryBtn, card)
)
copyBtn.MouseButton1Click:(()
(setclipboard) ==
(.(, err.fullName, err.assetType, err.contentId, err.reason))
copyBtn.Text =
.(, () copyBtn.Text = )
)
()
renderedErrorCount >= #filteredErrors
loadMoreBtn
loadMoreBtn:()
loadMoreBtn =
nextLimit = .(#filteredErrors, renderedErrorCount + CONFIG.ErrorPageSize)
idx = renderedErrorCount + , nextLimit
(filteredErrors[idx], idx)
renderedErrorCount = nextLimit
remaining = #filteredErrors - renderedErrorCount
remaining >
loadMoreBtn
btn = (, {
Name = ,
LayoutOrder = ,
Size = .(, , , ),
BackgroundColor3 = THEME.BgCard,
BorderSizePixel = ,
TextColor3 = THEME.Accent,
Font = .Font.GothamMedium,
TextSize = ,
Parent = ErrorScroll,
})
(btn, )
(btn, THEME.Border)
btn.MouseButton1Click:(renderNextErrorChunk)
loadMoreBtn = btn
loadMoreBtn
loadMoreBtn.Text = .(, remaining)
loadMoreBtn
loadMoreBtn:()
loadMoreBtn =
ErrorScroll:():(()
renderedErrorCount < #filteredErrors
canvasBottom = ErrorScroll.CanvasPosition.Y + ErrorScroll.AbsoluteWindowSize.Y
totalHeight = ErrorScroll.AbsoluteCanvasSize.Y
totalHeight > canvasBottom >= totalHeight -
()
)
renderErrors = (query: ?)
loadMoreBtn =
_, item (ErrorScroll:())
item:() item:() item:()
item:()
.(filteredErrors)
renderedErrorCount =
q = .(query )
_, err (state.failed)
matches = (q == )
.(.(err.name), q, , )
.(.(err.reason), q, , )
.(.(err.fullName), q, , )
.(.(err.contentId), q, , )
matches
.(filteredErrors, err)
#filteredErrors ==
(, {
Size = .(, , , ),
BackgroundTransparency = ,
Font = .Font.Gotham,
TextSize = ,
TextColor3 = THEME.TextDim,
Text = (q == ) ,
Parent = ErrorScroll,
})
ErrorScroll.CanvasPosition = .zero
()
switchTab = (tab: )
state.activeTab = tab
MonitorPage.Visible = (tab == )
ErrorsPage.Visible = (tab == )
InfoPage.Visible = (tab == )
TabMonitorBtn.BackgroundColor3 = (tab == ) THEME.BgCard THEME.BgMain
TabMonitorBtn.BackgroundTransparency = (tab == )
TabMonitorBtn.TextColor3 = (tab == ) THEME.TextPrimary THEME.TextMuted
TabErrorsBtn.BackgroundColor3 = (tab == ) THEME.BgCard THEME.BgMain
TabErrorsBtn.BackgroundTransparency = (tab == )
TabErrorsBtn.TextColor3 = (tab == ) THEME.TextPrimary THEME.TextMuted
tab ==
(SearchInput.Text)
openDiagnostics = (record: FailedRecord)
currentRecord = record
DiagName.Text = record.name
DiagClass.Text = record.assetType
DiagStatus.Text = record.reason
DiagStatus.TextColor3 = THEME.Danger
DiagId.Text = (record.contentId ~= record.contentId)
DiagPath.Text = record.fullName
()
TabMonitorBtn.MouseButton1Click:(() () )
TabErrorsBtn.MouseButton1Click:(() () )
InfoBackBtn.MouseButton1Click:(() () )
InfoCopyBtn.MouseButton1Click:(()
currentRecord
report = .(,
currentRecord.name, currentRecord.assetType, currentRecord.reason, currentRecord.contentId, currentRecord.fullName)
(setclipboard) ==
(report)
InfoCopyBtn.Text =
.(, () InfoCopyBtn.Text = )
)
InfoRetryBtn.MouseButton1Click:(()
currentRecord
(currentRecord, InfoRetryBtn, )
)
searchDeb: thread? =
SearchInput:():(()
searchDeb .(searchDeb)
searchDeb = .(CONFIG.SearchDebounce, ()
(SearchInput.Text)
)
)
RetryAllBtn.MouseButton1Click:(()
#state.failed ==
RetryAllBtn.Text =
.(()
recovered =
toRetry: {} = {}
_, item (state.failed)
item.targetInstance item.targetInstance.Parent
.(toRetry, item.targetInstance)
#toRetry >
ContentProvider:(toRetry, (contentId, status)
status == .AssetFetchStatus.Success
i = #state.failed, , -
f = state.failed[i]
f.contentId == contentId
state.failedSeen[f.id] =
.(state.failed, i)
recovered +=
)
state.recoveredCount += recovered
RetryAllBtn.Text = .(, recovered)
()
(SearchInput.Text)
.(, () RetryAllBtn.Text = )
)
)
isDragging, dragStart, frameStart = , .zero, .()
isResizing, resizeStart, startSize = , .zero, .zero
Header.InputBegan:((input: InputObject)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
isDragging =
dragStart = input.Position
frameStart = RootFrame.Position
)
ResizeGrip.InputBegan:((input: InputObject)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
isResizing =
resizeStart = .(input.Position.X, input.Position.Y)
startSize = .(RootFrame.AbsoluteSize.X, RootFrame.AbsoluteSize.Y)
)
(UserInputService.InputEnded, (input: InputObject)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
isDragging =
isResizing
isResizing =
state.isMinimized
state.savedSize = RootFrame.Size
)
(UserInputService.InputChanged, (input: InputObject)
isDragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
delta = input.Position - dragStart
RootFrame.Position = .(frameStart.X.Scale, frameStart.X.Offset + delta.X, frameStart.Y.Scale, frameStart.Y.Offset + delta.Y)
isResizing (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
deltaX = input.Position.X - resizeStart.X
deltaY = input.Position.Y - resizeStart.Y
newW = .(startSize.X + deltaX, CONFIG.MinWidth, CONFIG.MaxWidth)
newH = .(startSize.Y + deltaY, CONFIG.MinHeight, CONFIG.MaxHeight)
RootFrame.Size = .(, newW, , newH)
)
(mini: boolean)
state.isMinimized = mini
mini
state.savedSize = RootFrame.Size
TweenService:(RootFrame, TweenInfo.(CONFIG.AnimSpeed, .EasingStyle.Quad), {
Size = .(, , , )
}):()
TabNav.Visible =
MonitorPage.Visible =
ErrorsPage.Visible =
InfoPage.Visible =
ResizeGrip.Visible =
TitleLabel.Text = PercentText.Text
MinBtn.Text =
TweenService:(RootFrame, TweenInfo.(CONFIG.AnimSpeed, .EasingStyle.Quad), {
Size = state.savedSize
}):()
TabNav.Visible =
ResizeGrip.Visible =
(state.activeTab)
TitleLabel.Text =
MinBtn.Text =
MinBtn.MouseButton1Click:(()
( state.isMinimized)
)
(UserInputService.InputBegan, (input: InputObject, gp: boolean)
gp input.KeyCode == .KeyCode.L UserInputService:(.KeyCode.LeftControl)
RootFrame.Visible = RootFrame.Visible
)
frameCount =
lastSample = .()
(RunService.RenderStepped, ()
frameCount +=
now = .()
dt = now - lastSample
dt >=
fps = .(frameCount / dt)
frameCount =
lastSample = now
ChipFps.Text = .(, fps)
ChipFps.TextColor3 = (fps >= THEME.TextMuted) THEME.Danger
ok, ping = (()
.((Stats.Network.ServerStatsItem :: any)[]:())
)
ok
ChipPing.Text = .(, ping)
state.isRunning state.isComplete
state.elapsedTime = state.accumulatedTime + (.() - state.activeStartTime)
ChipTime.Text = (state.elapsedTime)
speed = (state.elapsedTime > ) (state.processedInstances / state.elapsedTime)
state.speed = speed
ChipSpeed.Text = .(, speed)
remain = .(, state.totalInstances - state.processedInstances)
eta = (speed > ) .(remain / speed)
ChipEta.Text = (eta > eta < ) .(, eta)
)
assetQueue: {} = {}
queueHead =
queueTail =
(batch: {})
#batch ==
leader = batch[]
leader leader.Parent
CurrentPath.Text = (leader)
CurrentMeta.Text = .(
,
(leader),
state.activeWorkers,
CONFIG.MaxWorkers,
state.totalFiles
)
uriToInstance: {[]: } = {}
_, inst (batch)
_, uri ((inst))
uriToInstance[uri]
uriToInstance[uri] = inst
ContentProvider:(batch, (contentId, fetchStatus)
state.totalFiles +=
fetchStatus ~= .AssetFetchStatus.Success
idKey = (contentId)
state.failedSeen[idKey]
state.failedSeen[idKey] =
finalInst = uriToInstance[idKey] leader
.(state.failed, {
id = idKey,
name = finalInst finalInst.Name idKey,
fullName = finalInst finalInst:() idKey,
assetType = finalInst (finalInst) ,
contentId = idKey,
targetInstance = finalInst,
reason = (fetchStatus),
retries = ,
})
)
state.processedInstances += #batch
()
()
state.isRunning queueHead <= queueTail
state.isRunning =
state.activeStartTime = .()
state.activeWorkers < CONFIG.MaxWorkers queueHead <= queueTail
state.activeWorkers +=
.(()
queueHead <= queueTail
batch: {} = {}
count = .(CONFIG.BatchSize, queueTail - queueHead + )
_ = , count
item = assetQueue[queueHead]
assetQueue[queueHead] = :: any
queueHead +=
item
.(batch, item)
#batch >
(batch)
.()
state.activeWorkers -=
state.activeWorkers == queueHead > queueTail
queueHead =
queueTail =
state.processedInstances >= state.totalInstances state.isComplete
state.accumulatedTime += (.() - state.activeStartTime)
state.elapsedTime = state.accumulatedTime
state.isComplete =
state.isRunning =
StatusDot.BackgroundColor3 = (#state.failed > ) THEME.Danger THEME.Success
CurrentPath.Text =
CurrentMeta.Text = .(
,
(state.elapsedTime),
state.totalFiles,
#state.failed
)
ChipEta.Text =
()
state.activeTab ==
(SearchInput.Text)
)
(items: {})
queueHead > queueTail
queueHead =
queueTail =
added =
_, item (items)
seenInstances[item]
seenInstances[item] =
#(item) >
queueTail +=
assetQueue[queueTail] = item
added +=
added >
state.totalInstances += added
state.isComplete =
StatusDot.BackgroundColor3 = THEME.Accent
()
()
pendingStream: {} = {}
streamDebounce: thread? =
(inst: )
(inst)
.(pendingStream, inst)
streamDebounce
streamDebounce = .(, ()
toAdd = pendingStream
pendingStream = {}
streamDebounce =
(toAdd)
)
(.DescendantAdded, onDescendant)
(ReplicatedStorage.DescendantAdded, onDescendant)
pGui = LocalPlayer:() LocalPlayer:(, )
pGui
(pGui.DescendantAdded, onDescendant)
()
CurrentPath.Text =
roots: {?} = {
, ReplicatedStorage, ReplicatedFirst, Lighting,
MaterialService, SoundService, StarterPack, pGui
}
found: {} = {}
_, r (roots)
r
_, d (r:())
(d)
.(found, d)
(found)
state.totalInstances ==
state.isComplete =
state.isRunning =
StatusDot.BackgroundColor3 = THEME.Success
CurrentPath.Text =
CurrentMeta.Text =
()
()game taking ages to load? wanna see what’s loading right now? this script lets u do that

Universal