Run it
Copy the script and paste it into your executor.
HttpService = :()
Players = :()
TweenService = :()
UserInputService = :()
RunService = :()
ReplicatedStorage = :()
GenerationService =
(()
GenerationService = :()
)
Player = Players.LocalPlayer
PlayerGui = Player:()
CONFIG = {
HORDE_BASE = ,
ANON_KEY = ,
SAVE_DIR = ,
MAX_POLLS = ,
POLL_INTERVAL = ,
IMAGE_WIDTH = ,
IMAGE_HEIGHT = ,
STEPS = ,
CFG_SCALE = ,
DEFAULT_MODEL = ,
CUBE3D_TRI_MAX = ,
CUBE3D_SIZE = .(, , ),
}
(name)
name:(, ):(, ):(, )
(filename)
CONFIG.SAVE_DIR .. .. filename ..
(method, url, body, content_type)
success, result = (()
options = {
Url = url,
Method = method,
Headers = {
[] = content_type ,
[] = CONFIG.ANON_KEY
}
}
body
options.Body = body
HttpService:(options)
)
success result.Success
result.Body
success
( .. result.StatusCode .. .. result.StatusMessage)
( .. (result))
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
ScreenGui.IgnoreGuiInset =
ScreenGui.Parent = PlayerGui
MainFrame = .()
MainFrame.Name =
MainFrame.Size = .(, , , )
MainFrame.Position = .(, -, , -)
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.ClipsDescendants =
MainFrame.Parent = ScreenGui
.(, MainFrame).CornerRadius = .(, )
MainStroke = .()
MainStroke.Color = .(, , )
MainStroke.Thickness =
MainStroke.Parent = MainFrame
dragging, dragInput, dragStart, startPos
MainFrame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging = ; dragStart = input.Position; startPos = MainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End dragging =
)
)
MainFrame.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)
)
TitleBar = .()
TitleBar.Size = .(, , , )
TitleBar.BackgroundColor3 = .(, , )
TitleBar.BorderSizePixel =
TitleBar.Parent = MainFrame
.(, TitleBar).CornerRadius = .(, )
AccentLine = .()
AccentLine.Size = .(, , , )
AccentLine.Position = .(, , , -)
AccentLine.BackgroundColor3 = .(, , )
AccentLine.BorderSizePixel =
AccentLine.Parent = TitleBar
TitleLabel = .()
TitleLabel.Size = .(, -, , )
TitleLabel.Position = .(, , , )
TitleLabel.BackgroundTransparency =
TitleLabel.Text =
TitleLabel.TextColor3 = .(, , )
TitleLabel.TextSize =
TitleLabel.Font = .Font.GothamBold
TitleLabel.TextXAlignment = .TextXAlignment.Left
TitleLabel.Parent = TitleBar
CloseBtn = .()
CloseBtn.Size = .(, , , )
CloseBtn.Position = .(, -, , )
CloseBtn.BackgroundColor3 = .(, , )
CloseBtn.Text =
CloseBtn.TextColor3 = .(, , )
CloseBtn.TextSize =
CloseBtn.Font = .Font.GothamBold
CloseBtn.BorderSizePixel =
CloseBtn.Parent = TitleBar
.(, CloseBtn).CornerRadius = .(, )
CloseBtn.MouseButton1Click:(() ScreenGui:() )
Content = .()
Content.Name =
Content.Size = .(, -, , -)
Content.Position = .(, , , )
Content.BackgroundTransparency =
Content.ScrollBarThickness =
Content.ScrollBarImageColor3 = .(, , )
Content.BorderSizePixel =
Content.AutomaticCanvasSize = .AutomaticSize.Y
Content.CanvasSize = .(, , , )
Content.Parent = MainFrame
ContentList = .()
ContentList.SortOrder = .SortOrder.LayoutOrder
ContentList.Padding = .(, )
ContentList.Parent = Content
PromptLabel = .()
PromptLabel.Size = .(, , , )
PromptLabel.BackgroundTransparency =
PromptLabel.Text =
PromptLabel.TextColor3 = .(, , )
PromptLabel.TextSize =
PromptLabel.Font = .Font.GothamBold
PromptLabel.TextXAlignment = .TextXAlignment.Left
PromptLabel.LayoutOrder =
PromptLabel.Parent = Content
PromptBox = .()
PromptBox.Size = .(, , , )
PromptBox.BackgroundColor3 = .(, , )
PromptBox.TextColor3 = .(, , )
PromptBox.PlaceholderText =
PromptBox.PlaceholderColor3 = .(, , )
PromptBox.Text =
PromptBox.TextSize =
PromptBox.Font = .Font.Gotham
PromptBox.BorderSizePixel =
PromptBox.ClearTextOnFocus =
PromptBox.TextXAlignment = .TextXAlignment.Left
PromptBox.TextYAlignment = .TextYAlignment.Top
PromptBox.TextWrapped =
PromptBox.LayoutOrder =
PromptBox.Parent = Content
.(, PromptBox).CornerRadius = .(, )
.(, PromptBox).PaddingLeft = .(, )
.(, PromptBox).PaddingTop = .(, )
EnhanceFrame = .()
EnhanceFrame.Size = .(, , , )
EnhanceFrame.BackgroundTransparency =
EnhanceFrame.LayoutOrder =
EnhanceFrame.Parent = Content
EnhanceToggle = .()
EnhanceToggle.Size = .(, , , )
EnhanceToggle.Position = .(, , , )
EnhanceToggle.BackgroundColor3 = .(, , )
EnhanceToggle.Text =
EnhanceToggle.TextColor3 = .(, , )
EnhanceToggle.TextSize =
EnhanceToggle.Font = .Font.GothamBold
EnhanceToggle.BorderSizePixel =
EnhanceToggle.Parent = EnhanceFrame
.(, EnhanceToggle).CornerRadius = .(, )
aiEnhanceEnabled =
EnhanceToggle.MouseButton1Click:(()
aiEnhanceEnabled = aiEnhanceEnabled
EnhanceToggle.BackgroundColor3 = aiEnhanceEnabled .(, , ) .(, , )
EnhanceToggle.Text = aiEnhanceEnabled
)
AutoNameToggle = .()
AutoNameToggle.Size = .(, , , )
AutoNameToggle.Position = .(, , , )
AutoNameToggle.BackgroundColor3 = .(, , )
AutoNameToggle.Text =
AutoNameToggle.TextColor3 = .(, , )
AutoNameToggle.TextSize =
AutoNameToggle.Font = .Font.GothamBold
AutoNameToggle.BorderSizePixel =
AutoNameToggle.Parent = EnhanceFrame
.(, AutoNameToggle).CornerRadius = .(, )
autoNameEnabled =
AutoNameToggle.MouseButton1Click:(()
autoNameEnabled = autoNameEnabled
AutoNameToggle.BackgroundColor3 = autoNameEnabled .(, , ) .(, , )
AutoNameToggle.Text = autoNameEnabled
)
CustomNameBox = .()
CustomNameBox.Size = .(, , , )
CustomNameBox.BackgroundColor3 = .(, , )
CustomNameBox.TextColor3 = .(, , )
CustomNameBox.PlaceholderText =
CustomNameBox.PlaceholderColor3 = .(, , )
CustomNameBox.Text =
CustomNameBox.TextSize =
CustomNameBox.Font = .Font.Gotham
CustomNameBox.BorderSizePixel =
CustomNameBox.Visible =
CustomNameBox.LayoutOrder =
CustomNameBox.Parent = Content
.(, CustomNameBox).CornerRadius = .(, )
.(, CustomNameBox).PaddingLeft = .(, )
GenerateBtn = .()
GenerateBtn.Size = .(, , , )
GenerateBtn.BackgroundColor3 = .(, , )
GenerateBtn.Text =
GenerateBtn.TextColor3 = .(, , )
GenerateBtn.TextSize =
GenerateBtn.Font = .Font.GothamBold
GenerateBtn.BorderSizePixel =
GenerateBtn.LayoutOrder =
GenerateBtn.Parent = Content
.(, GenerateBtn).CornerRadius = .(, )
btnGrad = .()
btnGrad.Color = ColorSequence.{
ColorSequenceKeypoint.(, .(, , )),
ColorSequenceKeypoint.(, .(, , )),
}
btnGrad.Parent = GenerateBtn
StatusFrame = .()
StatusFrame.Size = .(, , , )
StatusFrame.BackgroundColor3 = .(, , )
StatusFrame.BorderSizePixel =
StatusFrame.Visible =
StatusFrame.LayoutOrder =
StatusFrame.Parent = Content
.(, StatusFrame).CornerRadius = .(, )
StatusLabel = .()
StatusLabel.Size = .(, -, , )
StatusLabel.Position = .(, , , )
StatusLabel.BackgroundTransparency =
StatusLabel.Text =
StatusLabel.TextColor3 = .(, , )
StatusLabel.TextSize =
StatusLabel.Font = .Font.GothamBold
StatusLabel.TextXAlignment = .TextXAlignment.Left
StatusLabel.Parent = StatusFrame
SubStatus = .()
SubStatus.Size = .(, -, , )
SubStatus.Position = .(, , , )
SubStatus.BackgroundTransparency =
SubStatus.Text =
SubStatus.TextColor3 = .(, , )
SubStatus.TextSize =
SubStatus.Font = .Font.Gotham
SubStatus.TextXAlignment = .TextXAlignment.Left
SubStatus.Parent = StatusFrame
ProgressBg = .()
ProgressBg.Size = .(, -, , )
ProgressBg.Position = .(, , , )
ProgressBg.BackgroundColor3 = .(, , )
ProgressBg.BorderSizePixel =
ProgressBg.Parent = StatusFrame
.(, ProgressBg).CornerRadius = .(, )
ProgressFill = .()
ProgressFill.Size = .(, , , )
ProgressFill.BackgroundColor3 = .(, , )
ProgressFill.BorderSizePixel =
ProgressFill.Parent = ProgressBg
.(, ProgressFill).CornerRadius = .(, )
StepLabel = .()
StepLabel.Size = .(, -, , )
StepLabel.Position = .(, , , )
StepLabel.BackgroundTransparency =
StepLabel.Text =
StepLabel.TextColor3 = .(, , )
StepLabel.TextSize =
StepLabel.Font = .Font.GothamBold
StepLabel.TextXAlignment = .TextXAlignment.Left
StepLabel.Parent = StatusFrame
GeneratedInfo = .()
GeneratedInfo.Size = .(, , , )
GeneratedInfo.BackgroundTransparency =
GeneratedInfo.Text =
GeneratedInfo.TextColor3 = .(, , )
GeneratedInfo.TextSize =
GeneratedInfo.Font = .Font.Gotham
GeneratedInfo.TextXAlignment = .TextXAlignment.Left
GeneratedInfo.TextWrapped =
GeneratedInfo.Visible =
GeneratedInfo.LayoutOrder =
GeneratedInfo.Parent = Content
ScriptPreview = .()
ScriptPreview.Size = .(, , , )
ScriptPreview.BackgroundColor3 = .(, , )
ScriptPreview.TextColor3 = .(, , )
ScriptPreview.PlaceholderText =
ScriptPreview.PlaceholderColor3 = .(, , )
ScriptPreview.Text =
ScriptPreview.TextSize =
ScriptPreview.Font = .Font.Code
ScriptPreview.TextWrapped =
ScriptPreview.TextXAlignment = .TextXAlignment.Left
ScriptPreview.BorderSizePixel =
ScriptPreview.ClearTextOnFocus =
ScriptPreview.Visible =
ScriptPreview.LayoutOrder =
ScriptPreview.Parent = Content
.(, ScriptPreview).CornerRadius = .(, )
.(, ScriptPreview).PaddingLeft = .(, )
.(, ScriptPreview).PaddingTop = .(, )
(text, sub)
StatusFrame.Visible =
StatusLabel.Text = text
SubStatus.Text = sub
(fraction)
TweenService:(ProgressFill, TweenInfo.(, .EasingStyle.Quad), {
Size = .(.(fraction, , ), , , )
}):()
(text)
StepLabel.Text = text
(prompt, maxLen)
maxLen = maxLen
payload = HttpService:({
prompt = prompt,
params = {
max_length = maxLen,
max_context_length = ,
temperature = ,
},
models = {, , },
apikey = CONFIG.ANON_KEY
})
responseBody = (, CONFIG.HORDE_BASE .. , payload)
responseBody
data = HttpService:(responseBody)
data.id
requestId = data.id
i = ,
.()
checkBody = (, CONFIG.HORDE_BASE .. .. requestId)
checkBody
checkData = HttpService:(checkBody)
checkData.done checkData.faulted
finalBody = (, CONFIG.HORDE_BASE .. .. requestId)
finalBody
finalData = HttpService:(finalBody)
finalData.generations #finalData.generations >
text = finalData.generations[].text
text = text:(, ):(, )
text = text:(, )
text = text:(, )
text = text:(, )
text = text:(, )
text = text:(, ):(, )
#text > text
(prompt)
negative =
payload = HttpService:({
prompt = prompt,
negative_prompt = negative,
params = {
steps = CONFIG.STEPS,
width = CONFIG.IMAGE_WIDTH,
height = CONFIG.IMAGE_HEIGHT,
cfg_scale = CONFIG.CFG_SCALE,
sampler_name = ,
},
models = {CONFIG.DEFAULT_MODEL},
apikey = CONFIG.ANON_KEY,
nsfw = ,
})
responseBody = (, CONFIG.HORDE_BASE .. , payload)
responseBody
data = HttpService:(responseBody)
data.id data.is_possible ==
requestId = data.id
i = , CONFIG.MAX_POLLS
.(CONFIG.POLL_INTERVAL)
( + .(i / , ))
checkBody = (, CONFIG.HORDE_BASE .. .. requestId)
checkBody
checkData = HttpService:(checkBody)
checkData.done
finalBody = (, CONFIG.HORDE_BASE .. .. requestId)
finalBody
finalData = HttpService:(finalBody)
finalData.generations #finalData.generations >
finalData.generations[].img
(userPrompt)
(, )
()
()
analysisPrompt = .. userPrompt ..
response = (analysisPrompt, )
response
name = response:() response:()
toolType = response:() response:()
desc = response:() response:() userPrompt
effects = response:() response:()
name = name:(, ):(, )
desc = desc:(, )
name, toolType, desc, effects
words = {}
word userPrompt:()
.(words, word)
fallbackName = (words[] ) .. .. (words[] )
fallbackName:(, ), , userPrompt,
(toolName, toolType, description, effects)
(, )
()
()
scriptPrompt = .(, toolName, toolType, description, effects)
scriptCode = (scriptPrompt, )
scriptCode (scriptCode:() scriptCode:() scriptCode:())
scriptCode
.(, description:(, ))
(textPrompt)
GenerationService
success, result = (()
GenerationService:(
{
TextPrompt = textPrompt,
Size = CONFIG.CUBE3D_SIZE,
MaxTriangles = CONFIG.CUBE3D_TRI_MAX,
GenerateTextures = ,
},
{ PredefinedSchema = },
)
)
success result (result) ==
result
(toolName, toolType, description, meshModel, texturePath, scriptCode)
tool = .()
tool.Name = toolName
tool.RequiresHandle =
tool.CanBeDropped =
tool.ToolTip = description
handle = .()
handle.Name =
handle.Size = .(, , )
handle.Material = .Material.Neon
handle.BrickColor = BrickColor.()
handle.Parent = tool
meshModel
meshModel:()
meshPart = meshModel:() meshModel:()
meshPart
handle:()
meshPart.Name =
meshPart.Parent = tool
handle = meshPart
_, child (meshModel:())
child ~= meshPart
child.Parent = tool
meshModel:()
handle:()
meshModel.Name =
meshModel.Parent = tool
handle = meshModel
texturePath
ok, assetId = (() (texturePath) )
ok assetId
_, face ({, , , , , })
decal = .()
decal.Face = .NormalId[face]
decal.Texture = assetId
decal.Parent = handle
handle.Anchored =
handle.CanCollide =
highlight = .()
highlight.FillColor = .(, , )
highlight.OutlineColor = .(, , )
highlight.FillTransparency =
highlight.Parent = handle
scriptInst = .()
scriptInst.Name =
scriptInst.Source = scriptCode
scriptInst.Parent = tool
tool
isGenerating =
()
isGenerating
userPrompt = PromptBox.Text:()
#userPrompt <
SubStatus.Text =
PromptBox.BackgroundColor3 = .(, , )
.(, () PromptBox.BackgroundColor3 = .(, , ) )
isGenerating =
GenerateBtn.Text =
GenerateBtn.BackgroundColor3 = .(, , )
StatusFrame.Visible =
GeneratedInfo.Visible =
ScriptPreview.Visible =
()
success, err = (()
toolName, toolType, description, effects
autoNameEnabled aiEnhanceEnabled
toolName, toolType, description, effects = (userPrompt)
toolName = CustomNameBox.Text:()
#toolName == toolName =
toolType =
description = userPrompt
effects =
()
()
GeneratedInfo.Visible =
GeneratedInfo.Text = .(, toolName, toolType, description)
scriptCode = (toolName, toolType, description, effects)
scriptCode
ScriptPreview.Visible =
ScriptPreview.Text = scriptCode
(, )
()
()
meshModel =
texturePath =
meshMethod =
meshModel = (description .. .. effects)
meshModel
meshMethod =
()
()
imagePrompt = .(, description, effects)
enhancedPrompt = imagePrompt
aiEnhanceEnabled
enhanced = ( .. imagePrompt, )
enhanced #enhanced >
enhancedPrompt = enhanced
imageUrl = (enhancedPrompt)
imageUrl
meshMethod =
()
safeName = (toolName)
texturePath = (safeName)
(()
(CONFIG.SAVE_DIR) (CONFIG.SAVE_DIR)
raw = :(imageUrl, )
(texturePath, raw)
)
meshMethod =
()
()
(, )
()
tool = (toolName, toolType, description, meshModel, texturePath, scriptCode)
backpack = Player:()
backpack
tool.Parent = backpack
character = Player.Character
character
tool.Parent = character
tool.Parent =
()
(, .(, toolName, meshMethod))
( .. toolName)
GenerateBtn.Text =
GenerateBtn.BackgroundColor3 = .(, , )
.(, ()
GenerateBtn.BackgroundColor3 = .(, , )
GenerateBtn.Text =
)
)
success
(, (err))
()
GenerateBtn.Text =
GenerateBtn.BackgroundColor3 = .(, , )
.(, ()
GenerateBtn.BackgroundColor3 = .(, , )
GenerateBtn.Text =
)
( .. (err))
isGenerating =
GenerateBtn.MouseButton1Click:(OnGenerate)
AutoNameToggle.MouseButton1Click:(()
CustomNameBox.Visible = autoNameEnabled
)
ToggleBtn = .()
ToggleBtn.Name =
ToggleBtn.Size = .(, , , )
ToggleBtn.Position = .(, , , -)
ToggleBtn.BackgroundColor3 = .(, , )
ToggleBtn.Text =
ToggleBtn.TextColor3 = .(, , )
ToggleBtn.TextSize =
ToggleBtn.Font = .Font.GothamBold
ToggleBtn.BorderSizePixel =
ToggleBtn.Parent = ScreenGui
.(, ToggleBtn).CornerRadius = .(, )
guiOpen =
ToggleBtn.MouseButton1Click:(()
guiOpen = guiOpen
MainFrame.Visible = guiOpen
ToggleBtn.Text = guiOpen
)
.(()
ScreenGui ScreenGui.Parent
.()
TweenService:(AccentLine, TweenInfo.(, .EasingStyle.Quad), {
BackgroundColor3 = .(, , )
}):()
.()
TweenService:(AccentLine, TweenInfo.(, .EasingStyle.Quad), {
BackgroundColor3 = .(, , )
}):()
)
()Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: stablehorde.net.
This is not fe its clientsided

Universal