```lua
-- Frederic Spawn v1.1
-- Roblox LocalScript
-- Put this inside StarterPlayer > StarterPlayerScripts
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- Screen GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FredericSpawnGUI"
screenGui.Parent = playerGui
-- Main Frame
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 420, 0, 320)
mainFrame.Position = UDim2.new(0.5, -210, 0.5, -160)
mainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
mainFrame.Parent = screenGui
local mainCorner = Instance.new("UICorner")
mainCorner.CornerRadius = UDim.new(0, 18)
mainCorner.Parent = mainFrame
-- Title
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 50)
title.BackgroundTransparency = 1
title.Text = "Frederic Spawn v1.1"
title.TextColor3 = Color3.new(1,1,1)
title.Font = Enum.Font.GothamBold
title.TextScaled = true
title.Parent = mainFrame
-- Selected label
local selected = nil
local selectedLabel = Instance.new("TextLabel")
selectedLabel.Size = UDim2.new(1, -20, 0, 35)
selectedLabel.Position = UDim2.new(0, 10, 0, 55)
selectedLabel.BackgroundTransparency = 1
selectedLabel.Text = "Selected: None"
selectedLabel.TextColor3 = Color3.fromRGB(220,220,220)
selectedLabel.Font = Enum.Font.Gotham
selectedLabel.TextScaled = true
selectedLabel.Parent = mainFrame
-- Button creator
local function createButton(text, yPos)
local button = Instance.new("TextButton")
button.Size = UDim2.new(0, 360, 0, 45)
button.Position = UDim2.new(0.5, -180, 0, yPos)
button.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
button.Text = text
button.TextColor3 = Color3.new(1,1,1)
button.Font = Enum.Font.GothamBold
button.TextScaled = true
button.Parent = mainFrame
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 14)
corner.Parent = button
button.MouseButton1Click:Connect(function()
selected = text
selectedLabel.Text = "Selected: " .. text
end)
return button
end
-- Monster buttons
createButton("Garama", 100)
createButton("Madungdung La Grande Combinassion", 155)
createButton("Digi Narwhal", 210)
-- Progress bar background
local progressBg = Instance.new("Frame")
progressBg.Size = UDim2.new(0, 360, 0, 28)
progressBg.Position = UDim2.new(0.5, -180, 0, 265)
progressBg.BackgroundColor3 = Color3.fromRGB(50,50,50)
progressBg.Parent = mainFrame
local progressBgCorner = Instance.new("UICorner")
progressBgCorner.CornerRadius = UDim.new(0, 12)
progressBgCorner.Parent = progressBg
-- Progress fill
local progressFill = Instance.new("Frame")
progressFill.Size = UDim2.new(0, 0, 1, 0)
progressFill.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
progressFill.Parent = progressBg
local progressFillCorner = Instance.new("UICorner")
progressFillCorner.CornerRadius = UDim.new(0, 12)
progressFillCorner.Parent = progressFill
-- Progress text
local progressText = Instance.new("TextLabel")
progressText.Size = UDim2.new(1, 0, 1, 0)
progressText.BackgroundTransparency = 1
progressText.Text = "0%"
progressText.TextColor3 = Color3.new(1,1,1)
progressText.Font = Enum.Font.GothamBold
progressText.TextScaled = true
progressText.Parent = progressBg
-- Spawn button
local spawnButton = Instance.new("TextButton")
spawnButton.Size = UDim2.new(0, 180, 0, 42)
spawnButton.Position = UDim2.new(0.5, -90, 1, -50)
spawnButton.BackgroundColor3 = Color3.fromRGB(0, 120, 255)
spawnButton.Text = "Spawn"
spawnButton.TextColor3 = Color3.new(1,1,1)
spawnButton.Font = Enum.Font.GothamBold
spawnButton.TextScaled = true
spawnButton.Parent = mainFrame
local spawnCorner = Instance.new("UICorner")
spawnCorner.CornerRadius = UDim.new(0, 14)
spawnCorner.Parent = spawnButton
local busy = false
spawnButton.MouseButton1Click:Connect(function()
if busy then
return
end
if not selected then
selectedLabel.Text = "Select 1 creature only!"
return
end
busy = true
spawnButton.Text = "Spawning..."
local totalTime = 120 -- 2 minutes
local steps = 100
for i = 1, steps do
local percent = i
progressFill.Size = UDim2.new(percent / 100, 0, 1, 0)
progressText.Text = percent .. "%"
wait(totalTime / steps)
end
progressText.Text = "ERROR 501"
selectedLabel.Text = "Error 501: Spawn service unavailable"
spawnButton.Text = "Spawn"
busy = false
end)
```