Run it
Copy the script and paste it into your executor.
Players = :()
TweenService = :()
UserInputService = :()
RunService = :()
HttpService = :()
LogService = :()
Lighting = :()
player = Players.LocalPlayer
ACCENT = .(, , )
BLACK = .(, , )
DARK = .(, , )
PANEL = .(, , )
MUTED = .(, , )
(obj, t, props, style, dir)
tw = TweenService:(obj, TweenInfo.(t, style .EasingStyle.Quad, dir .EasingDirection.Out), props)
tw:()
tw
(obj, r)
c = obj:() .()
c.CornerRadius = r .(, )
c.Parent = obj
c
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.IgnoreGuiInset =
gui.DisplayOrder =
gui.Parent = player:()
main = .()
main.Name =
main.AnchorPoint = .(, )
main.Position = .(, )
main.Size = .(, )
main.BackgroundColor3 = BLACK
main.BorderSizePixel =
main.ClipsDescendants =
main.Visible =
main.Parent = gui
(main, .(, ))
stroke = .()
stroke.Color = ACCENT
stroke.Thickness =
stroke.Transparency =
stroke.Parent = main
FULL = .(, )
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundTransparency =
titleBar.Parent = main
title = .()
title.Size = .(, , , )
title.Position = .(, )
title.BackgroundTransparency =
title.Text =
title.Font = .Font.GothamBold
title.TextSize =
title.TextColor3 = ACCENT
title.TextXAlignment = .TextXAlignment.Left
title.Parent = titleBar
closeBtn = .()
closeBtn.Size = .(, )
closeBtn.AnchorPoint = .(, )
closeBtn.Position = .(, -, , )
closeBtn.BackgroundColor3 = DARK
closeBtn.Text =
closeBtn.Font = .Font.GothamBold
closeBtn.TextSize =
closeBtn.TextColor3 = .(, , )
closeBtn.Parent = titleBar
(closeBtn, .(, ))
SIDEBAR_WIDTH =
tabBar = .()
tabBar.Position = .(, )
tabBar.Size = .(, SIDEBAR_WIDTH, , -)
tabBar.BackgroundColor3 = PANEL
tabBar.BorderSizePixel =
tabBar.Parent = main
(tabBar, .(, ))
tabPad = .()
tabPad.PaddingTop = .(, )
tabPad.PaddingBottom = .(, )
tabPad.PaddingLeft = .(, )
tabPad.PaddingRight = .(, )
tabPad.Parent = tabBar
tabLayout = .()
tabLayout.FillDirection = .FillDirection.Vertical
tabLayout.Padding = .(, )
tabLayout.Parent = tabBar
content = .()
content.Position = .( + SIDEBAR_WIDTH + , )
content.Size = .(, -( + SIDEBAR_WIDTH + ), , -)
content.BackgroundColor3 = DARK
content.BorderSizePixel =
content.Parent = main
(content, .(, ))
tabNames = { , , , , , , }
pages, tabButtons = {}, {}
activeTabName =
accentTargets = {}
(obj: , propName: )
.(accentTargets, { obj = obj, prop = propName })
()
n, b (tabButtons)
(b, , {
BackgroundColor3 = (n == activeTabName) ACCENT BLACK,
TextColor3 = (n == activeTabName) .(, , ) MUTED,
})
(name)
activeTabName = name
n, page (pages)
page.Visible = (n == name)
()
_, name (tabNames)
b = .()
b.Size = .(, , , )
b.BackgroundColor3 = BLACK
b.Text = (name == ) name
b.Font = .Font.GothamBold
b.TextSize =
b.TextColor3 = MUTED
b.AutoButtonColor =
b.Parent = tabBar
(b, .(, ))
tabButtons[name] = b
page = .()
page.Size = .(, )
page.BackgroundTransparency =
page.Visible =
page.Parent = content
pages[name] = page
b.MouseButton1Click:(() (name) )
(stroke, )
(title, )
()
direct = (() == )
direct
direct
() ==
ok, env = ()
ok (env) == (env.loadstring) ==
env.loadstring
() == ((, )) ==
(, )
() == ((, )) ==
(, )
(source: ): (boolean, )
source source:()
,
envLoad = ()
envLoad
fn, compileErr = (source)
fn
, (compileErr)
ok, runErr = (fn)
ok
, (runErr)
,
ranAny =
line source:()
trimmed = line:()
trimmed ~= trimmed:()
printMsg = trimmed:()
warnMsg = trimmed:()
speedVal = trimmed:()
jumpVal = trimmed:()
printMsg
( .. printMsg)
ranAny =
warnMsg
( .. warnMsg)
ranAny =
speedVal
hum = player.Character player.Character:()
hum
hum.WalkSpeed = (speedVal)
ranAny =
jumpVal
hum = player.Character player.Character:()
hum
hum.UseJumpPower =
hum.JumpPower = (jumpVal)
ranAny =
trimmed ==
char = player.Character
hum = char char:()
hum
hum.Health =
ranAny =
ranAny
,
,
consoleWin = .()
consoleWin.Name =
consoleWin.Size = .(, )
consoleWin.Position = .(, -, , -)
consoleWin.BackgroundColor3 = BLACK
consoleWin.BorderSizePixel =
consoleWin.Visible =
consoleWin.ZIndex =
consoleWin.Parent = gui
(consoleWin, .(, ))
consoleStroke = .()
consoleStroke.Color = ACCENT
consoleStroke.Thickness =
consoleStroke.Parent = consoleWin
(consoleStroke, )
consoleTitle = .()
consoleTitle.Size = .(, -, , )
consoleTitle.Position = .(, )
consoleTitle.BackgroundTransparency =
consoleTitle.Text =
consoleTitle.Font = .Font.GothamBold
consoleTitle.TextSize =
consoleTitle.TextColor3 = ACCENT
consoleTitle.TextXAlignment = .TextXAlignment.Left
consoleTitle.ZIndex =
consoleTitle.Parent = consoleWin
(consoleTitle, )
consoleClose = .()
consoleClose.Size = .(, )
consoleClose.Position = .(, -, , )
consoleClose.BackgroundColor3 = DARK
consoleClose.Text =
consoleClose.Font = .Font.GothamBold
consoleClose.TextSize =
consoleClose.TextColor3 = .(, , )
consoleClose.ZIndex =
consoleClose.Parent = consoleWin
(consoleClose, .(, ))
consoleScroll = .()
consoleScroll.Size = .(, -, , -)
consoleScroll.Position = .(, )
consoleScroll.BackgroundColor3 = PANEL
consoleScroll.BorderSizePixel =
consoleScroll.ScrollBarThickness =
consoleScroll.CanvasSize = .(, )
consoleScroll.ZIndex =
consoleScroll.Parent = consoleWin
(consoleScroll, .(, ))
consoleLayout = .()
consoleLayout.Padding = .(, )
consoleLayout.Parent = consoleScroll
consolePad = .()
consolePad.PaddingTop = .(, )
consolePad.PaddingBottom = .(, )
consolePad.PaddingLeft = .(, )
consolePad.PaddingRight = .(, )
consolePad.Parent = consoleScroll
(msg: , msgType: .MessageType)
lbl = .()
lbl.BackgroundTransparency =
lbl.AutomaticSize = .AutomaticSize.Y
lbl.Size = .(, , , )
lbl.Text = msg
lbl.Font = .Font.Code
lbl.TextSize =
lbl.TextWrapped =
lbl.TextXAlignment = .TextXAlignment.Left
lbl.ZIndex =
msgType == .MessageType.MessageError
lbl.TextColor3 = .(, , )
msgType == .MessageType.MessageWarning
lbl.TextColor3 = .(, , )
lbl.TextColor3 = .(, , )
lbl.Parent = consoleScroll
consoleScroll.CanvasSize = .(, consoleLayout.AbsoluteContentSize.Y + )
consoleScroll.CanvasPosition = .(, .(, consoleLayout.AbsoluteContentSize.Y - consoleScroll.AbsoluteWindowSize.Y + ))
_, entry (LogService:())
(entry.message, entry.messageType)
LogService.MessageOut:(appendConsoleLog)
consoleClose.MouseButton1Click:(()
consoleWin.Visible =
)
editorBox
setEditorStatus
openDocGlobal
page = pages[]
subBar = .()
subBar.Size = .(, -, , )
subBar.Position = .(, )
subBar.BackgroundTransparency =
subBar.Parent = page
l = .()
l.FillDirection = .FillDirection.Horizontal
l.Padding = .(, )
l.SortOrder = .SortOrder.LayoutOrder
l.Parent = subBar
box = .()
box.Position = .(, )
box.Size = .(, -, , -)
box.BackgroundColor3 = BLACK
box.TextColor3 = .(, , )
box.PlaceholderText =
box.Font = .Font.Code
box.TextSize =
box.TextXAlignment = .TextXAlignment.Left
box.TextYAlignment = .TextYAlignment.Top
box.MultiLine =
box.ClearTextOnFocus =
box.TextWrapped =
box.Text =
box.Parent = page
(box, .(, ))
editorBox = box
actionBar = .()
actionBar.Size = .(, -, , )
actionBar.AnchorPoint = .(, )
actionBar.Position = .(, , , -)
actionBar.BackgroundTransparency =
actionBar.Parent = page
execBtn = .()
execBtn.Size = .(, )
execBtn.BackgroundColor3 = ACCENT
execBtn.Text =
execBtn.Font = .Font.GothamBold
execBtn.TextSize =
execBtn.TextColor3 = .(, , )
execBtn.Parent = actionBar
(execBtn, .(, ))
(execBtn, )
clearBtn = .()
clearBtn.Size = .(, )
clearBtn.Position = .(, )
clearBtn.BackgroundColor3 = BLACK
clearBtn.Text =
clearBtn.Font = .Font.GothamMedium
clearBtn.TextSize =
clearBtn.TextColor3 = .(, , )
clearBtn.Parent = actionBar
(clearBtn, .(, ))
statusLbl = .()
statusLbl.Position = .(, )
statusLbl.Size = .(, -, , )
statusLbl.BackgroundTransparency =
statusLbl.Text =
statusLbl.Font = .Font.GothamMedium
statusLbl.TextSize =
statusLbl.TextColor3 = MUTED
statusLbl.TextXAlignment = .TextXAlignment.Left
statusLbl.TextTruncate = .TextTruncate.AtEnd
statusLbl.Parent = actionBar
setEditorStatus = (msg: , isGood: boolean?)
statusLbl.Text = msg
statusLbl.TextColor3 = (isGood == ) .(, , ) MUTED
docs, current, count = {}, ,
subButtons = {}
addBtn = .()
addBtn.Size = .(, )
addBtn.BackgroundColor3 = ACCENT
addBtn.Text =
addBtn.Font = .Font.GothamBold
addBtn.TextSize =
addBtn.TextColor3 = .(, , )
addBtn.LayoutOrder =
addBtn.Parent = subBar
(addBtn, .(, ))
(addBtn, )
()
i, b (subButtons)
b.BackgroundColor3 = (i == current) ACCENT BLACK
(id)
current docs[current] = box.Text
current = id
box.Text = docs[id]
()
openDocGlobal = openDoc
()
count +=
id = count
docs[id] =
b = .()
b.Size = .(, )
b.BackgroundColor3 = BLACK
b.Text = .. id
b.Font = .Font.GothamMedium
b.TextSize =
b.TextColor3 = .(, , )
b.LayoutOrder = id
b.Parent = subBar
(b, .(, ))
subButtons[id] = b
b.MouseButton1Click:(() (id) )
(id)
addBtn.MouseButton1Click:(()
count < ()
)
execBtn.MouseButton1Click:(()
ok, info = (box.Text)
(info, ok)
)
clearBtn.MouseButton1Click:(()
box.Text =
current docs[current] =
(, )
)
()
page = pages[]
layout = .()
layout.Padding = .(, )
layout.Parent = page
pad = .()
pad.PaddingTop = .(, )
pad.PaddingLeft = .(, )
pad.PaddingRight = .(, )
pad.Parent = page
(text, cb)
b = .()
b.Size = .(, , , )
b.BackgroundColor3 = BLACK
b.Text = text
b.Font = .Font.GothamMedium
b.TextSize =
b.TextColor3 = .(, , )
b.Parent = page
(b, .(, ))
b.MouseButton1Click:(() (b) )
b
flying, conn, bv = , ,
(, (b)
flying = flying
b.Text = flying
char = player.Character
hrp = char char:()
hum = char char:()
flying hrp hum
bv = .()
bv.MaxForce = .(, , )
bv.Velocity = .zero
bv.Parent = hrp
conn = RunService.RenderStepped:(()
cam = .CurrentCamera
hum.MoveDirection.Magnitude >
bv.Velocity = cam.CFrame.LookVector *
bv.Velocity = .zero
)
conn conn:()
bv bv:()
)
(, ()
char = player.Character
hrp = char char:()
= :(, )
hrp
hrp.CFrame = .CFrame + .(, , )
)
speeds, idx = { , , , },
(, (b)
idx = idx % #speeds +
hum = player.Character player.Character:()
hum hum.WalkSpeed = speeds[idx]
b.Text = .. speeds[idx]
)
page = pages[]
offlinePresets = {
{
title = ,
isUniversal = ,
= { name = },
owner = { username = },
verified = ,
= ,
},
{
title = ,
isUniversal = ,
= { name = },
owner = { username = },
verified = ,
= ,
},
{
title = ,
isUniversal = ,
= { name = },
owner = { username = },
verified = ,
= ,
},
{
title = ,
isUniversal = ,
= { name = },
owner = { username = },
verified = ,
= ,
},
{
title = ,
isUniversal = ,
= { name = },
owner = { username = },
verified = ,
= ,
},
}
searchRow = .()
searchRow.Position = .(, )
searchRow.Size = .(, -, , )
searchRow.BackgroundTransparency =
searchRow.Parent = page
searchBox = .()
searchBox.Size = .(, -, , )
searchBox.BackgroundColor3 = BLACK
searchBox.TextColor3 = .(, , )
searchBox.PlaceholderText =
searchBox.Font = .Font.GothamMedium
searchBox.TextSize =
searchBox.ClearTextOnFocus =
searchBox.Text =
searchBox.Parent = searchRow
(searchBox, .(, ))
searchBtn = .()
searchBtn.Size = .(, )
searchBtn.Position = .(, -, , )
searchBtn.BackgroundColor3 = ACCENT
searchBtn.Text =
searchBtn.Font = .Font.GothamBold
searchBtn.TextSize =
searchBtn.TextColor3 = .(, , )
searchBtn.Parent = searchRow
(searchBtn, .(, ))
(searchBtn, )
hubStatus = .()
hubStatus.Position = .(, )
hubStatus.Size = .(, -, , )
hubStatus.BackgroundTransparency =
hubStatus.Text =
hubStatus.Font = .Font.GothamMedium
hubStatus.TextSize =
hubStatus.TextColor3 = MUTED
hubStatus.TextXAlignment = .TextXAlignment.Left
hubStatus.TextTruncate = .TextTruncate.AtEnd
hubStatus.Parent = page
listFrame = .()
listFrame.Position = .(, )
listFrame.Size = .(, -, , -)
listFrame.BackgroundColor3 = BLACK
listFrame.BorderSizePixel =
listFrame.ScrollBarThickness =
listFrame.CanvasSize = .(, )
listFrame.Parent = page
(listFrame, .(, ))
listLayout = .()
listLayout.Padding = .(, )
listLayout.Parent = listFrame
listPad = .()
listPad.PaddingTop = .(, )
listPad.PaddingLeft = .(, )
listPad.PaddingRight = .(, )
listPad.PaddingBottom = .(, )
listPad.Parent = listFrame
listLayout:():(()
listFrame.CanvasSize = .(, listLayout.AbsoluteContentSize.Y + )
)
()
_, child (listFrame:())
child:()
child:()
(url: ): (boolean, )
() ==
ok, res = (() ({ Url = url, Method = }) )
ok (res) == (res.Body) ==
, res.Body
(()
:(url)
)
directUserKeys = {
, , , , ,
, , , ,
, , ,
}
nestedUserTables = {
, , , , , , , ,
}
(raw: any): ?
(raw) ~=
clean = raw:():(, )
clean ==
lower = clean:()
lower == lower == lower == lower == lower ==
clean
(node, depth: number): ?
(node) ==
handle = node:()
handle
(handle)
(node)
(node) ~= depth >
_, key (directUserKeys)
found = (node[key])
found
found
_, subKey (nestedUserTables)
subVal = node[subKey]
(subVal) == (subVal) ==
found = (subVal, depth + )
found
found
creatorCache = {}
(item):
direct = (item, )
direct
direct
slugOrId = (item.slug item._id )
slugOrId ~=
creatorCache[slugOrId]
creatorCache[slugOrId]
detailUrl = .. HttpService:(slugOrId)
ok, rawDetail = (detailUrl)
ok (rawDetail) ==
decodedOk, decoded = (()
HttpService:(rawDetail)
)
decodedOk (decoded) ==
fetchedName = (decoded, )
fetchedName
creatorCache[slugOrId] = fetchedName
fetchedName
(item):
rawGame = ((item.game) == item.game.name)
item.isUniversal == rawGame rawGame == (rawGame):():(, , )
(rawGame)
(item, queryLower: ): number
queryLower ==
titleStr = (item.title ):()
gameStr = (item):()
creatorStr = (item):()
score =
titleStr == queryLower
score +=
titleStr:(queryLower, , )
score +=
gameStr == queryLower creatorStr == queryLower
score +=
gameStr:(queryLower, , ) creatorStr:(queryLower, , )
score +=
word queryLower:()
#word >=
titleStr:(word, , ) score +=
gameStr:(word, , ) creatorStr:(word, , ) score +=
item.verified == score +=
score
(rawList, query: )
queryLower = query:()
ranked = {}
_, item (rawList)
(item) == (item.title) == item.title ~=
s = (item, queryLower)
queryLower == s >
.(ranked, { item = item, score = s })
.(ranked, (a, b)
a.score == b.score
(a.item.title) < (b.item.title)
a.score > b.score
)
sortedItems = {}
_, entry (ranked)
.(sortedItems, entry.item)
sortedItems
(slugOrId: ): ?
slugOrId slugOrId ==
rawUrl = .. HttpService:(slugOrId)
ok, rawRes = (rawUrl)
ok (rawRes) ==
decodedOk, decoded = (()
HttpService:(rawRes)
)
decodedOk (decoded) == (decoded.script) ==
decoded.script
rawRes
(item)
card = .()
card.Size = .(, , , )
card.BackgroundColor3 = DARK
card.BorderSizePixel =
card.Parent = listFrame
(card, .(, ))
titleLbl = .()
titleLbl.Position = .(, )
titleLbl.Size = .(, -, , )
titleLbl.BackgroundTransparency =
titleLbl.Text = (item.title )
titleLbl.Font = .Font.GothamBold
titleLbl.TextSize =
titleLbl.TextColor3 = .(, , )
titleLbl.TextXAlignment = .TextXAlignment.Left
titleLbl.TextTruncate = .TextTruncate.AtEnd
titleLbl.Parent = card
subLbl = .()
subLbl.Position = .(, )
subLbl.Size = .(, -, , )
subLbl.BackgroundTransparency =
subLbl.Text = (item) .. .. (item)
subLbl.Font = .Font.GothamMedium
subLbl.TextSize =
subLbl.TextColor3 = MUTED
subLbl.TextXAlignment = .TextXAlignment.Left
subLbl.TextTruncate = .TextTruncate.AtEnd
subLbl.Parent = card
loadBtn = .()
loadBtn.Size = .(, )
loadBtn.Position = .(, -, , -)
loadBtn.BackgroundColor3 = BLACK
loadBtn.Text =
loadBtn.Font = .Font.GothamBold
loadBtn.TextSize =
loadBtn.TextColor3 = .(, , )
loadBtn.Parent = card
(loadBtn, .(, ))
runBtn = .()
runBtn.Size = .(, )
runBtn.Position = .(, -, , -)
runBtn.BackgroundColor3 = ACCENT
runBtn.Text =
runBtn.Font = .Font.GothamBold
runBtn.TextSize =
runBtn.TextColor3 = .(, , )
runBtn.Parent = card
(runBtn, .(, ))
(runBtn, )
():
(item.script) == item.script ~=
item.script
fetched = ((item.slug item._id ))
fetched
fetched
.. (item.title ) .. .. (item.title ) ..
loadBtn.MouseButton1Click:(()
codeText = ()
editorBox editorBox.Text = codeText
openDocGlobal
()
editorBox.Text = codeText
()
setEditorStatus
( .. (item.title ) .. , )
)
runBtn.MouseButton1Click:(()
codeText = ()
ok, info = (codeText)
hubStatus.Text = info
hubStatus.TextColor3 = ok MUTED .(, , )
)
(q: , reasonText: ?)
()
matching = (offlinePresets, q)
#matching == matching = offlinePresets
_, preset (matching)
(preset)
hubStatus.Text = (reasonText (reasonText .. ) ) .. .. #matching ..
hubStatus.TextColor3 = MUTED
onCooldown =
COOLDOWN_SECONDS =
()
onCooldown =
searchBtn.Active =
searchBtn.BackgroundColor3 = DARK
searchBtn.Text =
.(COOLDOWN_SECONDS)
onCooldown =
searchBtn.Active =
searchBtn.BackgroundColor3 = ACCENT
searchBtn.Text =
()
onCooldown
hubStatus.Text =
hubStatus.TextColor3 = .(, , )
q = searchBox.Text:()
.(startSearchCooldown)
q ==
(, )
hubStatus.Text = .. q ..
hubStatus.TextColor3 = MUTED
()
url = .. HttpService:(q)
ok, rawJson = (url)
ok (rawJson) ~=
(q, )
decodedOk, data = (()
HttpService:(rawJson)
)
scriptsList = decodedOk (data) == (data.result) == data.result.scripts
(scriptsList) ~= #scriptsList ==
(q, )
sorted = (scriptsList, q)
hubStatus.Text = .. #sorted .. .. q ..
_, item (sorted)
(item)
searchBtn.MouseButton1Click:(runSearch)
searchBox.FocusLost:((enterPressed)
enterPressed ()
)
(, )
page = pages[]
layout = .()
layout.Padding = .(, )
layout.Parent = page
pad = .()
pad.PaddingTop = .(, )
pad.PaddingBottom = .(, )
pad.PaddingLeft = .(, )
pad.PaddingRight = .(, )
pad.Parent = page
headerLbl = .()
headerLbl.Size = .(, , , )
headerLbl.BackgroundTransparency =
headerLbl.Text =
headerLbl.Font = .Font.GothamBold
headerLbl.TextSize =
headerLbl.TextColor3 = ACCENT
headerLbl.TextXAlignment = .TextXAlignment.Left
headerLbl.Parent = page
(headerLbl, )
(labelText: , onClick: (btn: TextButton) -> ())
b = .()
b.Size = .(, , , )
b.BackgroundColor3 = BLACK
b.Text = labelText
b.Font = .Font.GothamBold
b.TextSize =
b.TextColor3 = .(, , )
b.Parent = page
(b, .(, ))
b.MouseButton1Click:(() (b) )
b
statusLbl = .()
statusLbl.Size = .(, , , )
statusLbl.BackgroundTransparency =
statusLbl.Text =
statusLbl.Font = .Font.GothamMedium
statusLbl.TextSize =
statusLbl.TextColor3 = MUTED
statusLbl.TextXAlignment = .TextXAlignment.Left
statusLbl.Parent = page
espEnabled =
espEntries = {}
espLoopConn =
playerAddedConn =
(inst: ): boolean
_, plr (Players:())
plr.Character inst:(plr.Character)
()
espLoopConn
espLoopConn:()
espLoopConn =
playerAddedConn
playerAddedConn:()
playerAddedConn =
_, entry (espEntries)
entry.highlight entry.highlight:()
entry.billboard entry.billboard:()
.(espEntries)
(plr: Player)
plr == player
(char: Model)
espEnabled
head = char:() char:(, )
head head:()
espEntries[plr]
espEntries[plr].highlight espEntries[plr].highlight:()
espEntries[plr].billboard espEntries[plr].billboard:()
hl = .()
hl.Name =
hl.Adornee = char
hl.FillColor = ACCENT
hl.FillTransparency =
hl.OutlineColor = .(, , )
hl.OutlineTransparency =
hl.DepthMode = .HighlightDepthMode.AlwaysOnTop
hl.Parent = gui
bb = .()
bb.Name =
bb.Adornee = head
bb.Size = .(, )
bb.StudsOffset = .(, , )
bb.AlwaysOnTop =
bb.Parent = gui
tagLbl = .()
tagLbl.Size = .(, )
tagLbl.BackgroundTransparency =
tagLbl.Text = plr.Name
tagLbl.Font = .Font.GothamBold
tagLbl.TextSize =
tagLbl.TextColor3 = .(, , )
tagLbl.TextStrokeTransparency =
tagLbl.Parent = bb
espEntries[plr] = { highlight = hl, billboard = bb, label = tagLbl, char = char }
plr.Character
.(applyToChar, plr.Character)
plr.CharacterAdded:((c)
espEnabled
.(applyToChar, c)
)
()
()
_, plr (Players:())
(plr)
playerAddedConn = Players.PlayerAdded:(attachEspToPlayer)
espLoopConn = RunService.RenderStepped:(()
myChar = player.Character
myRoot = myChar myChar:()
plr, entry (espEntries)
plr.Parent
entry.highlight entry.highlight:()
entry.billboard entry.billboard:()
espEntries[plr] =
entry.highlight
entry.highlight.FillColor = ACCENT
targetChar = plr.Character
targetRoot = targetChar targetChar:()
entry.label myRoot targetRoot
dist = .((myRoot.Position - targetRoot.Position).Magnitude)
entry.label.Text = .(, plr.Name, dist)
)
(, (btn)
espEnabled = espEnabled
btn.Text = espEnabled
espEnabled
()
statusLbl.Text =
()
statusLbl.Text =
)
xrayEnabled =
savedModifiers = {}
(active: boolean)
active
.(savedModifiers)
_, desc (:())
desc:() (desc) desc.Transparency <
savedModifiers[desc] = desc.LocalTransparencyModifier
desc.LocalTransparencyModifier =
part, prevMod (savedModifiers)
part part.Parent
part.LocalTransparencyModifier = prevMod
.(savedModifiers)
(, (btn)
xrayEnabled = xrayEnabled
btn.Text = xrayEnabled
(xrayEnabled)
statusLbl.Text = xrayEnabled
)
fullbrightEnabled =
savedLighting = {
Brightness = Lighting.Brightness,
ClockTime = Lighting.ClockTime,
GlobalShadows = Lighting.GlobalShadows,
Ambient = Lighting.Ambient,
}
(, (btn)
fullbrightEnabled = fullbrightEnabled
btn.Text = fullbrightEnabled
fullbrightEnabled
savedLighting.Brightness = Lighting.Brightness
savedLighting.ClockTime = Lighting.ClockTime
savedLighting.GlobalShadows = Lighting.GlobalShadows
savedLighting.Ambient = Lighting.Ambient
Lighting.Brightness =
Lighting.ClockTime =
Lighting.GlobalShadows =
Lighting.Ambient = .(, , )
statusLbl.Text =
Lighting.Brightness = savedLighting.Brightness
Lighting.ClockTime = savedLighting.ClockTime
Lighting.GlobalShadows = savedLighting.GlobalShadows
Lighting.Ambient = savedLighting.Ambient
statusLbl.Text =
)
fovValues = { , , , }
fovIdx =
(, (btn)
fovIdx = (fovIdx % #fovValues) +
newFov = fovValues[fovIdx]
cam = .CurrentCamera
cam
cam.FieldOfView = newFov
btn.Text = .. newFov
statusLbl.Text = .. newFov ..
)
page = pages[]
lastGeneratedScript =
lastTopic =
lastNumber: number? =
chatHistory = {}
topBar = .()
topBar.Position = .(, )
topBar.Size = .(, -, , )
topBar.BackgroundTransparency =
topBar.Parent = page
headerLbl = .()
headerLbl.Size = .(, -, , )
headerLbl.BackgroundTransparency =
headerLbl.Text =
headerLbl.Font = .Font.GothamBold
headerLbl.TextSize =
headerLbl.TextColor3 = ACCENT
headerLbl.TextXAlignment = .TextXAlignment.Left
headerLbl.TextTruncate = .TextTruncate.AtEnd
headerLbl.Parent = topBar
(headerLbl, )
clearChatBtn = .()
clearChatBtn.Size = .(, )
clearChatBtn.Position = .(, -, , )
clearChatBtn.BackgroundColor3 = BLACK
clearChatBtn.Text =
clearChatBtn.Font = .Font.GothamBold
clearChatBtn.TextSize =
clearChatBtn.TextColor3 = MUTED
clearChatBtn.Parent = topBar
(clearChatBtn, .(, ))
chatScroll = .()
chatScroll.Position = .(, )
chatScroll.Size = .(, -, , -)
chatScroll.BackgroundColor3 = BLACK
chatScroll.BorderSizePixel =
chatScroll.ScrollBarThickness =
chatScroll.CanvasSize = .(, )
chatScroll.Parent = page
(chatScroll, .(, ))
chatLayout = .()
chatLayout.Padding = .(, )
chatLayout.Parent = chatScroll
chatPad = .()
chatPad.PaddingTop = .(, )
chatPad.PaddingLeft = .(, )
chatPad.PaddingRight = .(, )
chatPad.PaddingBottom = .(, )
chatPad.Parent = chatScroll
chatLayout:():(()
chatScroll.CanvasSize = .(, chatLayout.AbsoluteContentSize.Y + )
chatScroll.CanvasPosition = .(, .(, chatLayout.AbsoluteContentSize.Y - chatScroll.AbsoluteWindowSize.Y + ))
)
(sender: , text: , generatedCode: ?)
.(chatHistory, { sender = sender, text = text, code = generatedCode })
#chatHistory >
.(chatHistory, )
isUser = (sender == )
msgFrame = .()
msgFrame.BackgroundColor3 = isUser .(, , ) DARK
msgFrame.BorderSizePixel =
msgFrame.AutomaticSize = .AutomaticSize.Y
msgFrame.Size = .(, , , )
msgFrame.Parent = chatScroll
(msgFrame, .(, ))
mPad = .()
mPad.PaddingTop = .(, )
mPad.PaddingBottom = .(, )
mPad.PaddingLeft = .(, )
mPad.PaddingRight = .(, )
mPad.Parent = msgFrame
mLayout = .()
mLayout.Padding = .(, )
mLayout.Parent = msgFrame
authorLbl = .()
authorLbl.BackgroundTransparency =
authorLbl.Size = .(, , , )
authorLbl.Text = isUser ( .. sender) ()
authorLbl.Font = .Font.GothamBold
authorLbl.TextSize =
authorLbl.TextColor3 = isUser .(, , ) ACCENT
authorLbl.TextXAlignment = .TextXAlignment.Left
authorLbl.Parent = msgFrame
isUser
(authorLbl, )
bodyLbl = .()
bodyLbl.BackgroundTransparency =
bodyLbl.AutomaticSize = .AutomaticSize.Y
bodyLbl.Size = .(, , , )
bodyLbl.Text = text
bodyLbl.Font = .Font.GothamMedium
bodyLbl.TextSize =
bodyLbl.TextColor3 = .(, , )
bodyLbl.TextWrapped =
bodyLbl.TextXAlignment = .TextXAlignment.Left
bodyLbl.Parent = msgFrame
generatedCode generatedCode ~=
lastGeneratedScript = generatedCode
codeBox = .()
codeBox.BackgroundColor3 = BLACK
codeBox.AutomaticSize = .AutomaticSize.Y
codeBox.Size = .(, , , )
codeBox.Text = generatedCode
codeBox.Font = .Font.Code
codeBox.TextSize =
codeBox.TextColor3 = .(, , )
codeBox.TextWrapped =
codeBox.TextXAlignment = .TextXAlignment.Left
codeBox.Parent = msgFrame
(codeBox, .(, ))
cPad = .()
cPad.PaddingTop = .(, )
cPad.PaddingBottom = .(, )
cPad.PaddingLeft = .(, )
cPad.PaddingRight = .(, )
cPad.Parent = codeBox
btnRow = .()
btnRow.BackgroundTransparency =
btnRow.Size = .(, , , )
btnRow.Parent = msgFrame
loadCodeBtn = .()
loadCodeBtn.Size = .(, )
loadCodeBtn.BackgroundColor3 = BLACK
loadCodeBtn.Text =
loadCodeBtn.Font = .Font.GothamBold
loadCodeBtn.TextSize =
loadCodeBtn.TextColor3 = .(, , )
loadCodeBtn.Parent = btnRow
(loadCodeBtn, .(, ))
runCodeBtn = .()
runCodeBtn.Size = .(, )
runCodeBtn.Position = .(, )
runCodeBtn.BackgroundColor3 = ACCENT
runCodeBtn.Text =
runCodeBtn.Font = .Font.GothamBold
runCodeBtn.TextSize =
runCodeBtn.TextColor3 = .(, , )
runCodeBtn.Parent = btnRow
(runCodeBtn, .(, ))
(runCodeBtn, )
loadCodeBtn.MouseButton1Click:(()
editorBox editorBox.Text = generatedCode
openDocGlobal
()
editorBox.Text = generatedCode
()
setEditorStatus
(, )
)
runCodeBtn.MouseButton1Click:(()
ok, info = (generatedCode)
(, (ok ) .. info, )
)
clearChatBtn.MouseButton1Click:(()
_, child (chatScroll:())
child:()
child:()
.(chatHistory)
lastGeneratedScript =
lastTopic =
lastNumber =
(, , )
)
(text: ):
s = text:()
s:(, , ) s:(, , ) s:(, , ) s:(, , )
s:(, , ) s:(, , ) s:(, , ) s:(, , )
s:(, , ) s:(, , )
s:(, , ) s:(, , )
s:(, , ) s:(, , ) s:(, , ) s:(, , )
s:(, , ) s:(, , ) s:(, , )
s:(, , ) s:(, , )
s:(, , ) s:(, , ) s:(, , )
s:(, , ) s:(, , ) s:(, , )
s:(, , ) s:(, , ) s:(, , )
s:(, , ) s:(, , ) s:(, , )
s:(, , ) s:(, , )
(topic: , promptText: , numVal: number?):
topic ==
topic ==
guiTitle = promptText:() promptText:()
.(, guiTitle)
topic ==
spd = numVal lastNumber
.(, spd)
topic ==
spd = numVal (lastNumber (lastNumber + ))
.(, spd)
topic ==
jp = numVal (lastNumber (lastNumber + ))
.(, jp)
topic ==
topic ==
topic ==
topic ==
trans = (numVal .(numVal / , , ))
.(, trans)
topic ==
topic ==
topic ==
targetName = promptText:()
targetName targetName:() ~=
.(, targetName:(), targetName:())
(promptText: , numVal: number?): (, )
topicToUse = (lastTopic ~= ) lastTopic (promptText)
rawSource = (editorBox editorBox.Text:() editorBox.Text)
(lastGeneratedScript ~= lastGeneratedScript)
(topicToUse, promptText, numVal)
rawSource:(, , )
rawSource = (topicToUse ~= topicToUse , promptText, numVal)
fixesApplied = {}
code = rawSource
code:(, , ) code:(, , )
code = .. code
.(fixesApplied, )
code:(, , ) code:(, , ) code:(, , )
code = code:(, )
.(fixesApplied, )
numVal
code = code:(, d = " .. numVal)
code = code:gsub("targetSpeed%s*=%s*%d+", "targetSpeed = " .. numVal)
code = code:gsub("targetJump%s*=%s*%d+", "targetJump = " .. numVal)
lastNumber = numVal
table.insert(fixesApplied, "updated value to " .. numVal)
end
code = "-- Fixed by ScriptBot v3\n" .. code:gsub("^%-%-[^\n]*\n", "")
local summary = #fixesApplied > 0
and ("Okay, here's a real script instead of that placeholder! I " .. table.concat(fixesApplied, ", ") .. ".")
or "Okay, here's an upgraded script with proper UI/service setup instead of that placeholder."
return summary, code
end
local function respondWithScriptBot(promptText: string): (string, string?)
local lower = promptText:lower()
local numVal = tonumber(lower:match("(%d+)"))
if numVal then
lastNumber = numVal
end
local detected = detectTopic(promptText)
if detected ~= "general" then
lastTopic = detected
end
if lower:find("doesn't work", 1, true)
or lower:find("doesnt work", 1, true)
or lower:find("not working", 1, true)
or lower:find("broken", 1, true)
or lower:find("fix", 1, true)
or lower:find("error", 1, true)
or lower:find("bug", 1, true)
then
local fixMsg, fixedCode = buildFixedScript(promptText, numVal)
return fixMsg, fixedCode
end
local isFollowUpTweak = (lower:find("make it", 1, true) or lower:find("change ", 1, true) or lower:find("set it", 1, true) or lower:find("more ", 1, true))
and lastTopic ~= "general"
local asksForScript = isFollowUpTweak
or detected ~= "general"
or lower:find("generate", 1, true)
or lower:find("make ", 1, true)
or lower:find("create ", 1, true)
or lower:find("write ", 1, true)
or lower:find("script", 1, true)
if asksForScript then
local topicToUse = (detected ~= "general") and detected or lastTopic
local code = createScriptByTopic(topicToUse, promptText, numVal)
return "Bet, here's a real script for \"" .. promptText .. "\" (" .. topicToUse .. "). Hit Load to Editor or Run Now!", code
end
if lower:find("hi", 1, true) or lower:find("hello", 1, true) or lower:find("yo", 1, true) or lower:find("sup", 1, true) then
return "Yo! Welcome to ScriptBot v3. Ask me for a GUI, player lookup GUI, fly, speed, jump, esp, xray, noclip, invis, anti-afk, or tp!", nil
elseif lower:find("who are you", 1, true) or lower:find("what can you do", 1, true) then
return "I'm ScriptBot v3 inside Lunar X! I build real ScreenGuis and Luau scripts, tweak numbers, and replace broken/placeholder code.", nil
elseif lower:find("thanks", 1, true) or lower:find("thx", 1, true) or lower:find("goat", 1, true) then
return "Anytime broski! Want me to tweak your last " .. lastTopic .. " script or build another one?", nil
else
return "Gotcha! Try asking for a 'gui', 'username lookup gui', 'fly 80', 'speed 60', or 'fix this'.", nil
end
end
local inputRow = Instance.new("Frame")
inputRow.Position = UDim2.new(0, 10, 1, -42)
inputRow.Size = UDim2.new(1, -20, 0, 34)
inputRow.BackgroundTransparency = 1
inputRow.Parent = page
local chatInput = Instance.new("TextBox")
chatInput.Size = UDim2.new(1, -86, 1, 0)
chatInput.BackgroundColor3 = BLACK
chatInput.TextColor3 = Color3.new(1, 1, 1)
chatInput.PlaceholderText = "Ask for a GUI, username GUI, speed, fly, or 'fix this'..."
chatInput.Font = Enum.Font.GothamMedium
chatInput.TextSize = 12
chatInput.ClearTextOnFocus = false
chatInput.Text = ""
chatInput.Parent = inputRow
corner(chatInput, UDim.new(0, 8))
local sendBtn = Instance.new("TextButton")
sendBtn.Size = UDim2.fromOffset(78, 34)
sendBtn.Position = UDim2.new(1, -78, 0, 0)
sendBtn.BackgroundColor3 = ACCENT
sendBtn.Text = "Send"
sendBtn.Font = Enum.Font.GothamBold
sendBtn.TextSize = 13
sendBtn.TextColor3 = Color3.new(1, 1, 1)
sendBtn.Parent = inputRow
corner(sendBtn, UDim.new(0, 8))
registerAccent(sendBtn, "BackgroundColor3")
local function sendPrompt()
local raw = chatInput.Text:match("^%s*(.-)%s*$")
if raw == "" then return end
chatInput.Text = ""
addChatMessage("You", raw, nil)
local replyText, code = respondWithScriptBot(raw)
addChatMessage("Bot", replyText, code)
end
sendBtn.MouseButton1Click:Connect(sendPrompt)
chatInput.FocusLost:Connect(function(enterPressed)
if enterPressed then sendPrompt() end
end)
addChatMessage("Bot", "Welcome to ScriptBot v3", nil)
end
---------------------------------------------------------------- TAB 6: DEVELOPERS
do
local page = pages["Developers"]
local h = Instance.new("TextLabel")
h.Size = UDim2.new(1, 0, 0, 40)
h.Position = UDim2.fromOffset(0, 16)
h.BackgroundTransparency = 1
h.Text = "Developers"
h.Font = Enum.Font.GothamBold
h.TextSize = 22
h.TextColor3 = ACCENT
h.Parent = page
registerAccent(h, "TextColor3")
local names = { "Wackyhax", "lunaroutmoon", "Sp1ir" }
for i, n in ipairs(names) do
local l = Instance.new("TextLabel")
l.Size = UDim2.new(1, -40, 0, 40)
l.Position = UDim2.new(0, 20, 0, 60 + (i - 1) * 48)
l.BackgroundColor3 = BLACK
l.Text = n
l.Font = Enum.Font.GothamMedium
l.TextSize = 18
l.TextColor3 = Color3.new(1, 1, 1)
l.Parent = page
corner(l, UDim.new(0, 10))
end
end
---------------------------------------------------------------- LOGO BUTTON (customizable shape & size)
local logo = Instance.new("TextButton")
logo.Name = "Logo"
logo.Size = UDim2.fromOffset(40, 40)
logo.Position = UDim2.new(0, 20, 0.5, -20)
logo.BackgroundColor3 = BLACK
logo.Text = "🌙"
logo.TextSize = 20
logo.AutoButtonColor = false
logo.Visible = false
logo.Parent = gui
local logoCorner = corner(logo, UDim.new(0, 12))
local logoStroke = Instance.new("UIStroke")
logoStroke.Color = ACCENT
logoStroke.Thickness = 2
logoStroke.Parent = logo
registerAccent(logoStroke, "Color")
local currentShape = "Squircle"
local currentSize = "Small"
local shapePresets = {
Squircle = UDim.new(0, 12),
Circle = UDim.new(1, 0),
Sharp = UDim.new(0, 2),
}
local sizePresets = {
Small = { px = 40, text = 20 },
Medium = { px = 54, text = 26 },
Large = { px = 68, text = 32 },
}
local function applyLogoStyle(shapeName: string?, sizeName: string?)
if shapeName and shapePresets[shapeName] then
currentShape = shapeName
logoCorner.CornerRadius = shapePresets[shapeName]
end
if sizeName and sizePresets[sizeName] then
currentSize = sizeName
local preset = sizePresets[sizeName]
logo.Size = UDim2.fromOffset(preset.px, preset.px)
logo.TextSize = preset.text
end
end
---------------------------------------------------------------- TAB 7: SETTINGS
do
local page = pages["Settings"]
local scroll = Instance.new("ScrollingFrame")
scroll.Size = UDim2.new(1, 0, 1, 0)
scroll.BackgroundTransparency = 1
scroll.BorderSizePixel = 0
scroll.ScrollBarThickness = 5
scroll.CanvasSize = UDim2.fromOffset(0, 0)
scroll.Parent = page
local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0, 8)
layout.Parent = scroll
local pad = Instance.new("UIPadding")
pad.PaddingTop = UDim.new(0, 10)
pad.PaddingBottom = UDim.new(0, 12)
pad.PaddingLeft = UDim.new(0, 10)
pad.PaddingRight = UDim.new(0, 10)
pad.Parent = scroll
layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
scroll.CanvasSize = UDim2.fromOffset(0, layout.AbsoluteContentSize.Y + 20)
end)
local function sectionLabel(text)
local lbl = Instance.new("TextLabel")
lbl.Size = UDim2.new(1, 0, 0, 20)
lbl.BackgroundTransparency = 1
lbl.Text = text
lbl.Font = Enum.Font.GothamBold
lbl.TextSize = 13
lbl.TextColor3 = ACCENT
lbl.TextXAlignment = Enum.TextXAlignment.Left
lbl.Parent = scroll
registerAccent(lbl, "TextColor3")
return lbl
end
local function applyAccentColor(newColor: Color3)
ACCENT = newColor
for _, entry in ipairs(accentTargets) do
if entry.obj and entry.obj.Parent then
entry.obj[entry.prop] = ACCENT
end
end
refreshTabHighlights()
end
local function parseCustomColor(raw: string): Color3?
local trimmed = raw:match("^%s*(.-)%s*$")
if trimmed == "" then return nil end
local hex = trimmed:match("^#?(%x%x%x%x%x%x)$")
if hex then
local r = tonumber(hex:sub(1, 2), 16)
local g = tonumber(hex:sub(3, 4), 16)
local b = tonumber(hex:sub(5, 6), 16)
if r and g and b then
return Color3.fromRGB(r, g, b)
end
end
local rStr, gStr, bStr = trimmed:match("^(%d+)%s*[,%s]%s*(%d+)%s*[,%s]%s*(%d+)$")
if rStr and gStr and bStr then
local r = math.clamp(tonumber(rStr) or 0, 0, 255)
local g = math.clamp(tonumber(gStr) or 0, 0, 255)
local b = math.clamp(tonumber(bStr) or 0, 0, 255)
return Color3.fromRGB(r, g, b)
end
return nil
end
sectionLabel("UI Themes")
local themePresets = {
{ name = "Purple", color = Color3.fromRGB(170, 70, 255) },
{ name = "Cyan", color = Color3.fromRGB(0, 200, 255) },
{ name = "Emerald", color = Color3.fromRGB(45, 215, 130) },
{ name = "Rose", color = Color3.fromRGB(255, 75, 145) },
}
local themeRow = Instance.new("Frame")
themeRow.Size = UDim2.new(1, 0, 0, 32)
themeRow.BackgroundTransparency = 1
themeRow.Parent = scroll
local themeLayout = Instance.new("UIListLayout")
themeLayout.FillDirection = Enum.FillDirection.Horizontal
themeLayout.Padding = UDim.new(0, 6)
themeLayout.Parent = themeRow
for _, t in ipairs(themePresets) do
local tb = Instance.new("TextButton")
tb.Size = UDim2.new(0.25, -5, 1, 0)
tb.BackgroundColor3 = BLACK
tb.Text = t.name
tb.Font = Enum.Font.GothamBold
tb.TextSize = 12
tb.TextColor3 = Color3.new(1, 1, 1)
tb.Parent = themeRow
corner(tb, UDim.new(0, 8))
tb.MouseButton1Click:Connect(function()
applyAccentColor(t.color)
end)
end
local customRow = Instance.new("Frame")
customRow.Size = UDim2.new(1, 0, 0, 32)
customRow.BackgroundTransparency = 1
customRow.Parent = scroll
local customColorBox = Instance.new("TextBox")
customColorBox.Size = UDim2.new(1, -92, 1, 0)
customColorBox.BackgroundColor3 = BLACK
customColorBox.TextColor3 = Color3.new(1, 1, 1)
customColorBox.PlaceholderText = "Custom color (e.g. #ff5500 or 255, 85, 0)..."
customColorBox.Font = Enum.Font.GothamMedium
customColorBox.TextSize = 12
customColorBox.ClearTextOnFocus = false
customColorBox.Text = ""
customColorBox.Parent = customRow
corner(customColorBox, UDim.new(0, 8))
local applyCustomBtn = Instance.new("TextButton")
applyCustomBtn.Size = UDim2.fromOffset(84, 32)
applyCustomBtn.Position = UDim2.new(1, -84, 0, 0)
applyCustomBtn.BackgroundColor3 = ACCENT
applyCustomBtn.Text = "Set Color"
applyCustomBtn.Font = Enum.Font.GothamBold
applyCustomBtn.TextSize = 12
applyCustomBtn.TextColor3 = Color3.new(1, 1, 1)
applyCustomBtn.Parent = customRow
corner(applyCustomBtn, UDim.new(0, 8))
registerAccent(applyCustomBtn, "BackgroundColor3")
applyCustomBtn.MouseButton1Click:Connect(function()
local parsed = parseCustomColor(customColorBox.Text)
if parsed then
applyAccentColor(parsed)
else
customColorBox.Text = ""
customColorBox.PlaceholderText = "Invalid! Use #RRGGBB or R, G, B"
end
end)
local function optionRow(options, onPick, getActive)
local row = Instance.new("Frame")
row.Size = UDim2.new(1, 0, 0, 32)
row.BackgroundTransparency = 1
row.Parent = scroll
local list = Instance.new("UIListLayout")
list.FillDirection = Enum.FillDirection.Horizontal
list.Padding = UDim.new(0, 6)
list.Parent = row
local btns = {}
local function refresh()
local active = getActive()
for name, btn in pairs(btns) do
tween(btn, 0.15, {
BackgroundColor3 = (name == active) and ACCENT or BLACK,
TextColor3 = (name == active) and Color3.new(1, 1, 1) or MUTED,
})
end
end
for _, opt in ipairs(options) do
local b = Instance.new("TextButton")
b.Size = UDim2.new(1 / #options, -4, 1, 0)
b.BackgroundColor3 = BLACK
b.Text = opt
b.Font = Enum.Font.GothamMedium
b.TextSize = 12
b.TextColor3 = MUTED
b.Parent = row
corner(b, UDim.new(0, 8))
btns[opt] = b
b.MouseButton1Click:Connect(function()
onPick(opt)
refresh()
end)
end
refresh()
end
sectionLabel("Logo Shape")
optionRow({ "Squircle", "Circle", "Sharp" }, function(picked)
applyLogoStyle(picked, nil)
end, function()
return currentShape
end)
sectionLabel("Logo Size")
optionRow({ "Small", "Medium", "Large" }, function(picked)
applyLogoStyle(nil, picked)
end, function()
return currentSize
end)
local consoleBtn = Instance.new("TextButton")
consoleBtn.Size = UDim2.new(1, 0, 0, 34)
consoleBtn.BackgroundColor3 = BLACK
consoleBtn.Text = "🖥️ Console"
consoleBtn.Font = Enum.Font.GothamBold
consoleBtn.TextSize = 13
consoleBtn.TextColor3 = Color3.new(1, 1, 1)
consoleBtn.Parent = scroll
corner(consoleBtn, UDim.new(0, 8))
consoleBtn.MouseButton1Click:Connect(function()
consoleWin.Visible = not consoleWin.Visible
end)
local soonLbl = Instance.new("TextLabel")
soonLbl.Size = UDim2.new(1, 0, 0, 24)
soonLbl.BackgroundTransparency = 1
soonLbl.Text = "More coming soon!"
soonLbl.Font = Enum.Font.GothamBold
soonLbl.TextSize = 13
soonLbl.TextColor3 = MUTED
soonLbl.TextXAlignment = Enum.TextXAlignment.Center
soonLbl.Parent = scroll
end
selectTab("Editor")
-- drag window by title bar
do
local dragging, startPos, startInput
titleBar.InputBegan:Connect(function(i)
if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then
dragging, startPos, startInput = true, main.Position, i.Position
end
end)
UserInputService.InputChanged:Connect(function(i)
if dragging and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then
local d = i.Position - startInput
main.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y)
end
end)
UserInputService.InputEnded:Connect(function(i)
if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then
dragging = false
end
end)
end
local guiOpen = false
local function openGui()
guiOpen = true
main.Visible = true
main.Size = UDim2.fromOffset(0, 0)
title.TextTransparency = 1
tween(main, 0.5, { Size = FULL }, Enum.EasingStyle.Back, Enum.EasingDirection.Out)
task.delay(0.25, function() tween(title, 0.4, { TextTransparency = 0 }) end)
end
local function closeGui()
guiOpen = false
consoleWin.Visible = false
local tw = tween(main, 0.35, { Size = UDim2.fromOffset(0, 0) }, Enum.EasingStyle.Back, Enum.EasingDirection.In)
tw.Completed:Connect(function()
if not guiOpen then main.Visible = false end
end)
end
closeBtn.MouseButton1Click:Connect(closeGui)
do
local dragging, moved, startPos, startInput = false, false, nil, nil
logo.InputBegan:Connect(function(i)
if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then
dragging, moved, startPos, startInput = true, false, logo.Position, i.Position
end
end)
UserInputService.InputChanged:Connect(function(i)
if dragging and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then
local d = i.Position - startInput
if d.Magnitude > 6 then moved = true end
if moved then
logo.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + d.X, startPos.Y.Scale, startPos.Y.Offset + d.Y)
end
end
end)
UserInputService.InputEnded:Connect(function(i)
if dragging and (i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch) then
dragging = false
if not moved then
if guiOpen then closeGui() else openGui() end
end
end
end)
end
---------------------------------------------------------------- INTRO ANIMATION
local bar = Instance.new("Frame")
bar.AnchorPoint = Vector2.new(0.5, 0)
bar.Position = UDim2.new(0.5, 0, 0, -80)
bar.Size = UDim2.new(0.7, 0, 0, 60)
bar.BackgroundColor3 = BLACK
bar.BorderSizePixel = 0
bar.Parent = gui
corner(bar, UDim.new(0, 10))
local barStroke = Instance.new("UIStroke")
barStroke.Color = ACCENT
barStroke.Thickness = 1.5
barStroke.Parent = bar
registerAccent(barStroke, "Color")
local barText = Instance.new("TextLabel")
barText.Size = UDim2.fromScale(1, 1)
barText.BackgroundTransparency = 1
barText.Text = "Thank you for using lunar x!"
barText.Font = Enum.Font.GothamBold
barText.TextSize = 22
barText.TextColor3 = Color3.new(1, 1, 1)
barText.Parent = bar
tween(bar, 0.6, { Position = UDim2.new(0.5, 0, 0, 30) }, Enum.EasingStyle.Back)
task.wait(3.6)
tween(barText, 0.4, { TextTransparency = 1 })
tween(barStroke, 0.7, { Transparency = 1 })
local suck = tween(bar, 0.7, {
Size = UDim2.fromOffset(0, 0),
Position = UDim2.new(0.5, 0, 0.5, 0),
BackgroundTransparency = 1,
}, Enum.EasingStyle.Back, Enum.EasingDirection.In)
suck.Completed:Wait()
bar:Destroy()
logo.Visible = true
openGui()Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com, scriptblox.com.
its a custom made gui/executor called lunar x it is a new made gui and will get updates

Universal