Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
RunService = :()
StarterGui = :()
player = Players.LocalPlayer
playerGui = player:()
oldGui = playerGui:()
oldGui oldGui:()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
screenGui.IgnoreGuiInset =
screenGui.Parent = playerGui
originalCorners = {}
DATA_FILE =
()
_, obj (screenGui:())
obj:()
(() obj.Image = )
(() obj.ImageTransparency = )
(() obj.BackgroundTransparency = )
(enabled)
_, obj (screenGui:())
obj:()
originalCorners[obj] ==
originalCorners[obj] = obj.CornerRadius
obj.CornerRadius = enabled originalCorners[obj] .(, )
mainFrame = .()
mainFrame.Name =
mainFrame.Size = .(, , , )
mainFrame.AnchorPoint = .(, )
mainFrame.Position = .(, , , )
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.ClipsDescendants =
mainFrame.Parent = screenGui
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = mainFrame
mainStroke = .()
mainStroke.Thickness =
mainStroke.Color = .(, , )
mainStroke.Parent = mainFrame
uiScale = .()
uiScale.Parent = mainFrame
()
cam = .CurrentCamera
cam
vp = cam.ViewportSize
sx = (vp.X - ) /
sy = (vp.Y - ) /
uiScale.Scale = .(.(sx, sy), , )
()
(cam)
cam
cam:():(updateScale)
()
(.CurrentCamera)
:():(() (.CurrentCamera) )
bgImage = .()
bgImage.Size = .(, , , )
bgImage.BackgroundTransparency =
bgImage.Image =
bgImage.ImageTransparency =
bgImage.ScaleType = .ScaleType.Crop
bgImage.ZIndex =
bgImage.Parent = mainFrame
bgImageCorner = .()
bgImageCorner.CornerRadius = .(, )
bgImageCorner.Parent = bgImage
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.BorderSizePixel =
titleBar.ZIndex =
titleBar.Parent = mainFrame
titleCorner = .()
titleCorner.CornerRadius = .(, )
titleCorner.Parent = titleBar
titleFix = .()
titleFix.Size = .(, , , )
titleFix.Position = .(, , , -)
titleFix.BackgroundColor3 = .(, , )
titleFix.BorderSizePixel =
titleFix.ZIndex =
titleFix.Parent = titleBar
titleLabel = .()
titleLabel.Size = .(, -, , )
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
titleLabel.TextSize =
titleLabel.Font = .Font.GothamBold
titleLabel.TextXAlignment = .TextXAlignment.Left
titleLabel.ZIndex =
titleLabel.Parent = titleBar
dragging, dragInput, dragStart, startPos = , , ,
titleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End dragging =
)
)
titleBar.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
mainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
sidebar = .()
sidebar.Size = .(, , , -)
sidebar.Position = .(, , , )
sidebar.BackgroundColor3 = .(, , )
sidebar.BorderSizePixel =
sidebar.ZIndex =
sidebar.Parent = mainFrame
sidebarLayout = .()
sidebarLayout.Padding = .(, )
sidebarLayout.SortOrder = .SortOrder.LayoutOrder
sidebarLayout.HorizontalAlignment = .HorizontalAlignment.Center
sidebarLayout.Parent = sidebar
sidebarPadding = .()
sidebarPadding.PaddingTop = .(, )
sidebarPadding.Parent = sidebar
(text, order, height)
btn = .()
btn.Size = .(, , , height )
btn.BackgroundColor3 = .(, , )
btn.Text = text
btn.TextColor3 = .(, , )
btn.TextSize = height height >
btn.Font = .Font.GothamSemibold
btn.LayoutOrder = order
btn.BorderSizePixel =
btn.TextWrapped = height height >
btn.ZIndex =
btn.Parent = sidebar
c = .()
c.CornerRadius = .(, )
c.Parent = btn
btn
showPage
executorBtn = (, , )
settingsBtn = (, , )
exampleScriptsBtn = (, , )
robloxConsoleBtn = (, , )
aiPromptsBtn = (, , )
explorersBtn = (, , )
executorBtn.MouseButton1Click:(() () )
settingsBtn.MouseButton1Click:(() () )
exampleScriptsBtn.MouseButton1Click:(() () )
aiPromptsBtn.MouseButton1Click:(() () )
explorersBtn.MouseButton1Click:(() () )
robloxConsoleBtn.MouseButton1Click:(()
opened =
(()
StarterGui:(, )
opened =
)
opened
(()
vim = :()
vim:(, .KeyCode.F9, , )
.()
vim:(, .KeyCode.F9, , )
opened =
)
opened
()
active = executorPage.Visible (settingsPage.Visible (exampleScriptsPage.Visible (aiPromptsPage.Visible )))
(active)
)
contentArea = .()
contentArea.Size = .(, -, , -)
contentArea.Position = .(, , , )
contentArea.BackgroundColor3 = .(, , )
contentArea.BorderSizePixel =
contentArea.ZIndex =
contentArea.Parent = mainFrame
executorPage = .()
executorPage.Size = .(, , , )
executorPage.BackgroundTransparency =
executorPage.ZIndex =
executorPage.Parent = contentArea
tabBar = .()
tabBar.Size = .(, -, , )
tabBar.Position = .(, , , )
tabBar.BackgroundTransparency =
tabBar.BorderSizePixel =
tabBar.ScrollBarThickness =
tabBar.ScrollBarImageColor3 = .(, , )
tabBar.CanvasSize = .(, , , )
tabBar.AutomaticCanvasSize = .AutomaticSize.X
tabBar.ScrollingDirection = .ScrollingDirection.X
tabBar.ZIndex =
tabBar.Parent = executorPage
tabBarLayout = .()
tabBarLayout.FillDirection = .FillDirection.Horizontal
tabBarLayout.Padding = .(, )
tabBarLayout.SortOrder = .SortOrder.LayoutOrder
tabBarLayout.Parent = tabBar
pagesContainer = .()
pagesContainer.Size = .(, -, , -)
pagesContainer.Position = .(, , , )
pagesContainer.BackgroundTransparency =
pagesContainer.ZIndex =
pagesContainer.Parent = executorPage
tabs = {}
activeTabIndex =
tabCounter =
setupExecute, setupClear, setupPaste, setupCopyAll, setupSaveData, setupLoadData
loadAllData, saveAllData
(tabData)
tabData
tabBtn = tabData.button
page = tabData.page
backdrop = .()
backdrop.Size = .(, , , )
backdrop.BackgroundTransparency =
backdrop.Text =
backdrop.AutoButtonColor =
backdrop.ZIndex =
backdrop.Parent = screenGui
ctx = .()
ctx.Size = .(, , , )
ctx.BackgroundColor3 = .(, , )
ctx.BorderSizePixel =
ctx.ZIndex =
ctx.Parent = screenGui
cc = .()
cc.CornerRadius = .(, )
cc.Parent = ctx
mouse = UserInputService:()
ctx.Position = .(, mouse.X, , mouse.Y)
()
backdrop backdrop.Parent backdrop:()
ctx ctx.Parent ctx:()
backdrop.MouseButton1Click:(closeMenu)
rnm = .()
rnm.Size = .(, , , )
rnm.BackgroundColor3 = .(, , )
rnm.Text =
rnm.TextColor3 = .(, , )
rnm.TextSize =
rnm.Font = .Font.GothamSemibold
rnm.BorderSizePixel =
rnm.ZIndex =
rnm.Parent = ctx
del = .()
del.Size = .(, , , )
del.Position = .(, , , )
del.BackgroundColor3 = .(, , )
del.Text =
del.TextColor3 = .(, , )
del.TextSize =
del.Font = .Font.GothamSemibold
del.BorderSizePixel =
del.ZIndex =
del.Parent = ctx
#tabs <=
del.BackgroundColor3 = .(, , )
del.TextColor3 = .(, , )
del.AutoButtonColor =
rnm.MouseButton1Click:(()
()
rd = .()
rd.Size = .(, , , )
rd.Position = .(, -, , -)
rd.BackgroundColor3 = .(, , )
rd.BorderSizePixel =
rd.ZIndex =
rd.Parent = screenGui
rc = .()
rc.CornerRadius = .(, )
rc.Parent = rd
lbl = .()
lbl.Size = .(, -, , )
lbl.Position = .(, , , )
lbl.BackgroundTransparency =
lbl.Text =
lbl.TextColor3 = .(, , )
lbl.TextSize =
lbl.Font = .Font.GothamSemibold
lbl.ZIndex =
lbl.Parent = rd
inp = .()
inp.Size = .(, -, , )
inp.Position = .(, , , )
inp.BackgroundColor3 = .(, , )
inp.TextColor3 = .(, , )
inp.Text = tabData.name
inp.TextSize =
inp.Font = .Font.Gotham
inp.ZIndex =
inp.Parent = rd
ok = .()
ok.Size = .(, , , )
ok.Position = .(, -, , -)
ok.BackgroundColor3 = .(, , )
ok.Text =
ok.TextColor3 = .(, , )
ok.TextSize =
ok.Font = .Font.GothamSemibold
ok.BorderSizePixel =
ok.ZIndex =
ok.Parent = rd
okc = .()
okc.CornerRadius = .(, )
okc.Parent = ok
()
inp.Text ~=
tabData.name = inp.Text
tabBtn.Text = inp.Text
rd:()
ok.MouseButton1Click:(applyRename)
inp.FocusLost:((enter) enter () )
)
#tabs >
del.MouseButton1Click:(()
()
idx = .(tabs, tabData)
idx
.(tabs, idx)
tabBtn:()
page:()
activeTabIndex == idx #tabs >
na = tabs[]
_, t (tabs)
t.page.Visible = (t == na)
t == na
t.button.BackgroundColor3 = .(, , )
t.button.TextColor3 = .(, , )
t.button.BackgroundColor3 = .(, , )
t.button.TextColor3 = .(, , )
activeTabIndex =
)
(tabName, isFirst, customName)
isFirst
tabCounter = tabCounter +
tabName = customName ( .. tabCounter)
tabBtn = .()
tabBtn.Size = .(, , , )
tabBtn.BackgroundColor3 = .(, , )
tabBtn.Text = tabName
tabBtn.TextColor3 = .(, , )
tabBtn.TextSize =
tabBtn.Font = .Font.GothamSemibold
tabBtn.BorderSizePixel =
tabBtn.LayoutOrder = #tabs +
tabBtn.ZIndex =
tabBtn.Parent = tabBar
tc = .()
tc.CornerRadius = .(, )
tc.Parent = tabBtn
page = .()
page.Size = .(, , , )
page.BackgroundTransparency =
page.Visible =
page.ZIndex =
page.Parent = pagesContainer
codeBox = .()
codeBox.Size = .(, , , -)
codeBox.BackgroundColor3 = .(, , )
codeBox.TextColor3 = .(, , )
codeBox.PlaceholderText =
codeBox.PlaceholderColor3 = .(, , )
codeBox.TextSize =
codeBox.Font = .Font.Code
codeBox.TextXAlignment = .TextXAlignment.Left
codeBox.TextYAlignment = .TextYAlignment.Top
codeBox.MultiLine =
codeBox.ClearTextOnFocus =
codeBox.Text =
codeBox.ZIndex =
codeBox.Parent = page
cbc = .()
cbc.CornerRadius = .(, )
cbc.Parent = codeBox
btnPanel = .()
btnPanel.Size = .(, , , )
btnPanel.Position = .(, , , -)
btnPanel.BackgroundTransparency =
btnPanel.ZIndex =
btnPanel.Parent = page
btnLayout = .()
btnLayout.FillDirection = .FillDirection.Horizontal
btnLayout.Padding = .(, )
btnLayout.SortOrder = .SortOrder.LayoutOrder
btnLayout.Parent = btnPanel
(text, color, order)
b = .()
b.Size = .(, , , )
b.BackgroundColor3 = color
b.Text = text
b.TextColor3 = .(, , )
b.TextSize =
b.Font = .Font.GothamSemibold
b.LayoutOrder = order
b.BorderSizePixel =
b.ZIndex =
b.Parent = btnPanel
c = .()
c.CornerRadius = .(, )
c.Parent = b
b
executeBtn = (, .(, , ), )
clearBtn = (, .(, , ), )
pasteBtn = (, .(, , ), )
copyAllBtn = (, .(, , ), )
saveDataBtn = (, .(, , ), )
loadBtn = (, .(, , ), )
tabData = {
name = tabName, button = tabBtn, page = page, codeBox = codeBox,
executeBtn = executeBtn, clearBtn = clearBtn, pasteBtn = pasteBtn,
copyAllBtn = copyAllBtn, saveDataBtn = saveDataBtn, loadBtn = loadBtn,
}
.(tabs, tabData)
()
_, t (tabs)
t.page.Visible = (t == tabData)
t == tabData
t.button.BackgroundColor3 = .(, , )
t.button.TextColor3 = .(, , )
t.button.BackgroundColor3 = .(, , )
t.button.TextColor3 = .(, , )
activeTabIndex = .(tabs, tabData)
tabBtn.MouseButton1Click:(switchToTab)
tabBtn.MouseButton2Click:(() (tabData) )
setupExecute setupClear setupPaste setupCopyAll setupSaveData setupLoadData
(executeBtn, tabData)
(clearBtn, tabData)
(pasteBtn, tabData)
(copyAllBtn, tabData)
(saveDataBtn, tabData)
(loadBtn, tabData)
#tabs == ()
tabData
(, )
addTabBtn = .()
addTabBtn.Size = .(, , , )
addTabBtn.BackgroundColor3 = .(, , )
addTabBtn.Text =
addTabBtn.TextColor3 = .(, , )
addTabBtn.TextSize =
addTabBtn.Font = .Font.GothamBold
addTabBtn.BorderSizePixel =
addTabBtn.LayoutOrder =
addTabBtn.ZIndex =
addTabBtn.Parent = tabBar
addTabCorner = .()
addTabCorner.CornerRadius = .(, )
addTabCorner.Parent = addTabBtn
addTabBtn.MouseButton1Click:(() (, ) )
editTabBtn = .()
editTabBtn.Size = .(, , , )
editTabBtn.BackgroundColor3 = .(, , )
editTabBtn.Text =
editTabBtn.TextColor3 = .(, , )
editTabBtn.TextSize =
editTabBtn.Font = .Font.GothamBold
editTabBtn.BorderSizePixel =
editTabBtn.LayoutOrder =
editTabBtn.ZIndex =
editTabBtn.Parent = tabBar
editTabCorner = .()
editTabCorner.CornerRadius = .(, )
editTabCorner.Parent = editTabBtn
editTabBtn.MouseButton1Click:(()
a = tabs[activeTabIndex]
a (a)
)
settingsPage = .()
settingsPage.Size = .(, , , )
settingsPage.BackgroundTransparency =
settingsPage.Visible =
settingsPage.ZIndex =
settingsPage.Parent = contentArea
settingsTitle = .()
settingsTitle.Size = .(, -, , )
settingsTitle.Position = .(, , , )
settingsTitle.BackgroundTransparency =
settingsTitle.Text =
settingsTitle.TextColor3 = .(, , )
settingsTitle.TextSize =
settingsTitle.Font = .Font.GothamBold
settingsTitle.TextXAlignment = .TextXAlignment.Left
settingsTitle.ZIndex =
settingsTitle.Parent = settingsPage
themeBtn = .()
themeBtn.Size = .(, , , )
themeBtn.Position = .(, , , )
themeBtn.BackgroundColor3 = .(, , )
themeBtn.Text =
themeBtn.TextColor3 = .(, , )
themeBtn.TextSize =
themeBtn.Font = .Font.GothamSemibold
themeBtn.BorderSizePixel =
themeBtn.ZIndex =
themeBtn.Parent = settingsPage
themeBtnCorner = .()
themeBtnCorner.CornerRadius = .(, )
themeBtnCorner.Parent = themeBtn
noWarnBtn = .()
noWarnBtn.Size = .(, , , )
noWarnBtn.Position = .(, , , )
noWarnBtn.BackgroundColor3 = .(, , )
noWarnBtn.Text =
noWarnBtn.TextColor3 = .(, , )
noWarnBtn.TextSize =
noWarnBtn.Font = .Font.GothamSemibold
noWarnBtn.BorderSizePixel =
noWarnBtn.ZIndex =
noWarnBtn.Parent = settingsPage
noWarnCorner = .()
noWarnCorner.CornerRadius = .(, )
noWarnCorner.Parent = noWarnBtn
themeListFrame = .()
themeListFrame.Size = .(, , , )
themeListFrame.Position = .(, , , )
themeListFrame.BackgroundColor3 = .(, , )
themeListFrame.BorderSizePixel =
themeListFrame.Visible =
themeListFrame.ZIndex =
themeListFrame.ScrollBarThickness =
themeListFrame.CanvasSize = .(, , , )
themeListFrame.AutomaticCanvasSize = .AutomaticSize.Y
themeListFrame.Parent = settingsPage
themeListCorner = .()
themeListCorner.CornerRadius = .(, )
themeListCorner.Parent = themeListFrame
themeListLayout = .()
themeListLayout.Padding = .(, )
themeListLayout.SortOrder = .SortOrder.LayoutOrder
themeListLayout.Parent = themeListFrame
themeListPadding = .()
themeListPadding.PaddingTop = .(, )
themeListPadding.PaddingLeft = .(, )
themeListPadding.PaddingRight = .(, )
themeListPadding.Parent = themeListFrame
(name, order)
b = .()
b.Size = .(, -, , )
b.BackgroundColor3 = .(, , )
b.Text = name
b.TextColor3 = .(, , )
b.TextSize =
b.Font = .Font.GothamSemibold
b.LayoutOrder = order
b.BorderSizePixel =
b.ZIndex =
b.Parent = themeListFrame
c = .()
c.CornerRadius = .(, )
c.Parent = b
b
themeNames = {
, , , , ,
, , , , ,
}
themeButtons = {}
i, name (themeNames)
themeButtons[name] = (name, i)
themeListOpen =
themeBtn.MouseButton1Click:(()
themeListOpen = themeListOpen
themeListFrame.Visible = themeListOpen
)
noWarnActive =
noWarnConns = {}
()
CoreGui = :()
(parent)
_, v (parent:())
(()
v:()
n = v.Name:()
n:() n:() n == n:()
v.Enabled =
v:()
n = v.Name:()
n:() n:() n:()
v.Visible =
)
(() (v) )
(() (CoreGui) )
(() (playerGui) )
c1 = CoreGui.ChildAdded:(()
.()
(() (CoreGui) )
)
c2 = playerGui.ChildAdded:(()
.()
(() (playerGui) )
)
.(noWarnConns, c1)
.(noWarnConns, c2)
()
_, c (noWarnConns)
(() c:() )
noWarnConns = {}
CoreGui = :()
(parent)
_, v (parent:())
(()
v:()
n = v.Name:()
n:() n:() n == n:()
v.Enabled =
v:()
n = v.Name:()
n:() n:() n:()
v.Visible =
)
(() (CoreGui) )
(() (playerGui) )
noWarnBtn.MouseButton1Click:(()
noWarnActive = noWarnActive
noWarnActive
()
noWarnBtn.Text =
noWarnBtn.BackgroundColor3 = .(, , )
()
noWarnBtn.Text =
noWarnBtn.BackgroundColor3 = .(, , )
)
explorerPage = .()
explorerPage.Size = .(, , , )
explorerPage.BackgroundTransparency =
explorerPage.Visible =
explorerPage.ZIndex =
explorerPage.Parent = contentArea
explorerTitle = .()
explorerTitle.Size = .(, -, , )
explorerTitle.Position = .(, , , )
explorerTitle.BackgroundTransparency =
explorerTitle.Text =
explorerTitle.TextColor3 = .(, , )
explorerTitle.TextSize =
explorerTitle.Font = .Font.GothamBold
explorerTitle.TextXAlignment = .TextXAlignment.Left
explorerTitle.ZIndex =
explorerTitle.Parent = explorerPage
explorerHint = .()
explorerHint.Size = .(, -, , )
explorerHint.Position = .(, , , )
explorerHint.BackgroundTransparency =
explorerHint.Text =
explorerHint.TextColor3 = .(, , )
explorerHint.TextSize =
explorerHint.Font = .Font.GothamSemibold
explorerHint.TextXAlignment = .TextXAlignment.Left
explorerHint.ZIndex =
explorerHint.Parent = explorerPage
explorerScroll = .()
explorerScroll.Size = .(, -, , -)
explorerScroll.Position = .(, , , )
explorerScroll.BackgroundColor3 = .(, , )
explorerScroll.BorderSizePixel =
explorerScroll.ScrollBarThickness =
explorerScroll.CanvasSize = .(, , , )
explorerScroll.AutomaticCanvasSize = .AutomaticSize.Y
explorerScroll.ZIndex =
explorerScroll.Parent = explorerPage
explorerCorner = .()
explorerCorner.CornerRadius = .(, )
explorerCorner.Parent = explorerScroll
explorerLayout = .()
explorerLayout.Padding = .(, )
explorerLayout.SortOrder = .SortOrder.LayoutOrder
explorerLayout.Parent = explorerScroll
expandedState = {}
rebuildExplorer
rebuildExplorer = ()
_, c (explorerScroll:())
c:() c:()
orderCounter =
(inst, depth)
childCount = #inst:()
hasChildren = childCount >
isExpanded = expandedState[inst] ==
row = .()
row.Size = .(, , , )
row.BackgroundColor3 = .(, , )
row.BackgroundTransparency =
row.BorderSizePixel =
row.AutoButtonColor =
row.Text =
row.Font = .Font.Code
row.TextSize =
row.TextXAlignment = .TextXAlignment.Left
row.TextColor3 = .(, , )
row.LayoutOrder = orderCounter
row.ZIndex =
row.Parent = explorerScroll
orderCounter = orderCounter +
prefix
hasChildren
prefix = isExpanded
prefix =
indent = .(, depth)
cls = inst.ClassName
row.Text = indent .. prefix .. inst.Name .. .. cls ..
inst ==
row.TextColor3 = .(, , )
inst:() inst:() inst:()
inst:() inst:()
inst:() inst:()
row.TextColor3 = .(, , )
inst:()
row.TextColor3 = .(, , )
inst:()
row.TextColor3 = .(, , )
inst:()
row.TextColor3 = .(, , )
inst:()
row.TextColor3 = .(, , )
inst:()
row.TextColor3 = .(, , )
inst:()
row.TextColor3 = .(, , )
hasChildren
row.MouseButton1Click:(()
expandedState[inst] = expandedState[inst]
()
)
hasChildren isExpanded
children = inst:()
.(children, (a, b) a.Name < b.Name )
_, child (children)
(child, depth + )
(, )
expandedState[] =
()
exampleScriptsPage = .()
exampleScriptsPage.Size = .(, , , )
exampleScriptsPage.BackgroundTransparency =
exampleScriptsPage.Visible =
exampleScriptsPage.ZIndex =
exampleScriptsPage.Parent = contentArea
exTitle = .()
exTitle.Size = .(, -, , )
exTitle.Position = .(, , , )
exTitle.BackgroundTransparency =
exTitle.Text =
exTitle.TextColor3 = .(, , )
exTitle.TextSize =
exTitle.Font = .Font.GothamBold
exTitle.TextXAlignment = .TextXAlignment.Left
exTitle.ZIndex =
exTitle.Parent = exampleScriptsPage
exLeftPanel = .()
exLeftPanel.Size = .(, , , -)
exLeftPanel.Position = .(, , , )
exLeftPanel.BackgroundTransparency =
exLeftPanel.ZIndex =
exLeftPanel.Parent = exampleScriptsPage
exLeftLayout = .()
exLeftLayout.Padding = .(, )
exLeftLayout.SortOrder = .SortOrder.LayoutOrder
exLeftLayout.Parent = exLeftPanel
exRightFrame = .()
exRightFrame.Size = .(, -, , -)
exRightFrame.Position = .(, , , )
exRightFrame.BackgroundColor3 = .(, , )
exRightFrame.BorderSizePixel =
exRightFrame.ScrollBarThickness =
exRightFrame.CanvasSize = .(, , , )
exRightFrame.AutomaticCanvasSize = .AutomaticSize.Y
exRightFrame.ZIndex =
exRightFrame.Parent = exampleScriptsPage
exRightCorner = .()
exRightCorner.CornerRadius = .(, )
exRightCorner.Parent = exRightFrame
exCodeLabel = .()
exCodeLabel.Size = .(, -, , )
exCodeLabel.Position = .(, , , )
exCodeLabel.BackgroundTransparency =
exCodeLabel.Text =
exCodeLabel.TextColor3 = .(, , )
exCodeLabel.TextSize =
exCodeLabel.Font = .Font.Code
exCodeLabel.TextXAlignment = .TextXAlignment.Left
exCodeLabel.TextYAlignment = .TextYAlignment.Top
exCodeLabel.TextWrapped =
exCodeLabel.AutomaticSize = .AutomaticSize.Y
exCodeLabel.ZIndex =
exCodeLabel.Parent = exRightFrame
exampleCodes = {
Fly = ,
Noclip = ,
InfiniteJump = ,
SetSpeed = ,
SetJumpPower = ,
SetGravity = ,
GuiExample = ,
}
flyState = { conn = , vel = , gyro = }
noclipConn =
jumpConn =
savedWalkSpeed =
savedJumpPower =
savedUseJumpPower =
savedGravity =
exampleDemoGui =
()
flyState.conn
flyState.conn:()
flyState.vel flyState.vel:()
flyState.gyro flyState.gyro:()
flyState.conn, flyState.vel, flyState.gyro = , ,
char = player.Character
char
hrp = char:()
hrp
bv = .()
bv.MaxForce = .(.huge, .huge, .huge)
bv.Velocity = .zero
bv.Parent = hrp
bg = .()
bg.MaxTorque = .(.huge, .huge, .huge)
bg.P =
bg.Parent = hrp
conn = RunService.RenderStepped:(()
char.Parent hrp.Parent
conn:(); bv:(); bg:()
flyState.conn == conn flyState.conn, flyState.vel, flyState.gyro = , ,
cam = .CurrentCamera
move = .zero
UserInputService:(.KeyCode.W) move = move + cam.CFrame.LookVector
UserInputService:(.KeyCode.S) move = move - cam.CFrame.LookVector
UserInputService:(.KeyCode.A) move = move - cam.CFrame.RightVector
UserInputService:(.KeyCode.D) move = move + cam.CFrame.RightVector
UserInputService:(.KeyCode.Space) move = move + .(, , )
UserInputService:(.KeyCode.LeftShift) move = move - .(, , )
move.Magnitude > move = move.Unit *
bv.Velocity = move
bg.CFrame = cam.CFrame
)
flyState.conn, flyState.vel, flyState.gyro = conn, bv, bg
()
noclipConn
noclipConn:()
noclipConn =
char = player.Character
char
_, part (char:())
part:() part.CanCollide =
noclipConn = RunService.Stepped:(()
char = player.Character
char
_, part (char:())
part:() part.CanCollide part.CanCollide =
)
()
jumpConn
jumpConn:()
jumpConn =
jumpConn = UserInputService.JumpRequest:(()
char = player.Character
char
hum = char:()
hum hum:(.HumanoidStateType.Jumping)
)
()
char = player.Character
hum = char char:()
hum
savedWalkSpeed ~=
hum.WalkSpeed = savedWalkSpeed
savedWalkSpeed =
savedWalkSpeed = hum.WalkSpeed
hum.WalkSpeed =
()
char = player.Character
hum = char char:()
hum
savedJumpPower ~=
hum.UseJumpPower = savedUseJumpPower
savedUseJumpPower
hum.JumpPower = savedJumpPower
hum.JumpHeight = savedJumpPower
savedJumpPower =
savedUseJumpPower =
savedUseJumpPower = hum.UseJumpPower
hum.UseJumpPower
savedJumpPower = hum.JumpPower
savedJumpPower = hum.JumpHeight
hum.UseJumpPower =
hum.JumpPower =
()
savedGravity ~=
.Gravity = savedGravity
savedGravity =
savedGravity = .Gravity
.Gravity =
()
exampleDemoGui
exampleDemoGui:()
exampleDemoGui =
sg = .()
sg.Name =
sg.ResetOnSpawn =
sg.IgnoreGuiInset =
sg.Parent = playerGui
exampleDemoGui = sg
f = .()
f.Size = .(, , , )
f.Position = .(, , , )
f.BackgroundColor3 = .(, , )
f.BorderSizePixel =
f.Parent = sg
c = .()
c.CornerRadius = .(, )
c.Parent = f
stroke = .()
stroke.Color = .(, , )
stroke.Thickness =
stroke.Parent = f
t = .()
t.Size = .(, , , )
t.BackgroundColor3 = .(, , )
t.Text =
t.TextColor3 = .(, , )
t.TextSize =
t.Font = .Font.GothamBold
t.BorderSizePixel =
t.Parent = f
tc = .()
tc.CornerRadius = .(, )
tc.Parent = t
hint = .()
hint.Size = .(, -, , )
hint.Position = .(, , , )
hint.BackgroundTransparency =
hint.Text =
hint.TextColor3 = .(, , )
hint.TextSize =
hint.Font = .Font.Gotham
hint.TextWrapped =
hint.Parent = f
b = .()
b.Size = .(, , , )
b.Position = .(, -, , -)
b.BackgroundColor3 = .(, , )
b.Text =
b.TextColor3 = .(, , )
b.TextSize =
b.Font = .Font.GothamBold
b.BorderSizePixel =
b.Parent = f
bc = .()
bc.CornerRadius = .(, )
bc.Parent = b
count =
b.MouseButton1Click:(()
count = count +
b.Text = .. count ..
)
exampleToggles = {
Fly = { func = toggleFly, state = },
Noclip = { func = toggleNoclip, state = },
InfiniteJump = { func = toggleInfiniteJump, state = },
SetSpeed = { func = toggleSetSpeed, state = },
SetJumpPower = { func = toggleSetJumpPower, state = },
SetGravity = { func = toggleSetGravity, state = },
GuiExample = { func = toggleGuiExample, state = },
}
exampleButtonMap = {}
(name)
btn = exampleButtonMap[name]
btn
exampleToggles[name].state
btn.BackgroundColor3 = .(, , )
btn.BackgroundColor3 = .(, , )
(name, order)
btn = .()
btn.Size = .(, , , )
btn.BackgroundColor3 = .(, , )
btn.Text = name
btn.TextColor3 = .(, , )
btn.TextSize =
btn.Font = .Font.GothamSemibold
btn.LayoutOrder = order
btn.BorderSizePixel =
btn.ZIndex =
btn.TextWrapped =
btn.Parent = exLeftPanel
c = .()
c.CornerRadius = .(, )
c.Parent = btn
exampleButtonMap[name] = btn
btn.MouseButton1Click:(()
entry = exampleToggles[name]
entry.state = entry.()
(name)
exCodeLabel.Text = exampleCodes[name]
)
btn
(, )
(, )
(, )
(, )
(, )
(, )
(, )
aiPromptsPage = .()
aiPromptsPage.Size = .(, , , )
aiPromptsPage.BackgroundTransparency =
aiPromptsPage.Visible =
aiPromptsPage.ZIndex =
aiPromptsPage.Parent = contentArea
apTitle = .()
apTitle.Size = .(, -, , )
apTitle.Position = .(, , , )
apTitle.BackgroundTransparency =
apTitle.Text =
apTitle.TextColor3 = .(, , )
apTitle.TextSize =
apTitle.Font = .Font.GothamBold
apTitle.TextXAlignment = .TextXAlignment.Left
apTitle.ZIndex =
apTitle.Parent = aiPromptsPage
apScroll = .()
apScroll.Size = .(, -, , -)
apScroll.Position = .(, , , )
apScroll.BackgroundColor3 = .(, , )
apScroll.BorderSizePixel =
apScroll.ScrollBarThickness =
apScroll.CanvasSize = .(, , , )
apScroll.AutomaticCanvasSize = .AutomaticSize.Y
apScroll.ZIndex =
apScroll.Parent = aiPromptsPage
apScrollCorner = .()
apScrollCorner.CornerRadius = .(, )
apScrollCorner.Parent = apScroll
apLayout = .()
apLayout.Padding = .(, )
apLayout.SortOrder = .SortOrder.LayoutOrder
apLayout.Parent = apScroll
apPadding = .()
apPadding.PaddingTop = .(, )
apPadding.PaddingLeft = .(, )
apPadding.PaddingRight = .(, )
apPadding.PaddingBottom = .(, )
apPadding.Parent = apScroll
aiPrompts = {
,
,
,
}
(text, order)
item = .()
item.Size = .(, , , )
item.BackgroundColor3 = .(, , )
item.BorderSizePixel =
item.LayoutOrder = order
item.AutomaticSize = .AutomaticSize.Y
item.ZIndex =
item.Parent = apScroll
ic = .()
ic.CornerRadius = .(, )
ic.Parent = item
pad = .()
pad.PaddingTop = .(, )
pad.PaddingLeft = .(, )
pad.PaddingRight = .(, )
pad.PaddingBottom = .(, )
pad.Parent = item
header = .()
header.Size = .(, -, , )
header.BackgroundTransparency =
header.Text = .. order
header.TextColor3 = .(, , )
header.TextSize =
header.Font = .Font.GothamBold
header.TextXAlignment = .TextXAlignment.Left
header.ZIndex =
header.Parent = item
copyBtn = .()
copyBtn.Size = .(, , , )
copyBtn.Position = .(, -, , )
copyBtn.BackgroundColor3 = .(, , )
copyBtn.Text =
copyBtn.TextColor3 = .(, , )
copyBtn.TextSize =
copyBtn.Font = .Font.GothamSemibold
copyBtn.BorderSizePixel =
copyBtn.ZIndex =
copyBtn.Parent = item
cb = .()
cb.CornerRadius = .(, )
cb.Parent = copyBtn
body = .()
body.Size = .(, , , )
body.Position = .(, , , )
body.BackgroundTransparency =
body.Text = text
body.TextColor3 = .(, , )
body.TextSize =
body.Font = .Font.Gotham
body.TextXAlignment = .TextXAlignment.Left
body.TextYAlignment = .TextYAlignment.Top
body.TextWrapped =
body.AutomaticSize = .AutomaticSize.Y
body.ZIndex =
body.Parent = item
copyBtn.MouseButton1Click:(()
setclipboard
(text)
copyBtn.Text =
.(, ()
copyBtn copyBtn.Parent copyBtn.Text =
)
()
)
item
i, promptText (aiPrompts)
(promptText, i)
showPage = (name)
executorPage.Visible = (name == )
settingsPage.Visible = (name == )
exampleScriptsPage.Visible = (name == )
aiPromptsPage.Visible = (name == )
explorerPage.Visible = (name == )
(btn, active)
btn.BackgroundColor3 = active .(, , ) .(, , )
(executorBtn, name == )
(settingsBtn, name == )
(exampleScriptsBtn, name == )
(aiPromptsBtn, name == )
(explorersBtn, name == )
(robloxConsoleBtn, )
()
currentTheme =
(themeName)
currentTheme = themeName
()
()
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BackgroundTransparency =
titleBar.BackgroundColor3 = .(, , )
titleBar.BackgroundTransparency =
titleFix.BackgroundColor3 = .(, , )
titleFix.BackgroundTransparency =
sidebar.BackgroundColor3 = .(, , )
sidebar.BackgroundTransparency =
contentArea.BackgroundColor3 = .(, , )
contentArea.BackgroundTransparency =
titleLabel.TextColor3 = .(, , )
bgImage.Image =
bgImage.ImageTransparency =
executorBtn.Font = .Font.GothamSemibold
settingsBtn.Font = .Font.GothamSemibold
exampleScriptsBtn.Font = .Font.GothamSemibold
robloxConsoleBtn.Font = .Font.GothamSemibold
aiPromptsBtn.Font = .Font.GothamSemibold
explorersBtn.Font = .Font.GothamSemibold
addTabBtn.Font = .Font.GothamBold
editTabBtn.Font = .Font.GothamBold
themeBtn.Font = .Font.GothamSemibold
noWarnBtn.Font = .Font.GothamSemibold
_, t (tabs) t.button.Font = .Font.GothamSemibold
_, b (themeButtons) b.Font = .Font.GothamSemibold
executorBtn.BackgroundColor3 = .(, , )
settingsBtn.BackgroundColor3 = .(, , )
exampleScriptsBtn.BackgroundColor3 = .(, , )
robloxConsoleBtn.BackgroundColor3 = .(, , )
aiPromptsBtn.BackgroundColor3 = .(, , )
explorersBtn.BackgroundColor3 = .(, , )
addTabBtn.BackgroundColor3 = .(, , )
editTabBtn.BackgroundColor3 = .(, , )
themeBtn.BackgroundColor3 = .(, , )
noWarnBtn.BackgroundColor3 = noWarnActive .(, , ) .(, , )
_, t (tabs) t.button.BackgroundColor3 = .(, , )
_, b (themeButtons) b.BackgroundColor3 = .(, , )
themeName ==
mainFrame.BackgroundColor3 = .(, , )
titleBar.BackgroundColor3 = .(, , )
titleFix.BackgroundColor3 = .(, , )
sidebar.BackgroundColor3 = .(, , )
contentArea.BackgroundColor3 = .(, , )
themeName ==
mainFrame.BackgroundColor3 = .(, , )
titleBar.BackgroundColor3 = .(, , )
titleFix.BackgroundColor3 = .(, , )
sidebar.BackgroundColor3 = .(, , )
contentArea.BackgroundColor3 = .(, , )
titleLabel.TextColor3 = .(, , )
themeName ==
mainFrame.BackgroundColor3 = .(, , )
titleBar.BackgroundColor3 = .(, , )
titleFix.BackgroundColor3 = .(, , )
sidebar.BackgroundColor3 = .(, , )
contentArea.BackgroundColor3 = .(, , )
titleLabel.TextColor3 = .(, , )
rainbow = {
.(, , ), .(, , ),
.(, , ), .(, , ),
.(, , ), .(, , ),
.(, , )
}
executorBtn.BackgroundColor3 = rainbow[]
settingsBtn.BackgroundColor3 = rainbow[]
exampleScriptsBtn.BackgroundColor3 = rainbow[]
robloxConsoleBtn.BackgroundColor3 = rainbow[]
aiPromptsBtn.BackgroundColor3 = rainbow[]
explorersBtn.BackgroundColor3 = rainbow[]
addTabBtn.BackgroundColor3 = rainbow[]
themeBtn.BackgroundColor3 = rainbow[]
themeName ==
mainFrame.BackgroundColor3 = .(, , )
titleBar.BackgroundColor3 = .(, , )
titleFix.BackgroundColor3 = .(, , )
sidebar.BackgroundColor3 = .(, , )
contentArea.BackgroundColor3 = .(, , )
themeName ==
mainFrame.BackgroundColor3 = .(, , )
titleBar.BackgroundColor3 = .(, , )
titleFix.BackgroundColor3 = .(, , )
sidebar.BackgroundColor3 = .(, , )
contentArea.BackgroundColor3 = .(, , )
themeName ==
mainFrame.BackgroundColor3 = .(, , )
titleBar.BackgroundColor3 = .(, , )
titleFix.BackgroundColor3 = .(, , )
sidebar.BackgroundColor3 = .(, , )
contentArea.BackgroundColor3 = .(, , )
orange = .(, , )
executorBtn.BackgroundColor3 = orange
settingsBtn.BackgroundColor3 = orange
exampleScriptsBtn.BackgroundColor3 = orange
robloxConsoleBtn.BackgroundColor3 = orange
aiPromptsBtn.BackgroundColor3 = orange
explorersBtn.BackgroundColor3 = orange
addTabBtn.BackgroundColor3 = orange
themeBtn.BackgroundColor3 = orange
themeName ==
mainFrame.BackgroundColor3 = .(, , )
titleBar.BackgroundColor3 = .(, , )
titleFix.BackgroundColor3 = .(, , )
sidebar.BackgroundColor3 = .(, , )
contentArea.BackgroundColor3 = .(, , )
mainFrame.BackgroundTransparency =
bgImage.Image =
bgImage.ImageTransparency =
bgImage.ScaleType = .ScaleType.Crop
pixel = .Font.Arcade
executorBtn.Font = pixel
settingsBtn.Font = pixel
exampleScriptsBtn.Font = pixel
robloxConsoleBtn.Font = pixel
aiPromptsBtn.Font = pixel
explorersBtn.Font = pixel
addTabBtn.Font = pixel
editTabBtn.Font = pixel
themeBtn.Font = pixel
noWarnBtn.Font = pixel
_, t (tabs) t.button.Font = pixel
_, b (themeButtons) b.Font = pixel
themeName ==
mainFrame.BackgroundTransparency =
bgImage.Image =
bgImage.ImageTransparency =
bgImage.ScaleType = .ScaleType.Crop
titleBar.BackgroundColor3 = .(, , )
titleFix.BackgroundColor3 = .(, , )
sidebar.BackgroundColor3 = .(, , )
contentArea.BackgroundColor3 = .(, , )
contentArea.BackgroundTransparency =
green = .(, , )
executorBtn.BackgroundColor3 = green
settingsBtn.BackgroundColor3 = green
exampleScriptsBtn.BackgroundColor3 = green
robloxConsoleBtn.BackgroundColor3 = green
aiPromptsBtn.BackgroundColor3 = green
explorersBtn.BackgroundColor3 = green
addTabBtn.BackgroundColor3 = green
themeBtn.BackgroundColor3 = green
themeName ==
img =
mainFrame.BackgroundTransparency =
bgImage.Image = img
bgImage.ImageTransparency =
bgImage.ScaleType = .ScaleType.Crop
contentArea.BackgroundTransparency =
sidebar.BackgroundTransparency =
titleBar.BackgroundTransparency =
titleFix.BackgroundTransparency =
_, obj (screenGui:())
obj:()
(()
obj.Image = img
obj.ImageTransparency =
obj.BackgroundTransparency =
)
themeName ==
()
gray = .(, , )
darker = .(, , )
mainFrame.BackgroundColor3 = gray
titleBar.BackgroundColor3 = darker
titleFix.BackgroundColor3 = darker
sidebar.BackgroundColor3 = darker
contentArea.BackgroundColor3 = gray
titleLabel.TextColor3 = .(, , )
executorBtn.BackgroundColor3 = .(, , )
settingsBtn.BackgroundColor3 = .(, , )
exampleScriptsBtn.BackgroundColor3 = .(, , )
robloxConsoleBtn.BackgroundColor3 = .(, , )
aiPromptsBtn.BackgroundColor3 = .(, , )
explorersBtn.BackgroundColor3 = .(, , )
addTabBtn.BackgroundColor3 = .(, , )
themeBtn.BackgroundColor3 = .(, , )
_, t (tabs) t.button.BackgroundColor3 = .(, , )
_, b (themeButtons) b.BackgroundColor3 = .(, , )
themeName ==
mainFrame.BackgroundColor3 = .(, , )
titleBar.BackgroundColor3 = .(, , )
titleFix.BackgroundColor3 = .(, , )
sidebar.BackgroundColor3 = .(, , )
contentArea.BackgroundColor3 = .(, , )
titleLabel.TextColor3 = .(, , )
executorBtn.BackgroundColor3 = .(, , )
settingsBtn.BackgroundColor3 = .(, , )
exampleScriptsBtn.BackgroundColor3 = .(, , )
robloxConsoleBtn.BackgroundColor3 = .(, , )
aiPromptsBtn.BackgroundColor3 = .(, , )
explorersBtn.BackgroundColor3 = .(, , )
addTabBtn.BackgroundColor3 = .(, , )
themeBtn.BackgroundColor3 = .(, , )
noWarnBtn.BackgroundColor3 = noWarnActive .(, , ) .(, , )
_, t (tabs) t.button.BackgroundColor3 = .(, , )
_, b (themeButtons) b.BackgroundColor3 = .(, , )
showPage
local ap = executorPage.Visible and "executor"
or (settingsPage.Visible and "settings"
or (exampleScriptsPage.Visible and "examples"
or (aiPromptsPage.Visible and "prompts" or "explorers")))
showPage(ap)
end
for toggleName, _ in pairs(exampleToggles) do
refreshToggleButton(toggleName)
end
end
applyTheme("black")
for themeName, btn in pairs(themeButtons) do
btn.MouseButton1Click:Connect(function()
applyTheme(themeName)
themeListOpen = false
themeListFrame.Visible = false
end)
end
-- ============================================================
-- SOUNDS
-- ============================================================
local function playSound(id)
local s = Instance.new("Sound")
s.SoundId = "rbxassetid://" .. id
s.Volume = 1
s.Parent = workspace
s:Play()
s.Ended:Connect(function() s:Destroy() end)
end
-- ============================================================
-- SERIALIZE / SAVE / LOAD
-- ============================================================
local function safeBracket(code)
local level = 0
while string.find(code, "]" .. string.rep("=", level) .. "]", 1, true) do
level = level + 1
end
return "[" .. string.rep("=", level) .. "[", "]" .. string.rep("=", level) .. "]"
end
local function serializeAllTabs()
local lines = {}
table.insert(lines, "-- AIcutor_data")
table.insert(lines, "-- Saved: " .. os.date("%Y-%m-%d %H:%M:%S"))
table.insert(lines, "-- Tabs: " .. #tabs)
table.insert(lines, "")
table.insert(lines, "return {")
table.insert(lines, " tabs = {")
for _, t in ipairs(tabs) do
local open, close = safeBracket(t.codeBox.Text)
table.insert(lines,
" { name = " .. string.format("%q", t.name) ..
", code = " .. open .. t.codeBox.Text .. close .. " },"
)
end
table.insert(lines, " },")
table.insert(lines, "}")
return table.concat(lines, "\n")
end
saveAllData = function()
if not writefile then
warn("[AIcutor] writefile недоступен.")
return false
end
local ok, err = pcall(function() writefile(DATA_FILE, serializeAllTabs()) end)
if ok then
print("[AIcutor] Autosave: " .. #tabs .. " tabs → " .. DATA_FILE)
return true
else
warn("[AIcutor] Save error: " .. tostring(err))
return false
end
end
loadAllData = function()
if not readfile then
warn("[AIcutor] readfile недоступен.")
return false
end
if isfile and not isfile(DATA_FILE) then
warn("[AIcutor] Файл " .. DATA_FILE .. " не найден.")
return false
end
local ok1, content = pcall(function() return readfile(DATA_FILE) end)
if not ok1 or not content then
warn("[AIcutor] Не удалось прочитать файл.")
return false
end
local chunk, err = loadstring(content)
if not chunk then
warn("[AIcutor] Parse error: " .. tostring(err))
return false
end
local ok2, data = pcall(chunk)
if not ok2 or type(data) ~= "table" or not data.tabs or #data.tabs == 0 then
warn("[AIcutor] Неверный формат файла.")
return false
end
for i = #tabs, 1, -1 do
local t = tabs[i]
if t.button and t.button.Parent then t.button:Destroy() end
if t.page and t.page.Parent then t.page:Destroy() end
tabs[i] = nil
end
activeTabIndex = 0
tabCounter = 0
for i, savedTab in ipairs(data.tabs) do
local name = savedTab.name or ("script " .. i)
local newTab = createTab(name, i == 1, name)
newTab.name = name
newTab.button.Text = name
newTab.codeBox.Text = savedTab.code or ""
end
tabCounter = #data.tabs
if #tabs > 0 then
activeTabIndex = 1
local first = tabs[1]
for _, t in ipairs(tabs) do
t.page.Visible = (t == first)
if t == first then
t.button.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
t.button.TextColor3 = Color3.fromRGB(255, 255, 255)
else
t.button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
t.button.TextColor3 = Color3.fromRGB(200, 200, 200)
end
end
end
print("[AIcutor] Loaded " .. #tabs .. " tabs from " .. DATA_FILE)
return true
end
-- ============================================================
-- BUTTON HANDLERS
-- ============================================================
setupExecute = function(executeBtn, tabData)
executeBtn.MouseButton1Click:Connect(function()
local code = tabData.codeBox.Text
if code == "" then
warn("[AIcutor] Поле ввода пустое.")
return
end
if currentTheme == "deltarune" then playSound("110335545170740") end
local success, err = pcall(function()
local scs = game:GetService("StarterPlayer"):FindFirstChild("StarterCharacterScripts")
if not scs then error("StarterCharacterScripts не найден") end
local scriptName = "AIcutor_" .. tabData.name
for _, child in ipairs(scs:GetChildren()) do
if child:IsA("LocalScript") and child.Name == scriptName then child:Destroy() end
end
local newScript = Instance.new("LocalScript")
newScript.Name = scriptName
newScript.Source = code
newScript.Parent = scs
end)
if success then
print("[AIcutor] LocalScript добавлен в StarterCharacterScripts.")
else
warn("[AIcutor] Execute: " .. tostring(err))
warn("[AIcutor] .Source работает только в executor'ах.")
end
end)
end
setupClear = function(clearBtn, tabData)
clearBtn.MouseButton1Click:Connect(function()
if currentTheme == "deltarune" then playSound("106811262178398") end
local cf = Instance.new("Frame")
cf.Size = UDim2.new(0, 300, 0, 130)
cf.Position = UDim2.new(0.5, -150, 0.5, -65)
cf.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
cf.BorderSizePixel = 0
cf.ZIndex = 100
cf.Parent = screenGui
local c = Instance.new("UICorner")
c.CornerRadius = UDim.new(0, 10)
c.Parent = cf
if currentTheme == "hello john doe" then c.CornerRadius = UDim.new(0, 0) end
local l = Instance.new("TextLabel")
l.Size = UDim2.new(1, -20, 0, 60)
l.Position = UDim2.new(0, 10, 0, 10)
l.BackgroundTransparency = 1
l.Text = "Очистить поле ввода? Весь скрипт будет потерян."
l.TextColor3 = Color3.fromRGB(255, 255, 255)
l.TextSize = 14
l.Font = Enum.Font.GothamSemibold
l.TextWrapped = true
l.ZIndex = 101
l.Parent = cf
local yes = Instance.new("TextButton")
yes.Size = UDim2.new(0, 120, 0, 36)
yes.Position = UDim2.new(0.25, -60, 1, -46)
yes.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
yes.Text = "Yes"
yes.TextColor3 = Color3.fromRGB(255, 255, 255)
yes.TextSize = 14
yes.Font = Enum.Font.GothamSemibold
yes.BorderSizePixel = 0
yes.ZIndex = 101
yes.Parent = cf
local yc = Instance.new("UICorner")
yc.CornerRadius = UDim.new(0, 6)
yc.Parent = yes
local no = Instance.new("TextButton")
no.Size = UDim2.new(0, 120, 0, 36)
no.Position = UDim2.new(0.75, -60, 1, -46)
no.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
no.Text = "No"
no.TextColor3 = Color3.fromRGB(255, 255, 255)
no.TextSize = 14
no.Font = Enum.Font.GothamSemibold
no.BorderSizePixel = 0
no.ZIndex = 101
no.Parent = cf
local nc = Instance.new("UICorner")
nc.CornerRadius = UDim.new(0, 6)
nc.Parent = no
yes.MouseButton1Click:Connect(function()
if currentTheme == "deltarune" then playSound("107404924544437") end
tabData.codeBox.Text = ""
cf:Destroy()
end)
no.MouseButton1Click:Connect(function() cf:Destroy() end)
end)
end
setupPaste = function(pasteBtn, tabData)
pasteBtn.MouseButton1Click:Connect(function()
if currentTheme == "deltarune" then playSound("106811262178398") end
local txt = getclipboard and getclipboard() or nil
if not txt then
warn("[AIcutor] Буфер обмена недоступен.")
return
end
tabData.codeBox.Text = tabData.codeBox.Text .. txt
end)
end
setupCopyAll = function(copyAllBtn, tabData)
copyAllBtn.MouseButton1Click:Connect(function()
if currentTheme == "deltarune" then playSound("106811262178398") end
if setclipboard then
setclipboard(tabData.codeBox.Text)
print("[AIcutor] Скопировано.")
else
warn("[AIcutor] setclipboard недоступен.")
end
end)
end
setupSaveData = function(saveDataBtn, tabData)
saveDataBtn.MouseButton1Click:Connect(function()
if currentTheme == "deltarune" then playSound("115855537754171") end
saveAllData()
end)
end
setupLoadData = function(loadBtn, tabData)
loadBtn.MouseButton1Click:Connect(function()
if currentTheme == "deltarune" then playSound("106811262178398") end
local cf = Instance.new("Frame")
cf.Size = UDim2.new(0, 320, 0, 140)
cf.Position = UDim2.new(0.5, -160, 0.5, -70)
cf.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
cf.BorderSizePixel = 0
cf.ZIndex = 100
cf.Parent = screenGui
local c = Instance.new("UICorner")
c.CornerRadius = UDim.new(0, 10)
c.Parent = cf
if currentTheme == "hello john doe" then c.CornerRadius = UDim.new(0, 0) end
local l = Instance.new("TextLabel")
l.Size = UDim2.new(1, -20, 0, 70)
l.Position = UDim2.new(0, 10, 0, 10)
l.BackgroundTransparency = 1
l.Text = "Загрузить " .. DATA_FILE .. "? Все текущие вкладки и их код будут заменены."
l.TextColor3 = Color3.fromRGB(255, 255, 255)
l.TextSize = 14
l.Font = Enum.Font.GothamSemibold
l.TextWrapped = true
l.ZIndex = 101
l.Parent = cf
local yes = Instance.new("TextButton")
yes.Size = UDim2.new(0, 120, 0, 36)
yes.Position = UDim2.new(0.25, -60, 1, -46)
yes.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
yes.Text = "Yes"
yes.TextColor3 = Color3.fromRGB(255, 255, 255)
yes.TextSize = 14
yes.Font = Enum.Font.GothamSemibold
yes.BorderSizePixel = 0
yes.ZIndex = 101
yes.Parent = cf
local yc = Instance.new("UICorner")
yc.CornerRadius = UDim.new(0, 6)
yc.Parent = yes
local no = Instance.new("TextButton")
no.Size = UDim2.new(0, 120, 0, 36)
no.Position = UDim2.new(0.75, -60, 1, -46)
no.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
no.Text = "No"
no.TextColor3 = Color3.fromRGB(255, 255, 255)
no.TextSize = 14
no.Font = Enum.Font.GothamSemibold
no.BorderSizePixel = 0
no.ZIndex = 101
no.Parent = cf
local nc = Instance.new("UICorner")
nc.CornerRadius = UDim.new(0, 6)
nc.Parent = no
yes.MouseButton1Click:Connect(function()
cf:Destroy()
loadAllData()
end)
no.MouseButton1Click:Connect(function() cf:Destroy() end)
end)
end
for _, tabData in ipairs(tabs) do
setupExecute(tabData.executeBtn, tabData)
setupClear(tabData.clearBtn, tabData)
setupPaste(tabData.pasteBtn, tabData)
setupCopyAll(tabData.copyAllBtn, tabData)
setupSaveData(tabData.saveDataBtn, tabData)
setupLoadData(tabData.loadBtn, tabData)
end
-- ============================================================
-- AUTOSAVE
-- ============================================================
task.spawn(function()
while screenGui and screenGui.Parent do
task.wait(30)
if writefile then saveAllData() end
end
end)
game:BindToClose(function()
if writefile then saveAllData() end
end)
print("[AIcutor] Загружено. Explorer + Gui Example + SetGravity + red theme добавлены.")AIslop warning!!! AIcutor — Button Reference Title bar: drag "AIcutor" to move the window (mouse + touch). Sidebar (6): Executor — opens the code editor. Settings — opens settings. Example Scripts — opens toggles. Roblox Console — opens DevConsole (SetCore or simulated F9); no page switch. AI Prompts — opens prompt templates. Explorers — opens read-only game tree. Tab bar: script N — LMB switches to that tab; RMB opens tab menu. + — new tab named script N+1. ⋮ — opens tab menu for the active tab (mobile substitute for RMB). Tab menu: Переименовать — rename dialog with TextBox + OK (Enter also confirms). Удалить — deletes tab (grayed when only one remains). Backdrop closes the menu. Per-tab actions (6): Execute — puts current code as LocalScript in StarterCharacterScripts (deduplicates previous same-name script). Empty → warning. pcall-guarded, so Studio just logs a warning. Clear — Yes/No dialog; Yes wipes the field. Paste — appends getclipboard() text (does not replace). Copy — setclipboard() of the whole field. Save — writes all tabs to AIcutor_data.lua (create or overwrite). Load — Yes/No dialog; Yes replaces all tabs from AIcutor_data.lua after validation.

Universal