Run it
Copy the script and paste it into your executor.
Players = :()
ReplicatedStorage = :()
RunService = :()
TweenService = :()
LocalPlayer = Players.LocalPlayer
Modules = ReplicatedStorage:():()
Config = (Modules.Config)
Launcher = (Modules.System.Launcher)
Jiggle = (Modules.Shared.Jiggle)
UI = (Modules.Shared.UI)
Theme = (Modules.Shared.Theme)
Preferences = (Modules.Shared.Preferences)
AppIcon = (Modules.Shared.AppIcon)
Glyphs = (Modules.Shared.Glyphs)
Ring = (Modules.Shared.Ring)
Model = (Modules.Tablet.Model)
Shell = (Modules.Services.Shell)
Notices = (Modules.Services.Notices)
.AppleOS_JB_RenderConn
(() .AppleOS_JB_RenderConn:() )
.AppleOS_JB_RenderConn =
.AppleOS_Launchers = .AppleOS_Launchers ({}, { __mode = })
.AppleOS_Jiggles = .AppleOS_Jiggles ({}, { __mode = })
.AppleOS_CustomApps = .AppleOS_CustomApps {}
.AppleOS_TrollInstalled = .AppleOS_TrollInstalled {}
CustomApps = .AppleOS_CustomApps
TrollInstalled = .AppleOS_TrollInstalled
rebuiltThisRun = {}
APPS_META = {
Dopamine = {
name = ,
preinstalled = ,
gamePassId = ,
coinPrice = ,
subtitle = ,
developer = ,
icon = ,
tile = { .(, , ), .(, , ), },
},
Sileo = {
name = ,
preinstalled = ,
gamePassId = ,
coinPrice = ,
subtitle = ,
developer = ,
icon = ,
tile = { .(, , ), .(, , ), },
},
TrollStore = {
name = ,
preinstalled = ,
gamePassId = ,
coinPrice = ,
subtitle = ,
developer = ,
icon = ,
tile = { .(, , ), .(, , ), },
},
Terminal = {
name = ,
preinstalled = ,
gamePassId = ,
coinPrice = ,
subtitle = ,
developer = ,
icon = ,
tile = { .(, , ), .(, , ), },
},
}
EXTRA_WALLPAPERS = {
{
name = ,
sky = { .(, , ), .(, , ) },
top = { .(, , ), .(, , ) },
wave = { .(, , ), .(, , ) },
deep = { .(, , ), .(, , ) },
glow = { .(, , ), .(, , ) },
},
{
name = ,
sky = { .(, , ), .(, , ) },
top = { .(, , ), .(, , ) },
wave = { .(, , ), .(, , ) },
deep = { .(, , ), .(, , ) },
glow = { .(, , ), .(, , ) },
},
{
name = ,
sky = { .(, , ), .(, , ) },
top = { .(, , ), .(, , ) },
wave = { .(, , ), .(, , ) },
deep = { .(, , ), .(, , ) },
glow = { .(, , ), .(, , ) },
},
{
name = ,
sky = { .(, , ), .(, , ) },
top = { .(, , ), .(, , ) },
wave = { .(, , ), .(, , ) },
deep = { .(, , ), .(, , ) },
glow = { .(, , ), .(, , ) },
},
{
name = ,
sky = { .(, , ), .(, , ) },
top = { .(, , ), .(, , ) },
wave = { .(, , ), .(, , ) },
deep = { .(, , ), .(, , ) },
glow = { .(, , ), .(, , ) },
},
}
(appMeta, isThemed)
Config.AppStore Config.AppStore.Apps
exists =
_, v (Config.AppStore.Apps)
v.name == appMeta.name exists =
exists .(Config.AppStore.Apps, appMeta)
Config.Pages
existsPage =
_, page (Config.Pages)
_, row (page)
_, app (row)
app.name == appMeta.name existsPage =
existsPage
lastPage = Config.Pages[#Config.Pages]
lastPage
lastPage = {}
.(Config.Pages, lastPage)
lastRow = lastPage[#lastPage]
lastRow #lastRow >=
lastRow = {}
.(lastPage, lastRow)
.(lastRow, { name = appMeta.name, icon = appMeta.icon , tile = appMeta.tile })
Config.ThemedApps = Config.ThemedApps {}
Config.ThemedApps[appMeta.name] = (isThemed ~= )
(APPS_META.Dopamine, )
Preferences.()
(APPS_META.Sileo, )
(APPS_META.TrollStore, )
(APPS_META.Terminal, )
getUpvalue = (debug debug.getupvalue) getupvalue
getUpvalues = (debug debug.getupvalues) getupvalues
(fn, idx)
getUpvalue (fn) ~=
ok, val = (getUpvalue, fn, idx)
ok val
(fn, targetInst)
(fn) ~= getUpvalues
ok, ups = (getUpvalues, fn)
ok (ups) ~=
_, v (ups)
v == targetInst
Jiggle._origNew = Jiggle._origNew Jiggle.new
Jiggle.new = (cfg)
obj = Jiggle.(cfg)
cfg cfg.screen
.AppleOS_Jiggles[cfg.screen] = { jiggle = obj, cfg = cfg }
obj
()
char = LocalPlayer.Character
heldTool = char char:()
wantPad = heldTool .(.(heldTool.Name), ) ~=
wantPhone = heldTool .(.(heldTool.Name), ) ~=
roots = { LocalPlayer:(), char, }
best, bestScore = , -
_, root (roots)
root
_, obj (root:())
obj:() obj.Name ==
obj.Parent obj.Parent.Name ==
obj:() obj:()
score =
gui = obj:()
gui gui.Enabled score +=
gui gui:() gui.Adornee heldTool gui.Adornee:(heldTool)
score +=
heldTool obj:(heldTool) score +=
w = obj.Size.X.Offset
wantPad w >= score +=
wantPhone w > w < score +=
score > bestScore
bestScore = score
best = obj
best
(screenFrame)
screenFrame
.AppleOS_Launchers[screenFrame]
.AppleOS_Launchers[screenFrame]
appHolder = screenFrame:()
appHolder
getgc
_, v (())
(v) ==
((v, )) ==
((v, )) ==
(((v, ), appHolder)
((v, ), appHolder))
.AppleOS_Launchers[screenFrame] = v
v
(jiggleObj, screenFrame)
getUpvalues
_, fn ({ (jiggleObj, ), (jiggleObj, ), (jiggleObj, ) })
(fn) ==
ok, ups = (getUpvalues, fn)
ok
_, v (ups)
(v) == (v, ) == screenFrame
((v, )) == ((v, )) ==
v
(v) ==
ok2, subUps = (getUpvalues, v)
ok2
_, t (subUps)
(t) == (t, ) == screenFrame
((t, )) == ((t, )) ==
t
(screenFrame)
jiggleObj, jiggleCfg
cap = .AppleOS_Jiggles[screenFrame]
cap jiggleObj, jiggleCfg = cap.jiggle, cap.cfg
jiggleCfg getgc
_, v (())
(v) ==
((v, )) ==
((v, )) ==
((v, )) ==
cfg = (v, screenFrame)
cfg
jiggleObj, jiggleCfg = v, cfg
.AppleOS_Jiggles[screenFrame] = { jiggle = v, cfg = cfg }
jiggleObj jiggleCfg
{
jiggle = jiggleObj,
cfg = jiggleCfg,
icons = jiggleCfg.icons,
labels = (jiggleCfg.label, ),
defaults = jiggleCfg.defaults,
}
CYLINDER_EFFECTS = {
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
{ id = , name = , kind = },
}
(id, p, W, H)
ap = .(p)
s, rot, dx, dy = , , ,
id == s = - ap * ; rot = -p * ; dx = -p * W *
id == s = - ap * ; rot = p * ; dy = ap * H *
id == ang = p * ; dx = .(ang) * W * - p * W * ; dy = ( - .(ang)) * H * ; rot = p * ; s = - ap *
id == s = .(, - ap * ); dx = -p * W * ; rot = p *
id == s = .(, .(.(p * .pi * ))); rot = p *
id == rot = -p * ; dy = -ap * H * ; dx = -p * W *
id == rot = p * ; dy = ap * H * ; dx = p * W *
id == rot = p * ; s = - ap *
id == rot = -p * ; s = - ap *
id == rot = p * ; s = - ap *
id == s = - ap *
id == s = + .(ap * .pi) * - ap *
id == p < dx = -p * W * ; s = - ap *
id == p < dy = ap * H * ; s = - ap * ; rot = -p * dx = -p * W *
id == dx = -p * W; s = .(, - ap)
id == dy = -.(.(ap, , ) * .pi) * H * ; s = - ap *
id == rot = p * ; dy = -(ap * ap) * H *
id == dy = p * H *
id == dy = -p * H *
id == dx = -p * W; dy = p * H
id == dx = -p * W; dy = -p * H
id == dy = (p * p) * H * ; s = - ap * ; rot = p *
id == t = .() * ; dx = .(t) * * ap; dy = .(t * ) * * ap; rot = .(t * ) * * ap
id == s = - .(.(ap, , ) * .pi) * ; rot = .(p * .pi) *
id == rot = p * ; dy = ap *
s, rot, dx, dy
(id, p, nx, ny, idx, W, H)
ap = .(p)
dx, dy, rot = , ,
id == dx = nx * ap * W * ; dy = ny * ap * H * ; rot = nx * p *
id == dx = -nx * ap * W * ; dy = -ny * ap * H * ; rot = -p *
id ==
ang = p * ; cx, cy = nx * W * , ny * H *
dx = (cx * .(ang) - cy * .(ang) - cx) * ap
dy = (cx * .(ang) + cy * .(ang) - cy) * ap
rot = p *
id == ang = p * + (idx % ) * ; dx = .(ang) * ap * ; dy = .(ang) * ap * ; rot = p *
id == dy = .(nx * + p * ) * * ap; rot = .(nx * + p * ) * * ap
id == dx = .(ny * + p * ) * * ap
id == dy = -nx * p *
id == dy = nx * p *
id == sg = idx % == -; dy = sg * ap * H * ; rot = sg * p *
id == sg = ny >= -; dx = sg * p * W *
id == sg = nx >= -; dy = sg * ap * H * ; dx = sg * ap *
id == d = .(ap * - (nx + ) * , , ); rot = p * * d; dy = d *
id == rot = p * ; dy = .(idx + p * ) * * ap
id == ang = idx * + p * .pi; dx = (.(ang) * - nx * W * ) * ap; dy = (.(ang) * - ny * H * ) * ap; rot = .(ang) * ap
id == d = .(ap * - ( - ny) * , , ); dy = d * d * H * ; rot = nx * * d
id == d = .(ap * - (ny + ) * , , ); dy = -d * d * H * ; rot = -nx * * d
id == dx = (W * - nx * W * ) * ap; dy = (H * - ny * H * ) * ap; rot = p *
id == dx = (-W * - nx * W * ) * ap; dy = (-H * - ny * H * ) * ap; rot = -p *
id == dx = -nx * ap * W *
id == dx = nx * ap * W *
id == sg = idx % == -; dx = .(ap * .pi * ) * * sg; dy = .(ap * .pi * ) * * sg
id == f = ( - ny) * + ; dx = .(p * + ny * ) * * f * ap; rot = p * * f
id == ang = p * .pi * + idx * ; dx = .(ang) * * ap; dy = .(ang) * * ap
id == sg = nx < - ; dx = sg * ap * W * ; dy = -ap * H * ; rot = sg * ap *
id == sp = + .(nx) * ; dx = -p * W * * sp; dy = ny * ap * ; rot = ny * p *
dx, dy, rot
(screenFrame)
.AppleOS_JB_RenderConn (() .AppleOS_JB_RenderConn:() )
home = screenFrame:()
pages = home home:()
pages
baseChildPos = ({}, { __mode = })
pageScales = ({}, { __mode = })
activeRandomId = Preferences.()
wasAtRest =
(pg)
sc = pageScales[pg]
sc sc.Parent ~= pg
sc = pg:() UI.(, { Name = , Parent = pg })
pageScales[pg] = sc
sc
(pageList, W, captureBase)
i, pg (pageList)
pg.Rotation =
pg.Position = .((i - ) * W, )
sc = pageScales[pg]
sc sc.Scale =
_, child (pg:())
child:() child.Name ~=
child.Rotation =
captureBase
baseChildPos[child] = child.Position
baseChildPos[child]
child.Position = baseChildPos[child]
.AppleOS_JB_RenderConn = RunService.RenderStepped:(()
screenFrame.Parent pages.Parent
W, H = screenFrame.Size.X.Offset, screenFrame.Size.Y.Offset
W <= H <=
pageList = {}
_, child (pages:())
idx = (.(child.Name, ))
idx pageList[idx] = child
appLib = pages:()
appLib .(pageList, appLib)
ctx = (screenFrame)
isEditing = ctx ctx.jiggle (ctx.jiggle.() ctx.jiggle.())
cylId = Preferences.()
isRandom = Preferences.() ==
isEditing (cylId == isRandom)
(pageList, W, isEditing)
wasAtRest =
pagesX = pages.Position.X.Offset
exactPage = -pagesX / W
.(exactPage - .(exactPage)) <
wasAtRest
(pageList, W, )
wasAtRest =
_, pg (pageList)
_, child (pg:())
child:() baseChildPos[child] = child.Position
wasAtRest
wasAtRest =
activeRandomId = isRandom .(, #CYLINDER_EFFECTS) cylId
effect = CYLINDER_EFFECTS[activeRandomId]
effect
i, pg (pageList)
baseX = (i - ) * W
p = (baseX + pagesX) / W
.(p) >
pg.Rotation =
pg.Position = .(baseX, )
sc = pageScales[pg]
sc sc.Scale =
effect.kind ==
s, rot, dx, dy = (effect.id, p, W, H)
sc = (pg)
sc.Scale = s
pg.Rotation = rot
pg.Position = .(baseX + W * ( - s) * + dx, H * ( - s) * + dy)
pg.Rotation =
pg.Position = .(baseX, )
sc = pageScales[pg]
sc sc.Scale =
idx =
_, child (pg:())
child:()
idx +=
bPos = baseChildPos[child]
bPos bPos = child.Position; baseChildPos[child] = bPos
cx = bPos.X.Offset + ( - child.AnchorPoint.X) * child.Size.X.Offset
cy = bPos.Y.Offset + ( - child.AnchorPoint.Y) * child.Size.Y.Offset
nx = .((cx - W * ) / (W * ), -, )
ny = .((cy - H * ) / (H * ), -, )
dx, dy, rot = (effect.id, p, nx, ny, idx, W, H)
child.Position = .(bPos.X.Offset + dx, bPos.Y.Offset + dy)
child.Rotation = rot
)
ORIG_DARK = {}
k, v (Theme.DARK) ORIG_DARK[k] = v
THEME_PRESETS = {
[] = ORIG_DARK,
[] = { background = .(, , ), grouped = .(, , ), card = .(, , ), sheet = .(, , ), blue = .(, , ), ink = .(, , ) },
[] = { background = .(, , ), grouped = .(, , ), card = .(, , ), sheet = .(, , ), fill = .(, , ), blue = .(, , ), ink = .(, , ) },
[] = { background = .(, , ), grouped = .(, , ), card = .(, , ), sheet = .(, , ), fill = .(, , ), blue = .(, , ), ink = .(, , ) },
[] = { background = .(, , ), grouped = .(, , ), card = .(, , ), sheet = .(, , ), blue = .(, , ), ink = .(, , ) },
}
(presetName)
p = THEME_PRESETS[presetName]
p
k, v (ORIG_DARK) Theme.DARK[k] = p[k] v
Preferences.(, presetName)
Theme.()
Preferences.(, )
.(() Preferences.(, ) )
Preferences.(, )
(bar, textStr)
bar bar:()
carrier = bar:()
textStr textStr ==
carrier carrier:()
clockLbl = bar:()
W = bar.Size.X.Offset
isPhone = W <
carrier
carrier = UI.({
Name = ,
ZIndex = ,
Text = textStr,
FontFace = UI.(.FontWeight.SemiBold),
TextSize = isPhone ,
TextColor3 = clockLbl clockLbl.TextColor3 UI.WHITE,
TextXAlignment = .TextXAlignment.Center,
AnchorPoint = .(, ),
Position = .(W * , isPhone ),
Size = .(, ),
Parent = bar,
})
carrier:(, )
clockLbl
clockLbl:():(()
carrier.Parent carrier.TextColor3 = clockLbl.TextColor3
)
carrier.Text = textStr
(screenFrame)
screenFrame
home = screenFrame:()
fixed = home home:()
dock = fixed fixed:()
pages = home home:()
appHolder = screenFrame:()
stage = appHolder appHolder:()
lockFrame = screenFrame:()
carrierTxt = Preferences.()
home (home:(), carrierTxt)
stage (stage:(), carrierTxt)
dock dock.Visible = (Preferences.() == )
hideLbl = Preferences.() ==
pages
_, pg (pages:())
_, obj (pg:())
obj:() .(obj.Name, -) ==
obj.TextTransparency = hideLbl
obj.TextStrokeTransparency = hideLbl
lockFrame
hint = lockFrame:()
hint hint:()
customHint = Preferences.()
hint.Text = customHint customHint ~= customHint Config.Lock.Hint
clk = lockFrame:()
clkColor = Preferences.()
clk clk:() clk.TextColor3 = clkColor UI.WHITE
(launcherObj, screenFrame, appName, forceRebuild)
builder = CustomApps[appName]
builder launcherObj
cache = (launcherObj.content, )
(cache) ~=
()
appScale = Preferences.() Config.AppScale
existing = cache[appName]
needBuild = forceRebuild ( rebuiltThisRun[appName])
existing existing ~= existing.scale == appScale needBuild
rebuiltThisRun[appName] =
existing existing ~=
existing.handle existing.handle.destroy (existing.handle.destroy)
existing.frame existing.frame:()
cache[appName] =
appHolder = screenFrame:()
stage = appHolder appHolder:()
stage
devSize = .(screenFrame.Size.X.Offset, screenFrame.Size.Y.Offset)
scaledSize = devSize / appScale
appFrame = UI.(, {
Visible = ,
ZIndex = ,
Name = appName,
BackgroundColor3 = UI.WHITE,
Size = .(scaledSize.X, scaledSize.Y),
Parent = stage,
}, { UI.(, { Scale = appScale }) })
ok, handle = (builder, appFrame, scaledSize)
ok (handle) ~=
errStr = (handle)
( .. appName .. .. errStr)
appFrame.BackgroundColor3 = .(, , )
UI.({
Text = .. appName .. .. errStr,
TextSize = ,
TextWrapped = ,
TextColor3 = .(, , ),
TextXAlignment = .TextXAlignment.Center,
Position = .(, ),
Size = .(, -, , -),
Parent = appFrame,
})
handle = { dark = , opened = () , closed = () , destroy = () }
isThemed = Config.ThemedApps Config.ThemedApps[appName] == handle.window handle.dark
isThemed Theme.(appFrame)
entry = {
name = appName,
frame = appFrame,
handle = handle,
scale = appScale,
light = handle.dark ,
themed = isThemed,
}
handle.(isLight) entry.light = isLight
cache[appName] = entry
.AppleOS_EnsureCached = ensureCached
(screenFrame, launcherObj, appMeta, isThemed)
(appMeta, isThemed)
home = screenFrame:()
pages = home home:()
pages
ctx = (screenFrame)
ctx
ctx.icons[appMeta.name]
ctx.jiggle.()
sampleIcon, sampleLabel
_, p (pages:())
_, c (p:())
c:() c:()
sampleIcon = c
sampleLabel = p:(c.Name .. )
sampleLabel
sampleIcon sampleLabel
iconSize = sampleIcon sampleIcon.Size .(, )
iconCorner = sampleIcon sampleIcon.Icon:()
sampleIcon.Icon:().CornerRadius
.(, )
labelSize = sampleLabel sampleLabel.Size .(, )
labelTextSize = sampleLabel sampleLabel.TextSize
lastPageIdx = #ctx.cfg.defaults.pages
lastPageFrame = ctx.cfg.(lastPageIdx) pages:( .. lastPageIdx)
lastPageFrame
iconFrame = UI.(, {
BackgroundTransparency = ,
Name = appMeta.name,
AnchorPoint = .(, ),
Size = iconSize,
Parent = lastPageFrame,
})
iconFrame:(, )
iconBtn = UI.(, {
Name = ,
AutoButtonColor = ,
BackgroundTransparency = ,
Size = .(, ),
Parent = iconFrame,
}, { UI.(, { CornerRadius = iconCorner }) })
AppIcon.(iconBtn, appMeta)
labelObj = UI.({
Visible = ,
Name = appMeta.name .. ,
Text = appMeta.name,
FontFace = UI.(.FontWeight.Medium),
TextStrokeColor3 = UI.BLACK,
TextStrokeTransparency = ,
TextSize = labelTextSize,
TextXAlignment = .TextXAlignment.Center,
AnchorPoint = .(, ),
Size = labelSize,
Parent = lastPageFrame,
})
scaleObj = UI.(, { Parent = iconFrame })
pressInfo = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
(state)
ctx.jiggle.holding ctx.jiggle.()
TweenService:(scaleObj, pressInfo, { Scale = state }):()
TweenService:(iconBtn, pressInfo, { ImageColor3 = state .(, , ) UI.WHITE }):()
iconBtn.MouseButton1Down:(() () )
iconBtn.MouseButton1Up:(() () )
iconBtn.MouseLeave:(() () )
iconBtn.Activated:(()
()
ctx.jiggle.()
lObj = launcherObj (screenFrame)
lObj
.AppleOS_EnsureCached
.(lObj, screenFrame, appMeta.name, )
sf = screenFrame.Size.X.Offset / .(screenFrame.AbsoluteSize.X, )
pos = (iconFrame.AbsolutePosition + iconFrame.AbsoluteSize * - screenFrame.AbsolutePosition) * sf
lObj.(appMeta, pos)
t = Shell.()
t t.launch t.(appMeta.name)
)
ctx.icons[appMeta.name] = iconFrame
ctx.labels ctx.labels[appMeta.name] = labelObj
defPage = ctx.defaults.pages[lastPageIdx]
defPage .(defPage, appMeta.name) .(defPage, appMeta.name)
curLayout = ctx.jiggle.()
curLayout curLayout.pages
already =
_, p (curLayout.pages)
.(p, appMeta.name) already =
already curLayout.dock .(curLayout.dock, appMeta.name) already =
already
targetList = curLayout.pages[lastPageIdx] curLayout.pages[#curLayout.pages]
targetList .(targetList, appMeta.name)
ctx.jiggle.()
(screenFrame)
(screenFrame, launcherObj, appName)
launcherObj launcherObj.content
cache = (launcherObj.content, )
(cache) == cache[appName]
e = cache[appName]
e ~=
e.handle e.handle.destroy (e.handle.destroy)
e.frame e.frame:()
cache[appName] =
ctx = (screenFrame)
ctx
ctx.icons[appName] ctx.icons[appName]:(); ctx.icons[appName] =
ctx.labels ctx.labels[appName] ctx.labels[appName]:(); ctx.labels[appName] =
_, p (ctx.defaults.pages)
idx = .(p, appName)
idx .(p, idx)
l = ctx.jiggle.()
l
_, p (l.pages)
idx = .(p, appName)
idx .(p, idx)
l.dock
idx = .(l.dock, appName)
idx .(l.dock, idx)
ctx.jiggle.()
CustomApps[appName] =
TrollInstalled[appName] =
(screenFrame, launcherObj, onDone)
screenFrame screenFrame:()
veil = UI.(, {
Name = ,
BackgroundColor3 = UI.BLACK,
BackgroundTransparency = ,
ZIndex = ,
Size = .(, ),
Parent = screenFrame,
})
veil:(, )
spin = UI.({
Text = ,
TextSize = ,
FontFace = UI.(.FontWeight.Bold),
TextColor3 = UI.WHITE,
TextXAlignment = .TextXAlignment.Center,
AnchorPoint = .(, ),
Position = .(, ),
Size = .(, ),
Parent = veil,
})
spin:(, )
Shell.()
TweenService:(veil, TweenInfo.(), { BackgroundTransparency = }):()
.(()
t0 = .()
refreshed =
.() - t0 <
spin.Rotation = (.() - t0) *
refreshed (.() - t0) >
refreshed =
target = Shell.()
target target.putAway (target.putAway)
launcherObj launcherObj.close (launcherObj.close)
launcherObj launcherObj.content
cache = (launcherObj.content, )
(cache) ==
name, entry (cache)
entry entry ~=
entry.handle entry.handle.destroy (entry.handle.destroy)
entry.frame entry.frame:()
cache[name] =
Preferences.()
(screenFrame, launcherObj, APPS_META.Sileo, )
(screenFrame, launcherObj, APPS_META.TrollStore, )
(screenFrame, launcherObj, APPS_META.Terminal, )
_, info (TrollInstalled)
(screenFrame, launcherObj, info.meta, info.manifest.Themed ~= )
launcherObj
(launcherObj, screenFrame, , )
(launcherObj, screenFrame, , )
(launcherObj, screenFrame, , )
(screenFrame)
target target.wake (target.wake)
.()
onDone (onDone)
fadeOut = TweenService:(veil, TweenInfo.(), { BackgroundTransparency = })
TweenService:(spin, TweenInfo.(), { TextTransparency = }):()
fadeOut.Completed:(() veil:() )
fadeOut:()
)
(screenFrame)
{
GetScreen = () screenFrame ,
GetLauncher = () (screenFrame) ,
GetJiggle = () (screenFrame) ,
Respring = () (screenFrame, (screenFrame)) ,
Notify = (title, body, appName) Shell.(title, body, , , appName) ,
SetDarkMode = (enabled) Preferences.(, enabled ) ,
SetThemePreset = (presetName) (presetName) ,
SetCarrier = (textStr) Preferences.(, textStr); (screenFrame) ,
SetCorner = (radius) l = (screenFrame); l l.(radius) ,
SetCylinder = (idOrRandom)
idOrRandom == Preferences.(, )
Preferences.(, ); Preferences.(, (idOrRandom) )
,
OS = {
Config = Config, UI = UI, Theme = Theme, Preferences = Preferences,
AppIcon = AppIcon, Glyphs = Glyphs, Ring = Ring, Model = Model, Shell = Shell, Notices = Notices,
},
}
(screenFrame)
EK = {}
EK.(title, message, buttons)
parent = screenFrame LocalPlayer:()
parent
backdrop = UI.(, {
Name = , AutoButtonColor = , BackgroundTransparency = ,
Text = , ZIndex = , BackgroundColor3 = .(, , ),
Size = .(, ), Parent = parent,
})
backdrop:(, )
isPhone = parent.Size parent.Size.X.Offset <
card = UI.(, {
ZIndex = , AnchorPoint = .(, ),
BackgroundColor3 = .(, , ),
Position = .(, ),
AutomaticSize = .AutomaticSize.Y,
Size = .( isPhone , ),
Parent = backdrop,
}, { UI.(), UI.(, { SortOrder = .SortOrder.LayoutOrder }) })
header = UI.(, {
LayoutOrder = , BackgroundTransparency = , AutomaticSize = .AutomaticSize.Y,
Size = .(, , , ), Parent = card,
}, { UI.(, ) })
UI.(, { Padding = .(, ), SortOrder = .SortOrder.LayoutOrder, Parent = header })
UI.({
LayoutOrder = , Text = title, TextSize = , FontFace = UI.(.FontWeight.Bold),
TextColor3 = UI.INK, TextWrapped = , AutomaticSize = .AutomaticSize.Y,
TextXAlignment = .TextXAlignment.Center, Size = .(, , , ), Parent = header,
})
UI.({
LayoutOrder = , Text = message, TextSize = , TextColor3 = UI.INK,
TextWrapped = , AutomaticSize = .AutomaticSize.Y,
TextXAlignment = .TextXAlignment.Center, Size = .(, , , ), Parent = header,
})
idx, b (buttons { { text = , bold = } })
UI.(, { LayoutOrder = idx * , BackgroundColor3 = UI.LINE, Size = .(, , , ), Parent = card })
btn = UI.(, {
LayoutOrder = idx * + , AutoButtonColor = , BackgroundTransparency = ,
Text = b.text , TextSize = ,
FontFace = UI.( b.bold .FontWeight.Bold .FontWeight.Regular),
TextColor3 = b.destructive UI.RED UI.BLUE,
Size = .(, , , ), Parent = card,
})
btn.Activated:(()
backdrop:()
b.onClick (b.onClick)
)
EK.(frame, size, opts)
opts = opts {}
isPhone = size.X < size.Y
topPad = opts.embedded isPhone
padX = isPhone
opts.embedded frame.BackgroundColor3 = UI.GROUPED
scroll
opts.embedded
scroll = UI.(, {
Name = , BackgroundTransparency = , AutomaticSize = .AutomaticSize.Y,
Size = .(, , , ), Parent = frame,
}, {
UI.(, { HorizontalAlignment = .HorizontalAlignment.Center, Padding = .(, ), SortOrder = .SortOrder.LayoutOrder }),
UI.(, padX),
})
scroll = UI.(, {
Name = , BackgroundTransparency = , ScrollBarThickness = , ScrollBarImageColor3 = UI.GRAY,
AutomaticCanvasSize = .AutomaticSize.Y, CanvasSize = .(),
Position = .(, topPad), Size = .(, , , -topPad), Parent = frame,
}, {
UI.(, { HorizontalAlignment = .HorizontalAlignment.Center, Padding = .(, ), SortOrder = .SortOrder.LayoutOrder }),
UI.(, padX),
})
orderCounter =
() orderCounter += ; orderCounter
opts.title
hdr = UI.(, {
LayoutOrder = (), BackgroundTransparency = ,
Size = .(, , , opts.subtitle ), Parent = scroll,
})
opts.subtitle
UI.({ Text = .(opts.subtitle), TextSize = , FontFace = UI.(.FontWeight.Bold), TextColor3 = UI.GRAY, Size = .(, -, , ), Parent = hdr })
UI.({ Text = opts.title, TextSize = , FontFace = UI.(.FontWeight.Bold), TextColor3 = UI.INK, Position = .(, opts.subtitle ), Size = .(, -, , ), Parent = hdr })
LocalPlayer opts.avatar ~=
UI.(, {
Image = UI.(LocalPlayer.UserId), AnchorPoint = .(, ),
BackgroundColor3 = UI.FILL, Position = .(, , , ),
Size = .(, ), Parent = hdr,
}, { UI.() })
pageObj = { Scroll = scroll, IsPhone = isPhone }
pageObj:(cfg)
card = UI.(, { LayoutOrder = (), BackgroundColor3 = UI.WHITE, Size = .(, , , ), Parent = scroll }, { UI.() })
icon = UI.(, { BackgroundTransparency = , Position = .(, ), Size = .(, ), Parent = card }, { UI.() })
icon:(, )
cfg.tile cfg.icon AppIcon.(icon, { name = cfg.title , icon = cfg.icon , tile = cfg.tile })
rightPad = cfg.button
UI.({ Text = cfg.title , TextSize = , FontFace = UI.(.FontWeight.Bold), TextColor3 = UI.INK, TextTruncate = .TextTruncate.AtEnd, Position = .(, ), Size = .(, -( + rightPad), , ), Parent = card })
UI.({ Text = cfg.subtitle , TextSize = , TextColor3 = UI.VALUE, TextTruncate = .TextTruncate.AtEnd, Position = .(, ), Size = .(, -( + rightPad), , ), Parent = card })
cfg.button
b = UI.(, {
Text = cfg.button.text , TextSize = , FontFace = UI.(.FontWeight.Bold),
TextColor3 = UI.WHITE, BackgroundColor3 = cfg.button.color UI.BLUE,
AnchorPoint = .(, ), Position = .(, -, , ),
Size = .(, ), Parent = card,
}, { UI.() })
b:(, )
b.Activated:(() cfg.button.onClick cfg.button.(b) )
card
pageObj:(headerStr, footerStr)
wrap = UI.(, {
LayoutOrder = (), BackgroundTransparency = , AutomaticSize = .AutomaticSize.Y,
Size = .(, , , ), Parent = scroll,
}, { UI.(, { Padding = .(, ), SortOrder = .SortOrder.LayoutOrder }) })
headerStr headerStr ~=
UI.({ LayoutOrder = , Text = .. .(headerStr), TextSize = , FontFace = UI.(.FontWeight.Medium), TextColor3 = UI.VALUE, Size = .(, , , ), Parent = wrap })
card = UI.(, {
LayoutOrder = , BackgroundColor3 = UI.WHITE, AutomaticSize = .AutomaticSize.Y,
Size = .(, , , ), Parent = wrap,
}, { UI.(), UI.(, { SortOrder = .SortOrder.LayoutOrder }) })
footerStr footerStr ~=
UI.({ LayoutOrder = , Text = .. footerStr, TextSize = , TextWrapped = , AutomaticSize = .AutomaticSize.Y, TextColor3 = UI.VALUE, Size = .(, , , ), Parent = wrap })
rowCount =
sec = { Card = card }
()
rowCount >
UI.(, { LayoutOrder = rowCount * , BackgroundColor3 = UI.LINE, Size = .(, , , ), Parent = card })
rowCount +=
rowCount * +
sec:(rcfg)
ord = ()
btn = UI.(, { LayoutOrder = ord, Text = , AutoButtonColor = , BackgroundTransparency = , Size = .(, , , ), Parent = card })
valLbl
rcfg.value ~=
valLbl = UI.({
Text = (rcfg.value), TextSize = , TextColor3 = UI.VALUE, TextXAlignment = .TextXAlignment.Right,
AnchorPoint = .(, ), Position = .(, rcfg.chevron - -, , ),
Size = .(, , , ), Parent = btn,
})
rcfg.chevron
UI.({ Text = , TextSize = , TextColor3 = .(, , ), TextXAlignment = .TextXAlignment.Right, AnchorPoint = .(, ), Position = .(, -, , -), Size = .(, ), Parent = btn })
UI.({ Text = rcfg.title , TextSize = , TextColor3 = rcfg.color UI.INK, Position = .(, ), Size = .(, -, , ), Parent = btn })
rcfg.onClick btn.Activated:(() rcfg.(valLbl) )
{ SetValue = (_, v) valLbl valLbl.Text = (v) }
sec:(tcfg)
ord = ()
row = UI.(, { LayoutOrder = ord, BackgroundTransparency = , Size = .(, , , ), Parent = card })
UI.({ Text = tcfg.title , TextSize = , TextColor3 = UI.INK, Position = .(, ), Size = .(, -, , ), Parent = row })
state = tcfg.value ==
sw = UI.(, {
Text = , AutoButtonColor = , AnchorPoint = .(, ),
BackgroundColor3 = state UI.GREEN .(, , ),
Position = .(, -, , ), Size = .(, ), Parent = row,
}, { UI.() })
sw:(, )
knob = UI.(, {
AnchorPoint = .(, ), BackgroundColor3 = UI.WHITE,
Position = .(, state , , ), Size = .(, ), Parent = sw,
}, { UI.() })
knob:(, )
sw.Activated:(()
state = state
ti = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
TweenService:(sw, ti, { BackgroundColor3 = state UI.GREEN .(, , ) }):()
TweenService:(knob, ti, { Position = .(, state , , ) }):()
tcfg.onChange tcfg.(state)
)
sec:(bcfg)
ord = ()
btn = UI.(, {
LayoutOrder = ord, Text = bcfg.title , TextSize = ,
FontFace = UI.( bcfg.bold .FontWeight.Bold .FontWeight.Medium),
TextColor3 = bcfg.destructive UI.RED (bcfg.color UI.BLUE),
AutoButtonColor = , BackgroundTransparency = , Size = .(, , , ), Parent = card,
})
btn.Activated:(() bcfg.onClick bcfg.(btn) )
btn
sec:(icfg)
ord = ()
row = UI.(, { LayoutOrder = ord, BackgroundTransparency = , Size = .(, , , ), Parent = card })
box = UI.(, {
PlaceholderText = icfg.placeholder , Text = icfg.text ,
ClearTextOnFocus = , TextSize = , FontFace = UI.(), TextColor3 = UI.INK,
BackgroundColor3 = UI.FILL, AnchorPoint = .(, ),
Position = .(, , , ), Size = .(, icfg.buttonText - -, , ),
Parent = row,
}, { UI.(), UI.(, ) })
icfg.buttonText
go = UI.(, {
Text = icfg.buttonText, TextSize = , FontFace = UI.(.FontWeight.Bold),
TextColor3 = UI.WHITE, BackgroundColor3 = UI.BLUE, AnchorPoint = .(, ),
Position = .(, -, , ), Size = .(, ), Parent = row,
}, { UI.() })
go:(, )
go.Activated:(() icfg.onSubmit icfg.(box.Text, box) )
box
sec
pageObj:(height, initialText)
boxCard = UI.(, {
LayoutOrder = (), BackgroundColor3 = .(, , ),
Size = .(, , , height ), Parent = scroll,
}, { UI.() })
boxCard:(, )
lbl = UI.({
Text = initialText , TextSize = , TextColor3 = .(, , ),
TextWrapped = , TextYAlignment = .TextYAlignment.Top,
Position = .(, ), Size = .(, -, , -), Parent = boxCard,
})
lbl:(, )
lbl
pageObj
EK
(codeStr)
(codeStr) ~= .(codeStr, , ) ==
,
loader = load
loader ,
fn, syntaxErr = (codeStr, )
fn , .. (syntaxErr)
env = ({
AppleOS = {
Config = Config, UI = UI, Theme = Theme, Preferences = Preferences,
AppIcon = AppIcon, Glyphs = Glyphs, Ring = Ring, Model = Model, Shell = Shell, Notices = Notices,
},
}, { __index = () })
setfenv (setfenv, fn, env)
ok, manifest = (fn)
ok , .. (manifest)
(manifest) ~=
,
missing = {}
(manifest.Name) ~= .(manifest.Name, , ) ==
.(missing, )
(manifest.Version) ~= .(manifest.Version, , ) ==
.(missing, )
(manifest.Source) ~= .(manifest.Source, , ) ==
.(missing, )
(manifest.Main) ~=
.(missing, )
#missing >
, .. .(missing, )
manifest.Name == manifest.Name == manifest.Name == manifest.Name == manifest.Name ==
, .. manifest.Name
, manifest
(manifest, screenFrame, launcherObj)
meta = {
name = manifest.Name,
preinstalled = ,
gamePassId = ,
coinPrice = ,
subtitle = manifest.Subtitle ( .. manifest.Version .. .. manifest.Source),
developer = manifest.Source,
version = manifest.Version,
icon = manifest.Icon ,
tile = manifest.Tile { .(, , ), .(, , ), .(manifest.Name, , ) },
}
CustomApps[manifest.Name] = (appFrame, scaledSize)
scr = appFrame:() screenFrame
ek = (scr)
api = (scr)
handle = manifest.(appFrame, scaledSize, ek, api)
(handle) ~= handle = {}
{
dark = manifest.Dark,
window = manifest.Window,
opened = handle.opened () ,
closed = handle.closed () ,
destroy = handle.destroy () ,
}
TrollInstalled[manifest.Name] = { meta = meta, manifest = manifest, code = manifest._rawCode }
screenFrame
(screenFrame, launcherObj, meta, manifest.Themed ~= )
launcherObj (launcherObj, screenFrame, manifest.Name, )
(meta, manifest.Themed ~= )
Shell.(, .(, manifest.Name, manifest.Version, manifest.Source), , , manifest.Name)
CustomApps.Dopamine = (frame, size)
scr = frame:()
ek = (scr)
page = ek.(frame, size, { title = , subtitle = })
devInfo = page.IsPhone Model.Phone.(LocalPlayer) Model.(LocalPlayer)
devName = devInfo (devInfo.modelName devInfo.name)
devChip = devInfo devInfo.chip
page:({
title = ,
subtitle = .(, devName, devChip, Preferences.() ),
tile = APPS_META.Dopamine.tile,
})
logLbl = page:(, .. devName .. .. devChip .. .. ( Preferences.() ))
sec = page:(, )
busy =
sec:({
title = Preferences.() ,
bold = ,
onClick = (btn)
busy
busy =
btn.Text =
.(()
_, line ({
,
,
,
,
,
})
logLbl.Text = logLbl.Text .. .. line
.()
_, app (Config.AppStore.Apps {}) Config.ThemedApps[app.name] =
_, row (Config.Apps {})
_, app (row) Config.ThemedApps[app.name] =
_, wp (EXTRA_WALLPAPERS)
f =
_, ex (Config.Wallpapers) ex.name == wp.name f =
f .(Config.Wallpapers, wp)
(Preferences.() ) == Preferences.(, )
Preferences.(, )
l = (scr)
(scr, l, ()
Shell.(, , , , )
)
busy =
)
,
})
sec:({
title = ,
destructive = ,
onClick = () (scr, (scr)) ,
})
{ opened = () , closed = () , destroy = () }
CustomApps.Sileo = (frame, size)
isPhone = size.X < size.Y
topPad = isPhone
padX = isPhone
tabH =
bottomPad = isPhone
scrollH = size.Y - tabH - bottomPad
INK = .(, , )
SUB = .(, , )
LINE = .(, , )
FILL = .(, , )
TAB_BG = .(, , )
frame.BackgroundColor3 = UI.WHITE
scr = frame:()
EK = (scr)
PACKAGES = {
{
id = ,
name = ,
subtitle = ,
version = ,
author = ,
repo = ,
category = ,
tile = { .(, , ), .(, , ), },
description = ,
configUI = (parent)
sec = parent:(, )
sec:({
title = ,
value = Preferences.() == ,
onChange = (v) Preferences.(, v) ,
})
sec:({
title = ,
color = UI.RED,
onClick = () Preferences.(, ); Preferences.(, ) ,
})
listSec = parent:()
_, fx (CYLINDER_EFFECTS)
listSec:({
title = .(, fx.id, fx.name),
value = (Preferences.() == fx.id) ( fx.kind == ),
color = (Preferences.() == fx.id) UI.BLUE UI.INK,
onClick = (lbl)
Preferences.(, )
Preferences.(, fx.id)
lbl lbl.Text =
,
})
,
},
{
id = ,
name = ,
subtitle = ,
version = ,
author = ,
repo = ,
category = ,
tile = { .(, , ), .(, , ), },
description = rectly to restyle Settings, Messages, Safari, Sileo, and TrollStore with OLED, Dracula, or Matrix color schemes.",
configUI = function(parent)
local sec = parent:Section("Select System Theme")
for _, pName in ipairs({ "Default iOS", "OLED Pure Black", "Dracula Purple", "Matrix Hacker", "Crimson Rose" }) do
sec:Row({
title = pName,
value = if (Preferences.get("jb_theme") or "Default iOS") == pName then "Active ✓" else "Apply",
color = UI.BLUE,
onClick = function(lbl) applyThemePreset(pName); if lbl then lbl.Text = "Active ✓" end end,
})
end
sec:Button({ title = "Respring to Apply to All Apps", destructive = true, onClick = function() performRealRespring(scr, findLauncherForScreen(scr)) end })
end,
},
{
id = "zeppelin",
name = "Zeppelin Carrier",
subtitle = "Custom carrier text on the StatusBar",
version = "3.0.2",
author = "Alex Zielenski",
repo = "BigBoss",
category = "StatusBar",
tile = { Color3.fromRGB(52, 199, 89), Color3.fromRGB(20, 125, 65), "📶" },
description = "Displays a custom carrier name or symbol centered on the StatusBar across HomeScreen and inside apps.",
configUI = function(parent)
local sec = parent:Section("Carrier Name")
sec:Input({
placeholder = "Enter text (e.g. Vietnam 5G)...",
text = Preferences.get("jb_carrier") or "",
buttonText = "Apply",
onSubmit = function(txt) Preferences.set("jb_carrier", txt); applyAllVisualTweaks(scr) end,
})
for _, preset in ipairs({ " Vietnam 5G", "Cydia LTE", "Starlink", "" }) do
sec:Row({
title = if preset == "" then "Clear Carrier Name (Reset)" else "Set: " .. preset,
color = if preset == "" then UI.RED else UI.BLUE,
onClick = function() Preferences.set("jb_carrier", preset); applyAllVisualTweaks(scr) end,
})
end
end,
},
{
id = "springtomize",
name = "Springtomize 6",
subtitle = "Hide icon labels, clear Dock & screen corner radius",
version = "6.1.0",
author = "SharedRoutine",
repo = "Packix",
category = "HomeScreen",
tile = { Color3.fromRGB(255, 149, 0), Color3.fromRGB(205, 65, 20), "🛠" },
description = "Full SpringBoard customization: hide labels under icons, make the Dock background transparent, and adjust Launcher corner radius (`setCorner`).",
configUI = function(parent)
local sec = parent:Section("SpringBoard Tweaks")
sec:Toggle({
title = "Hide Icon Labels",
value = Preferences.get("jb_nolabels") == true,
onChange = function(v) Preferences.set("jb_nolabels", v); applyAllVisualTweaks(scr) end,
})
sec:Toggle({
title = "Clear Dock (Transparent Dock)",
value = Preferences.get("jb_cleardock") == true,
onChange = function(v) Preferences.set("jb_cleardock", v); applyAllVisualTweaks(scr) end,
})
sec:Row({
title = "Screen Corner Radius (Launcher.setCorner)",
value = tostring(Preferences.get("jb_corner") or 22) .. " px",
color = UI.BLUE,
onClick = function(lbl)
local cur = Preferences.get("jb_corner") or 22
local nxt = if cur == 22 then 0 elseif cur == 0 then 48 else 22
Preferences.set("jb_corner", nxt)
local l = findLauncherForScreen(scr)
if l then l.setCorner(nxt) end
if lbl then lbl.Text = tostring(nxt) .. " px" end
end,
})
end,
},
{
id = "jellyfish",
name = "Jellyfish LockScreen",
subtitle = "Custom clock color, unlock hint & Auto-Unlock",
version = "1.6.4",
author = "Justin Proulx",
repo = "Dynastic",
category = "LockScreen",
tile = { Color3.fromRGB(255, 55, 95), Color3.fromRGB(160, 20, 75), "🔒" },
description = "Customize the AppleOS LockScreen: change the clock color, edit the unlock hint text, or toggle instant auto-unlock without swiping.",
configUI = function(parent)
local sec = parent:Section("LockScreen Configuration")
sec:Toggle({
title = "Auto-Unlock (Skip LockScreen)",
value = Preferences.get("jb_autounlock") == true,
onChange = function(v) Preferences.set("jb_autounlock", v); Preferences.set("lock", not v) end,
})
sec:Input({
placeholder = "Lock screen hint text...",
text = Preferences.get("jb_lockhint") or "",
buttonText = "Save",
onSubmit = function(txt) Preferences.set("jb_lockhint", txt); applyAllVisualTweaks(scr) end,
})
sec:Row({
title = "Set LockScreen Clock Color (Mint Cyan)",
color = UI.BLUE,
onClick = function() Preferences.set("jb_lockcolor", Color3.fromRGB(115, 245, 210)); applyAllVisualTweaks(scr) end,
})
sec:Row({
title = "Reset LockScreen Defaults",
color = UI.RED,
onClick = function() Preferences.set("jb_lockhint", ""); Preferences.set("jb_lockcolor", nil); applyAllVisualTweaks(scr) end,
})
end,
},
{
id = "iphone18unlock",
name = "iPhone 18 Feature Unlocker",
subtitle = "Unlock exclusive Wallpaper & 15× Camera Zoom",
version = "1.0.0",
author = "ElleKit Team",
repo = "ElleKit",
category = "System",
tile = { Color3.fromRGB(220, 35, 65), Color3.fromRGB(100, 10, 30), "📷" },
description = "Applies the iPhone18CherryRed attribute to your held device tool to unlock exclusive wallpapers and 15× zoom in Settings > Camera.",
configUI = function(parent)
local sec = parent:Section("Hardware Spoof")
sec:Button({
title = "Enable iPhone 18 Attribute",
bold = true,
onClick = function(btn)
local tool = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool then tool:SetAttribute("iPhone18CherryRed", true); btn.Text = "Enabled ✓" end
end,
})
end,
},
}
local iconsDraw = {
Featured = function(p) Glyphs.outline(p, 0, 0, 20, 24, 4, 2); p.line(-5, -5, 5, -5, 2); p.line(-5, 0, 5, 0, 2); p.line(-5, 5, 1, 5, 2) end,
Sources = function(p) for _, j in ipairs({ -6, 0, 6 }) do p.line(-10, j, 0, j - 4, 2); p.line(0, j - 4, 10, j, 2); p.line(-10, j, 0, j + 4, 2); p.line(0, j + 4, 10, j, 2) end end,
Packages = function(p) Glyphs.outline(p, 0, 1, 24, 18, 5, 2); p.line(-10, -3, 10, -3, 2); p.line(0, -8, 0, 10, 2) end,
Search = function(p) Glyphs.arc(p, -2, -2, 7.5, 0, 360, 2.4); p.line(3.5, 3.5, 10, 10, 2.6) end,
Back = function(p) p.line(3, -9, -5, 0, 2.8); p.line(-5, 0, 3, 9, 2.8) end,
}
local function sketch(parent, x, y, sz, color, fn, bg)
local f = UI.make("Frame", { BackgroundTransparency = 1, AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromOffset(x, y), Size = UDim2.fromOffset(30, 30), Parent = parent }, { UI.make("UIScale", { Scale = sz / 30 }) })
fn(Glyphs.pen(f, bg or UI.WHITE, color))
return f
end
local pagesMap, tabButtons = {}, {}
local openDetail
local function makeTabPage(name)
local sc = UI.make("ScrollingFrame", {
Name = name, Visible = false, ScrollBarThickness = 4, AutomaticCanvasSize = Enum.AutomaticSize.Y,
BackgroundColor3 = UI.WHITE, CanvasSize = UDim2.new(), ScrollBarImageColor3 = SUB,
ScrollingDirection = Enum.ScrollingDirection.Y, Size = UDim2.fromOffset(size.X, scrollH), Parent = frame,
}, { UI.make("UIPadding", { PaddingBottom = UDim.new(0, 40) }) })
pagesMap[name] = sc
return sc
end
local function addAppStoreHeader(parent, titleStr, captionStr)
local y = topPad + 18
if captionStr then
UI.text({ Text = captionStr, TextSize = 15, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = SUB, Position = UDim2.fromOffset(padX, y), Size = UDim2.fromOffset(600, 20), Parent = parent })
y += 20
end
UI.text({ Text = titleStr, TextSize = 40, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = INK, Position = UDim2.fromOffset(padX, y), Size = UDim2.fromOffset(600, 50), Parent = parent })
if LocalPlayer then
UI.make("ImageLabel", { Image = UI.headshot(LocalPlayer.UserId), AnchorPoint = Vector2.new(1, 0), BackgroundColor3 = UI.FILL, Position = UDim2.new(1, -padX, 0, y + 3), Size = UDim2.fromOffset(44, 44), Parent = parent }, { UI.round() })
end
return y + 66
end
local function drawPackageRow(parent, pkg, x, y, w, rank, backTab)
local row = UI.make("TextButton", { Text = "", AutoButtonColor = false, BackgroundTransparency = 1, Position = UDim2.fromOffset(x, y), Size = UDim2.fromOffset(w, 96), Parent = parent })
local icon = UI.make("ImageLabel", { AnchorPoint = Vector2.new(0, 0.5), BackgroundColor3 = UI.FILL, Position = UDim2.new(0, 0, 0.5, 0), Size = UDim2.fromOffset(70, 70), Parent = row }, { UI.corner(16), UI.make("UIStroke", { Thickness = 1, Transparency = 0.3, Color = LINE }) })
icon:SetAttribute("ThemeKeep", true)
AppIcon.apply(icon, { name = pkg.name, icon = "", tile = pkg.tile })
local tx = 86
if rank then
UI.text({ Text = tostring(rank), TextSize = 18, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = INK, AnchorPoint = Vector2.new(0, 0.5), Position = UDim2.new(0, tx, 0.5, 0), Size = UDim2.fromOffset(24, 24), Parent = row })
tx += 30
end
UI.text({ Text = pkg.name, TextSize = 18, FontFace = UI.font(Enum.FontWeight.Medium), TextColor3 = INK, TextTruncate = Enum.TextTruncate.AtEnd, Position = UDim2.new(0, tx, 0.5, -24), Size = UDim2.new(1, -tx - 96, 0, 24), Parent = row })
UI.text({ Text = pkg.subtitle, TextSize = 14, TextColor3 = SUB, TextTruncate = Enum.TextTruncate.AtEnd, Position = UDim2.new(0, tx, 0.5, 2), Size = UDim2.new(1, -tx - 96, 0, 20), Parent = row })
UI.make("Frame", { BackgroundColor3 = LINE, Position = UDim2.new(0, tx, 1, -1), Size = UDim2.new(1, -tx, 0, 1), Parent = row })
local pill = UI.make("TextButton", { Text = "OPEN", TextSize = 15, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = UI.BLUE, BackgroundColor3 = FILL, AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, 0, 0.5, 0), Size = UDim2.fromOffset(78, 32), Parent = row }, { UI.round() })
row.Activated:Connect(function() openDetail(pkg, backTab) end)
pill.Activated:Connect(function() openDetail(pkg, backTab) end)
end
local Featured = makeTabPage("Featured")
local fy = addAppStoreHeader(Featured, "Featured", "SILEO • ELLEKIT 2.0 • " .. string.upper(os.date("%A, %b %d")))
local featW = if isPhone then size.X - padX * 2 else math.floor((size.X - padX * 2 - 28) * 0.62)
local featH = if isPhone then 252 else 360
local featCard = UI.make("ImageButton", { AutoButtonColor = false, BackgroundColor3 = Color3.fromRGB(22, 32, 54), Position = UDim2.fromOffset(padX, fy), Size = UDim2.fromOffset(featW, featH), Parent = Featured }, { UI.corner(24) })
featCard:SetAttribute("ThemeKeep", true)
UI.make("UIGradient", { Rotation = 45, Color = ColorSequence.new(Color3.fromRGB(28, 95, 195), Color3.fromRGB(16, 22, 46)), Parent = featCard })
UI.text({ Text = "TWEAK SPOTLIGHT", TextSize = 14, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = Color3.fromRGB(165, 220, 255), Position = UDim2.fromOffset(26, 24), Size = UDim2.new(1, -52, 0, 20), Parent = featCard }):SetAttribute("ThemeKeep", true)
UI.text({ Text = "Cylinder Reborn\n50 Page Transitions", TextSize = if isPhone then 28 else 34, TextWrapped = true, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = UI.WHITE, Position = UDim2.fromOffset(26, 50), Size = UDim2.new(0.85, 0, 0, 100), Parent = featCard }):SetAttribute("ThemeKeep", true)
local featBottom = UI.make("Frame", { BackgroundTransparency = 1, Position = UDim2.new(0, 26, 1, -90), Size = UDim2.new(1, -52, 0, 66), Parent = featCard })
local fi = UI.make("ImageLabel", { Size = UDim2.fromOffset(64, 64), Parent = featBottom }, { UI.corner(15) })
fi:SetAttribute("ThemeKeep", true)
AppIcon.apply(fi, { name = PACKAGES[1].name, icon = "", tile = PACKAGES[1].tile })
UI.text({ Text = PACKAGES[1].name, TextSize = 18, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = UI.WHITE, Position = UDim2.fromOffset(80, 10), Size = UDim2.new(1, -180, 0, 24), Parent = featBottom }):SetAttribute("ThemeKeep", true)
UI.text({ Text = "60FPS SpringBoard Engine", TextSize = 14, TextColor3 = Color3.fromRGB(200, 215, 240), Position = UDim2.fromOffset(80, 36), Size = UDim2.new(1, -180, 0, 20), Parent = featBottom }):SetAttribute("ThemeKeep", true)
local fBtn = UI.make("TextButton", { Text = "OPEN", TextSize = 15, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = UI.BLUE, BackgroundColor3 = UI.WHITE, AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, 0, 0.5, 0), Size = UDim2.fromOffset(84, 34), Parent = featBottom }, { UI.round() })
fBtn:SetAttribute("ThemeKeep", true)
featCard.Activated:Connect(function() openDetail(PACKAGES[1], "Featured") end)
fBtn.Activated:Connect(function() openDetail(PACKAGES[1], "Featured") end)
if not isPhone then
local sideW = size.X - padX * 2 - 28 - featW
local sideCard = UI.make("ImageButton", { AutoButtonColor = false, BackgroundColor3 = FILL, Position = UDim2.fromOffset(padX + featW + 28, fy), Size = UDim2.fromOffset(sideW, featH), Parent = Featured }, { UI.corner(24) })
UI.text({ Text = "TWEAK\nOF THE\nDAY", TextSize = 38, LineHeight = 0.92, FontFace = UI.font(Enum.FontWeight.Heavy), TextColor3 = UI.BLUE, Position = UDim2.fromOffset(24, 24), Size = UDim2.new(1, -48, 0, 120), Parent = sideCard })
local si = UI.make("ImageLabel", { AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.new(0.5, 0, 0.55, 10), Size = UDim2.fromOffset(115, 115), Parent = sideCard }, { UI.corner(28) })
si:SetAttribute("ThemeKeep", true)
AppIcon.apply(si, { name = PACKAGES[2].name, icon = "", tile = PACKAGES[2].tile })
UI.text({ Text = PACKAGES[2].name, TextSize = 18, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = INK, AnchorPoint = Vector2.new(0, 1), Position = UDim2.new(0, 24, 1, -24), Size = UDim2.new(1, -48, 0, 24), Parent = sideCard })
sideCard.Activated:Connect(function() openDetail(PACKAGES[2], "Featured") end)
end
local gy = fy + featH + 34
UI.text({ Text = "Essential Tweaks", TextSize = 24, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = INK, Position = UDim2.fromOffset(padX, gy), Size = UDim2.fromOffset(500, 30), Parent = Featured })
local cols = if isPhone then 1 else 2
local colW = (size.X - padX * 2 - (cols - 1) * 28) / cols
for idx, pkg in ipairs(PACKAGES) do
local cx = padX + ((idx - 1) % cols) * (colW + 28)
local cy = gy + 42 + math.floor((idx - 1) / cols) * 96
drawPackageRow(Featured, pkg, cx, cy, colW, idx, "Featured")
end
local Sources = makeTabPage("Sources")
local sy = addAppStoreHeader(Sources, "Sources", "APT REPOSITORIES")
local repos = {
{ name = "Chariz", url = "https://repo.chariz.com", desc = "Cylinder Reborn, NewTerm, Premium Tweaks", tile = { Color3.fromRGB(255, 85, 85), Color3.fromRGB(190, 30, 50), "C" } },
{ name = "Havoc", url = "https://havoc.app", desc = "Spectrum Theme Engine & Modern UI Tweaks", tile = { Color3.fromRGB(165, 80, 245), Color3.fromRGB(95, 35, 175), "H" } },
{ name = "ElleKit Official", url = "https://ellekit.space", desc = "Rootless Tweak Injection & SpringBoard Hooks", tile = { Color3.fromRGB(28, 175, 132), Color3.fromRGB(14, 78, 95), "E" } },
{ name = "Procursus", url = "https://apt.procurs.us", desc = "Core Unix Tools, CoreTrust & System Binaries", tile = { Color3.fromRGB(60, 65, 80), Color3.fromRGB(25, 28, 36), "P" } },
}
for i, r in ipairs(repos) do
local card = UI.make("Frame", { BackgroundColor3 = FILL, Position = UDim2.fromOffset(padX, sy + (i - 1) * 96), Size = UDim2.new(1, -padX * 2, 0, 82), Parent = Sources }, { UI.corner(18) })
local ri = UI.make("ImageLabel", { AnchorPoint = Vector2.new(0, 0.5), Position = UDim2.new(0, 16, 0.5, 0), Size = UDim2.fromOffset(54, 54), Parent = card }, { UI.corner(13) })
ri:SetAttribute("ThemeKeep", true)
AppIcon.apply(ri, { name = r.name, icon = "", tile = r.tile })
UI.text({ Text = r.name, TextSize = 19, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = INK, Position = UDim2.fromOffset(84, 14), Size = UDim2.new(1, -100, 0, 24), Parent = card })
UI.text({ Text = r.url .. " • " .. r.desc, TextSize = 13, TextColor3 = SUB, TextTruncate = Enum.TextTruncate.AtEnd, Position = UDim2.fromOffset(84, 42), Size = UDim2.new(1, -100, 0, 20), Parent = card })
end
local Packages = makeTabPage("Packages")
local py = addAppStoreHeader(Packages, "Packages", "INSTALLED & AVAILABLE")
for idx, pkg in ipairs(PACKAGES) do
drawPackageRow(Packages, pkg, padX, py + (idx - 1) * 96, size.X - padX * 2, nil, "Packages")
end
local Search = makeTabPage("Search")
local shy = addAppStoreHeader(Search, "Search")
local searchBoxWrap = UI.make("Frame", { BackgroundColor3 = FILL, Position = UDim2.fromOffset(padX, shy), Size = UDim2.new(1, -padX * 2, 0, 46), Parent = Search }, { UI.corner(12) })
sketch(searchBoxWrap, 24, 23, 24, SUB, iconsDraw.Search, FILL)
local searchBox = UI.make("TextBox", {
Text = "", PlaceholderText = "Tweaks, Themes, Cylinder, Repos...", ClearTextOnFocus = false,
BackgroundTransparency = 1, TextSize = 18, PlaceholderColor3 = SUB, FontFace = UI.font(),
TextColor3 = INK, TextXAlignment = Enum.TextXAlignment.Left,
Position = UDim2.fromOffset(46, 0), Size = UDim2.new(1, -60, 1, 0), Parent = searchBoxWrap,
})
local searchResults = UI.make("Frame", { BackgroundTransparency = 1, Position = UDim2.fromOffset(0, shy + 64), Size = UDim2.new(1, 0, 0, 700), Parent = Search })
local function renderSearch()
for _, c in ipairs(searchResults:GetChildren()) do c:Destroy() end
local q = string.lower(searchBox.Text)
if q == "" then
UI.text({ Text = "Discover", TextSize = 24, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = INK, Position = UDim2.fromOffset(padX, 0), Size = UDim2.fromOffset(300, 30), Parent = searchResults })
for i, pkg in ipairs(PACKAGES) do
local btn = UI.make("TextButton", {
AutoButtonColor = false, BackgroundTransparency = 1, TextSize = 20, Text = string.lower(pkg.name),
FontFace = UI.font(), TextColor3 = UI.BLUE, TextXAlignment = Enum.TextXAlignment.Left,
Position = UDim2.fromOffset(padX, 40 + (i - 1) * 46), Size = UDim2.new(0.6, -padX, 0, 44), Parent = searchResults,
})
UI.make("Frame", { BackgroundColor3 = LINE, Position = UDim2.new(0, 0, 1, -1), Size = UDim2.new(1, 0, 0, 1), Parent = btn })
btn.Activated:Connect(function() searchBox.Text = pkg.name end)
end
return
end
local matches = {}
for _, pkg in ipairs(PACKAGES) do
if string.find(string.lower(pkg.name .. " " .. pkg.subtitle .. " " .. pkg.category), q, 1, true) then table.insert(matches, pkg) end
end
if #matches == 0 then
UI.text({ Text = "No Results", TextSize = 22, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = SUB, TextXAlignment = Enum.TextXAlignment.Center, Position = UDim2.fromOffset(0, 100), Size = UDim2.new(1, 0, 0, 30), Parent = searchResults })
return
end
for i, pkg in ipairs(matches) do drawPackageRow(searchResults, pkg, padX, (i - 1) * 96, size.X - padX * 2, nil, "Search") end
end
searchBox:GetPropertyChangedSignal("Text"):Connect(renderSearch)
renderSearch()
local Detail = UI.make("ScrollingFrame", {
Name = "Detail", Visible = false, ZIndex = 2, ScrollBarThickness = 4, AutomaticCanvasSize = Enum.AutomaticSize.Y,
BackgroundColor3 = UI.WHITE, CanvasSize = UDim2.new(), ScrollBarImageColor3 = SUB,
Size = UDim2.fromOffset(size.X, scrollH), Parent = frame,
}, { UI.make("UIPadding", { PaddingBottom = UDim.new(0, 40) }) })
local function closeDetail()
Detail.Visible = false
for _, c in ipairs(Detail:GetChildren()) do if c:IsA("GuiObject") then c:Destroy() end end
end
openDetail = function(pkg, backTab)
closeDetail()
Detail.CanvasPosition = Vector2.zero
local backBtn = UI.make("TextButton", {
AutoButtonColor = false, BackgroundTransparency = 1, Text = backTab or "Back", TextSize = 19,
FontFace = UI.font(), TextColor3 = UI.BLUE, TextXAlignment = Enum.TextXAlignment.Left,
Position = UDim2.fromOffset(padX + 8, topPad + 8), Size = UDim2.fromOffset(200, 34), Parent = Detail,
})
sketch(backBtn, -10, 17, 22, UI.BLUE, iconsDraw.Back)
backBtn.Activated:Connect(closeDetail)
local hy = topPad + 60
local iconSz = if isPhone then 110 else 140
local dIcon = UI.make("ImageLabel", { Position = UDim2.fromOffset(padX, hy), Size = UDim2.fromOffset(iconSz, iconSz), Parent = Detail }, { UI.corner(32), UI.make("UIStroke", { Thickness = 1, Transparency = 0.3, Color = LINE }) })
dIcon:SetAttribute("ThemeKeep", true)
AppIcon.apply(dIcon, { name = pkg.name, icon = "", tile = pkg.tile })
local tx = padX + iconSz + 22
UI.text({ Text = pkg.name, TextSize = if isPhone then 26 else 32, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = INK, TextTruncate = Enum.TextTruncate.AtEnd, Position = UDim2.fromOffset(tx, hy + 4), Size = UDim2.new(1, -tx - padX, 0, 40), Parent = Detail })
UI.text({ Text = pkg.subtitle, TextSize = 17, TextColor3 = SUB, TextTruncate = Enum.TextTruncate.AtEnd, Position = UDim2.fromOffset(tx, hy + 46), Size = UDim2.new(1, -tx - padX, 0, 24), Parent = Detail })
local instBtn = UI.make("TextButton", {
Text = "INSTALLED", TextSize = 15, FontFace = UI.font(Enum.FontWeight.Bold),
TextColor3 = UI.WHITE, BackgroundColor3 = UI.BLUE,
Position = UDim2.fromOffset(tx, hy + iconSz - 36), Size = UDim2.fromOffset(124, 34), Parent = Detail,
}, { UI.round() })
instBtn:SetAttribute("ThemeKeep", true)
instBtn.Activated:Connect(function()
instBtn.Visible = false
local ringBox = UI.make("Frame", { BackgroundTransparency = 1, Position = instBtn.Position, Size = UDim2.fromOffset(34, 34), Parent = Detail })
local r = Ring(ringBox, 34, 3, UI.BLUE, LINE)
task.spawn(function()
for s = 0, 1, 0.1 do r(s); task.wait(0.03) end
ringBox:Destroy(); instBtn.Text = "RE-INSTALLED ✓"; instBtn.Visible = true
end)
end)
local my = hy + iconSz + 26
UI.make("Frame", { BackgroundColor3 = LINE, Position = UDim2.fromOffset(padX, my), Size = UDim2.new(1, -padX * 2, 0, 1), Parent = Detail })
local colsMeta = {
{ "VERSION", pkg.version, "Release" },
{ "CATEGORY", pkg.category, "Tweak" },
{ "REPO", pkg.repo, "APT Source" },
{ "ACCESS", "ROOT", "ElleKit" },
}
local cw = (size.X - padX * 2) / #colsMeta
for m, cData in ipairs(colsMeta) do
local cf = UI.make("Frame", { BackgroundTransparency = 1, Position = UDim2.fromOffset(padX + (m - 1) * cw, my + 12), Size = UDim2.fromOffset(cw, 78), Parent = Detail })
if m > 1 then UI.make("Frame", { BackgroundColor3 = LINE, Position = UDim2.fromOffset(0, 8), Size = UDim2.fromOffset(1, 56), Parent = cf }) end
UI.text({ Text = cData[1], TextSize = 11, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = SUB, TextXAlignment = Enum.TextXAlignment.Center, Size = UDim2.new(1, 0, 0, 16), Parent = cf })
UI.text({ Text = cData[2], TextSize = 20, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = Color3.fromRGB(88, 88, 92), TextXAlignment = Enum.TextXAlignment.Center, Position = UDim2.fromOffset(0, 20), Size = UDim2.new(1, 0, 0, 26), Parent = cf })
UI.text({ Text = cData[3], TextSize = 13, TextColor3 = SUB, TextXAlignment = Enum.TextXAlignment.Center, Position = UDim2.fromOffset(0, 50), Size = UDim2.new(1, 0, 0, 18), Parent = cf })
end
UI.make("Frame", { BackgroundColor3 = LINE, Position = UDim2.fromOffset(padX, my + 98), Size = UDim2.new(1, -padX * 2, 0, 1), Parent = Detail })
UI.text({
Text = pkg.description, TextSize = 16, TextWrapped = true, AutomaticSize = Enum.AutomaticSize.Y,
TextColor3 = INK, Position = UDim2.fromOffset(padX, my + 116), Size = UDim2.new(1, -padX * 2, 0, 24), Parent = Detail,
})
if pkg.configUI then
local cfgContainer = UI.make("Frame", {
BackgroundTransparency = 1, Position = UDim2.fromOffset(0, my + 185),
AutomaticSize = Enum.AutomaticSize.Y, Size = UDim2.new(1, 0, 0, 0), Parent = Detail,
})
local subPage = EK.Page(cfgContainer, size, { avatar = false, embedded = true })
pkg.configUI(subPage)
end
Detail.Visible = true
end
local tabBar = UI.make("Frame", {
Name = "TabBar", ZIndex = 3, BackgroundColor3 = TAB_BG,
Position = UDim2.fromOffset(if isPhone then 16 else 0, scrollH),
Size = UDim2.fromOffset(size.X - (if isPhone then 32 else 0), tabH), Parent = frame,
})
UI.make("Frame", { ZIndex = 3, BackgroundColor3 = LINE, Size = UDim2.new(1, 0, 0, 1), Parent = tabBar })
local tabDefs = { { key = "Featured" }, { key = "Sources" }, { key = "Packages" }, { key = "Search" } }
local btnW = if isPhone then math.floor((size.X - 32) / #tabDefs) else 190
local startX = (size.X - (if isPhone then 32 else 0) - btnW * #tabDefs) / 2
local function selectTab(k)
closeDetail()
for name, pg in pairs(pagesMap) do pg.Visible = (name == k) end
for name, pack in pairs(tabButtons) do
local col = if name == k then UI.BLUE else SUB
pack.lbl.TextColor3 = col
for _, d in ipairs(pack.ico:GetDescendants()) do
if d:IsA("Frame") and d.BackgroundTransparency < 1 and d.BackgroundColor3 ~= TAB_BG then d.BackgroundColor3 = col end
end
end
end
for i, t in ipairs(tabDefs) do
local tb = UI.make("TextButton", { Text = "", AutoButtonColor = false, BackgroundTransparency = 1, ZIndex = 3, Position = UDim2.fromOffset(startX + (i - 1) * btnW, 0), Size = UDim2.fromOffset(btnW, 54), Parent = tabBar })
local ico = sketch(tb, btnW / 2 - 36, 27, 26, SUB, iconsDraw[t.key], TAB_BG)
ico.ZIndex = 3
for _, d in ipairs(ico:GetDescendants()) do if d:IsA("GuiObject") then d.ZIndex = 3 end end
local lbl = UI.text({ Text = t.key, TextSize = 15, ZIndex = 3, FontFace = UI.font(Enum.FontWeight.Medium), TextColor3 = SUB, Position = UDim2.fromOffset(btnW / 2 - 14, 17), Size = UDim2.fromOffset(100, 20), Parent = tb })
tabButtons[t.key] = { ico = ico, lbl = lbl }
tb.Activated:Connect(function() selectTab(t.key) end)
end
selectTab("Featured")
return { opened = function() selectTab("Featured") end, closed = function() searchBox:ReleaseFocus() end, destroy = function() end }
end
local SAMPLE_LUA_SYSINFO = [[return {
Name = "SysMonitor",
Version = "1.2.0",
Source = "github.com/ellekit/sysmon",
Subtitle = "Real-time iOS System Monitor",
Tile = { Color3.fromRGB(45, 195, 155), Color3.fromRGB(18, 95, 115), "📊" },
Main = function(frame, size, EK, API)
local page = EK.Page(frame, size, { title = "SysMonitor", subtitle = "ELLEKIT SDK • ROOT ACCESS" })
local lp = game:GetService("Players").LocalPlayer
local bat = lp:GetAttribute("iPadBattery") or 100
local dev = if page.IsPhone then API.OS.Model.Phone.of(lp) else API.OS.Model.of(lp)
page:HeroCard({
title = dev and (dev.modelName or dev.name) or "Apple Device",
subtitle = string.format("Chip: %s • Battery: %d%%", dev and dev.chip or "Silicon", math.floor(bat)),
tile = { Color3.fromRGB(45, 195, 155), Color3.fromRGB(18, 95, 115), "📊" },
button = {
text = "Notify",
onClick = function() API.Notify("SysMonitor", "Full System Access is active!", "SysMonitor") end,
},
})
local sec = page:Section("System Tweaks (via TrollStore)", "Apps installed via TrollStore get direct system access.")
sec:Toggle({
title = "Dark Mode",
value = API.OS.Theme.dark(),
onChange = function(v) API.SetDarkMode(v) end,
})
sec:Row({
title = "Enable Cylinder #28 (Vortex)",
color = API.OS.UI.BLUE,
onClick = function()
API.SetCylinder(28)
EK.Alert("Cylinder", "Enabled Vortex Swirl (#28)!", {{ text = "Nice", bold = true }})
end,
})
sec:Button({ title = "Respring SpringBoard", destructive = true, onClick = function() API.Respring() end })
return { opened = function() end, closed = function() end }
end,
}]]
local SAMPLE_LUA_ISLAND = [[return {
Name = "DynamicIsland",
Version = "2.0.0",
Source = "repo.trollstore.vn",
Subtitle = "Live Floating Island HUD on Screen",
Tile = { Color3.fromRGB(30, 32, 42), Color3.fromRGB(10, 10, 14), "🏝" },
Main = function(frame, size, EK, API)
local page = EK.Page(frame, size, { title = "DynamicIsland", subtitle = "SCREEN OVERLAY TWEAK" })
local scr = API.GetScreen()
local sec = page:Section("Dynamic Island HUD", "Overlays a live Dynamic Island directly onto the device Screen.")
sec:Toggle({
title = "Show Dynamic Island on Screen",
value = scr and scr:FindFirstChild("JBDynamicIsland") ~= nil,
onChange = function(on)
if not scr then return end
local old = scr:FindFirstChild("JBDynamicIsland")
if old then old:Destroy() end
if on then
local pill = API.OS.UI.make("TextButton", {
Name = "JBDynamicIsland",
Text = " TrollStore • ElleKit Active",
TextSize = 15,
FontFace = API.OS.UI.font(Enum.FontWeight.Bold),
TextColor3 = Color3.new(1, 1, 1),
BackgroundColor3 = Color3.new(0, 0, 0),
AnchorPoint = Vector2.new(0.5, 0),
Position = UDim2.new(0.5, 0, 0, 12),
Size = UDim2.fromOffset(290, 34),
ZIndex = 150,
Parent = scr,
}, { API.OS.UI.round() })
pill:SetAttribute("ThemeKeep", true)
pill.Activated:Connect(function()
API.Notify("Dynamic Island", "Tapped Dynamic Island!", "DynamicIsland")
end)
end
end,
})
return {}
end,
}]]
local SAMPLE_LUA_BAD = [[return {
Name = "BrokenApp",
}]]
CustomApps.TrollStore = function(frame, size)
local isPhone = size.X < size.Y
local topPad = if isPhone then 50 else 34
local padX = if isPhone then 20 else 44
local tabH = 74
local bottomPad = if isPhone then 30 else 0
local scrollH = size.Y - tabH - bottomPad
local INK = Color3.fromRGB(0, 0, 0)
local SUB = Color3.fromRGB(138, 138, 142)
local LINE = Color3.fromRGB(216, 216, 220)
local FILL = Color3.fromRGB(239, 239, 244)
local TAB_BG = Color3.fromRGB(249, 249, 249)
frame.BackgroundColor3 = UI.WHITE
local scr = frame:FindFirstAncestor("Screen")
local EK = buildElleKitUI(scr)
local pagesMap, tabBtns = {}, {}
local function makeTabPage(name)
local sc = UI.make("ScrollingFrame", {
Name = name, Visible = false, ScrollBarThickness = 4, AutomaticCanvasSize = Enum.AutomaticSize.Y,
BackgroundColor3 = UI.WHITE, CanvasSize = UDim2.new(), ScrollBarImageColor3 = SUB,
Size = UDim2.fromOffset(size.X, scrollH), Parent = frame,
}, { UI.make("UIPadding", { PaddingBottom = UDim.new(0, 40) }) })
pagesMap[name] = sc
return sc
end
local function addHeader(parent, titleStr, capStr)
local y = topPad + 18
UI.text({ Text = capStr, TextSize = 15, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = SUB, Position = UDim2.fromOffset(padX, y), Size = UDim2.fromOffset(600, 20), Parent = parent })
y += 20
UI.text({ Text = titleStr, TextSize = 40, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = INK, Position = UDim2.fromOffset(padX, y), Size = UDim2.fromOffset(600, 50), Parent = parent })
if LocalPlayer then
UI.make("ImageLabel", { Image = UI.headshot(LocalPlayer.UserId), AnchorPoint = Vector2.new(1, 0), BackgroundColor3 = UI.FILL, Position = UDim2.new(1, -padX, 0, y + 3), Size = UDim2.fromOffset(44, 44), Parent = parent }, { UI.round() })
end
return y + 66
end
local AppsPage = makeTabPage("Apps")
local appsHeaderY = addHeader(AppsPage, "TrollStore", "CORETRUST • LUA SIDELOADER")
local appsListHolder = UI.make("Frame", { BackgroundTransparency = 1, Position = UDim2.fromOffset(0, appsHeaderY), AutomaticSize = Enum.AutomaticSize.Y, Size = UDim2.new(1, 0, 0, 100), Parent = AppsPage })
local function refreshInstalledList()
for _, c in ipairs(appsListHolder:GetChildren()) do c:Destroy() end
local count = 0
for appName, info in pairs(TrollInstalled) do
local y = count * 96
count += 1
local row = UI.make("Frame", { BackgroundTransparency = 1, Position = UDim2.fromOffset(padX, y), Size = UDim2.new(1, -padX * 2, 0, 96), Parent = appsListHolder })
local ic = UI.make("ImageLabel", { AnchorPoint = Vector2.new(0, 0.5), Position = UDim2.new(0, 0, 0.5, 0), Size = UDim2.fromOffset(68, 68), Parent = row }, { UI.corner(16) })
ic:SetAttribute("ThemeKeep", true)
AppIcon.apply(ic, info.meta)
UI.text({ Text = appName, TextSize = 18, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = INK, Position = UDim2.fromOffset(84, 22), Size = UDim2.new(1, -260, 0, 24), Parent = row })
UI.text({ Text = string.format("v%s • %s", info.manifest.Version, info.manifest.Source), TextSize = 13, TextColor3 = SUB, TextTruncate = Enum.TextTruncate.AtEnd, Position = UDim2.fromOffset(84, 48), Size = UDim2.new(1, -260, 0, 20), Parent = row })
local openBtn = UI.make("TextButton", { Text = "OPEN", TextSize = 14, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = UI.BLUE, BackgroundColor3 = FILL, AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, -86, 0.5, 0), Size = UDim2.fromOffset(74, 32), Parent = row }, { UI.round() })
openBtn.Activated:Connect(function()
local l = findLauncherForScreen(scr)
if l then
l.close()
task.delay(0.38, function() l.open(info.meta, Vector2.new(size.X / 2, size.Y / 2)) end)
end
end)
local delBtn = UI.make("TextButton", { Text = "Remove", TextSize = 13, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = UI.WHITE, BackgroundColor3 = UI.RED, AnchorPoint = Vector2.new(1, 0.5), Position = UDim2.new(1, 0, 0.5, 0), Size = UDim2.fromOffset(76, 32), Parent = row }, { UI.round() })
delBtn:SetAttribute("ThemeKeep", true)
delBtn.Activated:Connect(function() removeAppFromLiveHome(scr, findLauncherForScreen(scr), appName); refreshInstalledList() end)
UI.make("Frame", { BackgroundColor3 = LINE, Position = UDim2.new(0, 84, 1, -1), Size = UDim2.new(1, -84, 0, 1), Parent = row })
end
if count == 0 then
local empty = UI.make("Frame", { BackgroundColor3 = FILL, Position = UDim2.fromOffset(padX, 0), Size = UDim2.new(1, -padX * 2, 0, 130), Parent = appsListHolder }, { UI.corner(18) })
UI.text({ Text = "No .lua apps installed yet.\nSwitch to 'Install .lua' to paste code or load a built-in sample!", TextSize = 16, TextWrapped = true, TextColor3 = SUB, TextXAlignment = Enum.TextXAlignment.Center, Size = UDim2.fromScale(1, 1), Parent = empty })
end
end
local InstallPage = makeTabPage("Install")
local iy = addHeader(InstallPage, "Install .lua", "CORETRUST • API VALIDATOR")
local sampleRow = UI.make("Frame", { BackgroundTransparency = 1, Position = UDim2.fromOffset(padX, iy), Size = UDim2.new(1, -padX * 2, 0, 36), Parent = InstallPage }, { UI.make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, Padding = UDim.new(0, 8) }) })
local codeScroll = UI.make("ScrollingFrame", {
BackgroundColor3 = Color3.fromRGB(20, 22, 28), ScrollBarThickness = 5, AutomaticCanvasSize = Enum.AutomaticSize.Y,
CanvasSize = UDim2.new(), Position = UDim2.fromOffset(padX, iy + 46), Size = UDim2.new(1, -padX * 2, 0, 240), Parent = InstallPage,
}, { UI.corner(16), UI.padding(12, 14) })
codeScroll:SetAttribute("ThemeKeep", true)
local codeBox = UI.make("TextBox", {
MultiLine = true, ClearTextOnFocus = false, TextWrapped = true, Text = SAMPLE_LUA_SYSINFO,
PlaceholderText = "Paste .lua Manifest code (Name, Version, Source, Main)...",
PlaceholderColor3 = Color3.fromRGB(115, 120, 135), TextSize = 13, FontFace = UI.font(),
TextColor3 = Color3.fromRGB(165, 245, 195), TextXAlignment = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Top,
AutomaticSize = Enum.AutomaticSize.Y, BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Parent = codeScroll,
})
codeBox:SetAttribute("ThemeKeep", true)
local function addSampleBtn(labelStr, codeSample)
local b = UI.make("TextButton", { Text = labelStr, TextSize = 13, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = UI.BLUE, BackgroundColor3 = FILL, AutomaticSize = Enum.AutomaticSize.X, Size = UDim2.fromOffset(0, 34), Parent = sampleRow }, { UI.round(), UI.padding(0, 14) })
b.Activated:Connect(function() codeBox.Text = codeSample end)
end
addSampleBtn("Sample: SysMonitor", SAMPLE_LUA_SYSINFO)
addSampleBtn("Sample: Dynamic Island", SAMPLE_LUA_ISLAND)
addSampleBtn("Test API Error", SAMPLE_LUA_BAD)
local statusBanner = UI.text({ Text = "Required API: return { Name = '...', Version = '...', Source = '...', Main = fn }", TextSize = 14, TextWrapped = true, TextColor3 = SUB, Position = UDim2.fromOffset(padX, iy + 298), Size = UDim2.new(1, -padX * 2, 0, 42), Parent = InstallPage })
local installBtn = UI.make("TextButton", { Text = "Verify & Install (.lua)", TextSize = 17, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = UI.WHITE, BackgroundColor3 = UI.BLUE, Position = UDim2.fromOffset(padX, iy + 350), Size = UDim2.new(1, -padX * 2, 0, 48), Parent = InstallPage }, { UI.round() })
installBtn:SetAttribute("ThemeKeep", true)
local installing = false
installBtn.Activated:Connect(function()
if installing then return end
local raw = codeBox.Text
local ok, res = validateAndCompileTrollLua(raw)
if not ok then
statusBanner.TextColor3 = UI.RED
statusBanner.Text = "Install rejected: " .. tostring(res)
EK.Alert("TrollStore • Invalid API Manifest", tostring(res), { { text = "Close", bold = true } })
return
end
installing = true
res._rawCode = raw
installBtn.Visible = false
statusBanner.TextColor3 = UI.BLUE
statusBanner.Text = string.format("CoreTrust signing: %s v%s (%s)...", res.Name, res.Version, res.Source)
local ringBox = UI.make("Frame", { BackgroundTransparency = 1, AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, iy + 354), Size = UDim2.fromOffset(40, 40), Parent = InstallPage })
local r = Ring(ringBox, 40, 3.5, UI.BLUE, LINE)
task.spawn(function()
for s = 0, 1, 0.08 do r(s); task.wait(0.03) end
ringBox:Destroy()
installValidatedManifest(res, scr, findLauncherForScreen(scr))
refreshInstalledList()
statusBanner.TextColor3 = UI.GREEN
statusBanner.Text = string.format("✓ Installed %s v%s to HomeScreen & Jiggle!", res.Name, res.Version)
installBtn.Visible = true
installing = false
end)
end)
local DocsPage = makeTabPage("Docs")
local dy = addHeader(DocsPage, "ElleKit SDK", "FULL SYSTEM & UI REFERENCE")
local docWrap = UI.make("Frame", { BackgroundTransparency = 1, Position = UDim2.fromOffset(0, dy), AutomaticSize = Enum.AutomaticSize.Y, Size = UDim2.new(1, 0, 0, 0), Parent = DocsPage })
local docSub = EK.Page(docWrap, size, { avatar = false, embedded = true })
docSub:CodeBox(220, [[return {
Name = "MyApp",
Version = "1.0.0",
Source = "repo.example",
Subtitle = "Description",
Tile = { Color1, Color2, "Emoji" },
Main = function(frame, size, EK, API)
local p = EK.Page(frame, size, { title = "Hello" })
local sec = p:Section("System")
sec:Button({ title = "Respring", onClick = API.Respring })
return { opened = function() end }
end
}]])
local apiSec = docSub:Section("Available EK & API Methods")
apiSec:Row({ title = "EK.Page / HeroCard / Section", value = "iOS UI", chevron = false })
apiSec:Row({ title = "EK.Alert / Toggle / Input / Row", value = "Components", chevron = false })
apiSec:Row({ title = "API.SetCylinder / SetThemePreset", value = "SpringBoard", chevron = false })
apiSec:Row({ title = "API.SetCarrier / SetCorner / Respring", value = "Root Access", chevron = false })
apiSec:Row({ title = "API.OS (Config, UI, Theme, Shell...)", value = "Native iOS", chevron = false })
local tabBar = UI.make("Frame", { Name = "TabBar", ZIndex = 3, BackgroundColor3 = TAB_BG, Position = UDim2.fromOffset(if isPhone then 16 else 0, scrollH), Size = UDim2.fromOffset(size.X - (if isPhone then 32 else 0), tabH), Parent = frame })
UI.make("Frame", { ZIndex = 3, BackgroundColor3 = LINE, Size = UDim2.new(1, 0, 0, 1), Parent = tabBar })
local tsIcons = {
Apps = function(p) for _, j in ipairs({ -6, 0, 6 }) do p.line(-10, j, 0, j - 4, 2); p.line(0, j - 4, 10, j, 2); p.line(-10, j, 0, j + 4, 2); p.line(0, j + 4, 10, j, 2) end end,
Install = function(p) p.line(0, -9, 0, 9, 2.4); p.line(-9, 0, 9, 0, 2.4) end,
Docs = function(p) Glyphs.outline(p, 0, 0, 20, 24, 4, 2); p.line(-5, -5, 5, -5, 2); p.line(-5, 0, 5, 0, 2); p.line(-5, 5, 1, 5, 2) end,
}
local function sketch(parent, x, y, sz, color, fn)
local f = UI.make("Frame", { BackgroundTransparency = 1, AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromOffset(x, y), Size = UDim2.fromOffset(30, 30), Parent = parent }, { UI.make("UIScale", { Scale = sz / 30 }) })
fn(Glyphs.pen(f, TAB_BG, color))
return f
end
local tDefs = { { key = "Apps", label = "Apps" }, { key = "Install", label = "Install .lua" }, { key = "Docs", label = "ElleKit SDK" } }
local bw = if isPhone then math.floor((size.X - 32) / #tDefs) else 210
local sx = (size.X - (if isPhone then 32 else 0) - bw * #tDefs) / 2
local function selectTab(k)
if k == "Apps" then refreshInstalledList() end
for name, pg in pairs(pagesMap) do pg.Visible = (name == k) end
for name, pack in pairs(tabBtns) do
local col = if name == k then UI.BLUE else SUB
pack.lbl.TextColor3 = col
for _, d in ipairs(pack.ico:GetDescendants()) do
if d:IsA("Frame") and d.BackgroundTransparency < 1 and d.BackgroundColor3 ~= TAB_BG then d.BackgroundColor3 = col end
end
end
end
for i, t in ipairs(tDefs) do
local tb = UI.make("TextButton", { Text = "", AutoButtonColor = false, BackgroundTransparency = 1, ZIndex = 3, Position = UDim2.fromOffset(sx + (i - 1) * bw, 0), Size = UDim2.fromOffset(bw, 54), Parent = tabBar })
local ico = sketch(tb, bw / 2 - 42, 27, 26, SUB, tsIcons[t.key])
ico.ZIndex = 3
for _, d in ipairs(ico:GetDescendants()) do if d:IsA("GuiObject") then d.ZIndex = 3 end end
local lbl = UI.text({ Text = t.label, TextSize = 15, ZIndex = 3, FontFace = UI.font(Enum.FontWeight.Medium), TextColor3 = SUB, Position = UDim2.fromOffset(bw / 2 - 20, 17), Size = UDim2.fromOffset(120, 20), Parent = tb })
tabBtns[t.key] = { ico = ico, lbl = lbl }
tb.Activated:Connect(function() selectTab(t.key) end)
end
selectTab("Apps")
return { opened = function() refreshInstalledList() end, closed = function() codeBox:ReleaseFocus() end, destroy = function() end }
end
CustomApps.Terminal = function(frame, size)
local isPhone = size.X < size.Y
local topPad = if isPhone then 56 else 44
frame.BackgroundColor3 = Color3.fromRGB(12, 14, 18)
local outScroll = UI.make("ScrollingFrame", {
BackgroundTransparency = 1, ScrollBarThickness = 4, AutomaticCanvasSize = Enum.AutomaticSize.Y, CanvasSize = UDim2.new(),
Position = UDim2.fromOffset(14, topPad + 6), Size = UDim2.new(1, -28, 1, -(topPad + 114)), Parent = frame,
})
local outText = UI.text({
Text = "NewTerm 3.0 — AppleOS 26.0.1 (root)\nType 'help' for available commands.\n",
TextSize = if isPhone then 13 else 15, TextColor3 = Color3.fromRGB(140, 250, 180),
TextWrapped = true, AutomaticSize = Enum.AutomaticSize.Y, TextYAlignment = Enum.TextYAlignment.Top,
Size = UDim2.new(1, 0, 0, 0), Parent = outScroll,
})
outText:SetAttribute("ThemeKeep", true)
local function printLine(msg)
outText.Text = outText.Text .. "\n" .. msg
task.defer(function() outScroll.CanvasPosition = Vector2.new(0, math.max(0, outScroll.AbsoluteCanvasSize.Y)) end)
end
local quickBar = UI.make("ScrollingFrame", {
BackgroundTransparency = 1, ScrollBarThickness = 0, ScrollingDirection = Enum.ScrollingDirection.X,
AutomaticCanvasSize = Enum.AutomaticSize.X, CanvasSize = UDim2.new(), AnchorPoint = Vector2.new(0, 1),
Position = UDim2.new(0, 14, 1, -64), Size = UDim2.new(1, -28, 0, 34), Parent = frame,
}, { UI.make("UIListLayout", { FillDirection = Enum.FillDirection.Horizontal, Padding = UDim.new(0, 8) }) })
local cmdBox = UI.make("TextBox", {
PlaceholderText = "root# enter command...", PlaceholderColor3 = Color3.fromRGB(110, 120, 130), Text = "", ClearTextOnFocus = false,
TextSize = 15, FontFace = UI.font(), TextColor3 = UI.WHITE, BackgroundColor3 = Color3.fromRGB(28, 32, 42),
AnchorPoint = Vector2.new(0, 1), Position = UDim2.new(0, 14, 1, -18), Size = UDim2.new(1, -108, 0, 38), Parent = frame,
}, { UI.corner(10), UI.padding(0, 10) })
cmdBox:SetAttribute("ThemeKeep", true)
local runBtn = UI.make("TextButton", {
Text = "Run", TextSize = 15, FontFace = UI.font(Enum.FontWeight.Bold), TextColor3 = UI.WHITE,
BackgroundColor3 = UI.BLUE, AnchorPoint = Vector2.new(1, 1), Position = UDim2.new(1, -14, 1, -18),
Size = UDim2.fromOffset(80, 38), Parent = frame,
}, { UI.corner(10) })
runBtn:SetAttribute("ThemeKeep", true)
local function runCommand(raw)
local cmd = string.gsub(raw, "^%s*(.-)%s*$", "%1")
if cmd == "" then return end
printLine("root# " .. cmd)
local args = {}
for w in string.gmatch(cmd, "%S+") do table.insert(args, w) end
local op = string.lower(args[1] or "")
local rest = string.sub(cmd, #op + 2)
local scr = frame:FindFirstAncestor("Screen")
if op == "help" then
printLine("Commands: neofetch | cylinder <1-50|random|off> | carrier <text> | theme <oled|dracula|matrix|crimson|light|dark> | corner <n> | notify <text> | respring | clear")
elseif op == "clear" then outText.Text = ""
elseif op == "neofetch" then
local dev = if isPhone then Model.Phone.of(LocalPlayer) else Model.of(LocalPlayer)
local bat = LocalPlayer:GetAttribute("iPadBattery") or 100
local cid = Preferences.get("cyl_id") or 0
printLine(string.format(" .:' %s@AppleOS\n /'\\ __ OS: AppleOS 26.0.1 (Jailbroken)\n| |/ \\ Host: %s (%s)\n| | Battery: %d%%\n \\ / Cylinder: #%d (%s)\n '---' Theme: %s",
LocalPlayer.Name, dev and (dev.modelName or dev.name) or "iDevice", dev and dev.chip or "Silicon",
math.floor(if type(bat) == "number" then bat else 100), cid,
if Preferences.get("cyl_random") then "Random" elseif cid == 0 then "Off" else (CYLINDER_EFFECTS[cid] and CYLINDER_EFFECTS[cid].name or ""),
Preferences.get("jb_theme") or "Default iOS"))
elseif op == "cylinder" then
local a = string.lower(args[2] or "")
if a == "random" then Preferences.set("cyl_random", true); printLine("[+] Cylinder -> Random")
elseif a == "off" or a == "0" then Preferences.set("cyl_random", false); Preferences.set("cyl_id", 0); printLine("[+] Cylinder -> Off")
else
local n = tonumber(a)
if n and CYLINDER_EFFECTS[n] then Preferences.set("cyl_random", false); Preferences.set("cyl_id", n); printLine("[+] Cylinder -> #" .. n .. " " .. CYLINDER_EFFECTS[n].name)
else printLine("[!] cylinder <1-50|random|off>") end
end
elseif op == "carrier" then Preferences.set("jb_carrier", rest); applyAllVisualTweaks(scr); printLine("[+] Carrier: " .. rest)
elseif op == "corner" then local n = tonumber(args[2]); local l = findLauncherForScreen(scr); if n and l then l.setCorner(n); printLine("[+] Corner -> " .. n) end
elseif op == "theme" then
local t = string.lower(args[2] or "")
if t == "light" then Preferences.set("appearance", "Light")
elseif t == "dark" then Preferences.set("appearance", "Dark")
elseif t == "oled" then applyThemePreset("OLED Pure Black")
elseif t == "dracula" then applyThemePreset("Dracula Purple")
elseif t == "matrix" then applyThemePreset("Matrix Hacker")
elseif t == "crimson" then applyThemePreset("Crimson Rose")
end
printLine("[+] Theme -> " .. t)
elseif op == "notify" then Shell.notify("Terminal", if rest ~= "" then rest else "Root Shell", "app", nil, "Terminal")
elseif op == "respring" then performRealRespring(scr, findLauncherForScreen(scr))
else printLine("zsh: command not found: " .. op) end
end
for _, q in ipairs({ "neofetch", "help", "cylinder 28", "cylinder random", "theme dracula", "respring", "clear" }) do
local qb = UI.make("TextButton", {
Text = q, TextSize = 13, FontFace = UI.font(Enum.FontWeight.Medium), TextColor3 = UI.WHITE,
BackgroundColor3 = Color3.fromRGB(40, 44, 58), AutomaticSize = Enum.AutomaticSize.X, Size = UDim2.fromOffset(0, 30), Parent = quickBar,
}, { UI.corner(8), UI.padding(0, 12) })
qb:SetAttribute("ThemeKeep", true)
qb.Activated:Connect(function() runCommand(q) end)
end
runBtn.Activated:Connect(function() local t = cmdBox.Text; cmdBox.Text = ""; runCommand(t) end)
cmdBox.FocusLost:Connect(function(e) if e then local t = cmdBox.Text; cmdBox.Text = ""; runCommand(t) end end)
return { dark = true, opened = function() end, closed = function() cmdBox:ReleaseFocus() end, destroy = function() end }
end
local function hookLauncherInstance(launcherObj, screenFrame)
if not launcherObj then return end
_G.AppleOS_Launchers[screenFrame] = launcherObj
if not launcherObj._origOpen then
launcherObj._origOpen = launcherObj.open
launcherObj.open = function(appData, pos, rect)
if appData and _G.AppleOS_CustomApps[appData.name] and _G.AppleOS_EnsureCached then
_G.AppleOS_EnsureCached(launcherObj, screenFrame, appData.name, false)
end
return launcherObj._origOpen(appData, pos, rect)
end
end
end
Launcher._origNew = Launcher._origNew or Launcher.new
Launcher.new = function(parentScreen, opts)
local obj = Launcher._origNew(parentScreen, opts)
hookLauncherInstance(obj, parentScreen)
task.defer(function()
attachCylinderToScreen(parentScreen)
applyAllVisualTweaks(parentScreen)
end)
return obj
end
local activeScreen = findActiveScreen()
if activeScreen then
local activeLauncher = findLauncherForScreen(activeScreen)
local jiggleCtx = findJiggleContext(activeScreen)
print(string.format("[AppleOS v4.1] Screen: %s | Launcher: %s | Jiggle: %s",
if activeScreen then "OK" else "NIL",
if activeLauncher then "OK" else "NIL",
if jiggleCtx then "OK" else "NIL"))
if activeLauncher then
hookLauncherInstance(activeLauncher, activeScreen)
ensureCached(activeLauncher, activeScreen, "Dopamine", true)
if Preferences.get("jb_done") then
ensureCached(activeLauncher, activeScreen, "Sileo", true)
ensureCached(activeLauncher, activeScreen, "TrollStore", true)
ensureCached(activeLauncher, activeScreen, "Terminal", true)
end
end
injectAppIntoLiveHome(activeScreen, activeLauncher, APPS_META.Dopamine, true)
if Preferences.get("jb_done") then
injectAppIntoLiveHome(activeScreen, activeLauncher, APPS_META.Sileo, true)
injectAppIntoLiveHome(activeScreen, activeLauncher, APPS_META.TrollStore, true)
injectAppIntoLiveHome(activeScreen, activeLauncher, APPS_META.Terminal, false)
end
attachCylinderToScreen(activeScreen)
applyAllVisualTweaks(activeScreen)
else
print("[AppleOS v4.1] Hooked Launcher/Jiggle for next iPad/iPhone open.")
endScript For Game : Apple iPad Original OpenSource