0% found this document useful (0 votes)
37 views3 pages

Zero Spawner GUI for Roblox Game

The document is a Lua script that creates a user interface for a game called 'Zero Spawner' in Roblox. It includes functionalities to spawn pets, seeds, and eggs, with options for user input through text boxes and buttons. The interface is designed to be draggable and visually appealing with various UI elements such as frames, labels, and buttons.

Uploaded by

sr2521233
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views3 pages

Zero Spawner GUI for Roblox Game

The document is a Lua script that creates a user interface for a game called 'Zero Spawner' in Roblox. It includes functionalities to spawn pets, seeds, and eggs, with options for user input through text boxes and buttons. The interface is designed to be draggable and visually appealing with various UI elements such as frames, labels, and buttons.

Uploaded by

sr2521233
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local Spawner =

loadstring(game:HttpGet("[Link]
()

local gui = [Link]("ScreenGui")


[Link] = "ZeroSpawner"
[Link] = game:GetService("CoreGui")

local main = [Link]("Frame")


[Link] = gui
[Link] = [Link](0,290,0,250)
[Link] = [Link](0.5,-145,0.55,-125)
main.BackgroundColor3 = [Link](15,20,30)
[Link] = 0
[Link] = true
[Link] = true
[Link]("UICorner",main).CornerRadius = [Link](0,16)

local shadow = [Link]("Frame")


[Link] = main
[Link] = [Link](1,10,1,10)
[Link] = [Link](0,-5,0,-5)
shadow.BackgroundColor3 = [Link](0,0,0)
[Link] = 0.45
[Link] = 0
[Link] = 0
[Link]("UICorner",shadow).CornerRadius = [Link](0,18)

[Link] = 1

local stroke = [Link]("UIStroke",main)


[Link] = [Link](90,160,255)
[Link] = 0.25

local title = [Link]("TextLabel")


[Link] = main
[Link] = [Link](1,-40,0,32)
[Link] = [Link](0,10,0,4)
[Link] = 1
[Link] = "Zero Spawner"
[Link] = [Link]
[Link] = 20
title.TextColor3 = [Link](120,180,255)
[Link] = [Link]

local subtitle = [Link]("TextLabel")


[Link] = main
[Link] = [Link](0,10,0,28)
[Link] = [Link](1,-40,0,16)
[Link] = 1
[Link] = "Made By Zero"
[Link] = [Link]
[Link] = 12
subtitle.TextColor3 = [Link](170,170,170)
[Link] = [Link]

local toggle = [Link]("TextButton")


[Link] = main
[Link] = [Link](0,28,0,28)
[Link] = [Link](1,-34,0,6)
[Link] = "Z"
[Link] = [Link]
[Link] = 14
toggle.TextColor3 = [Link](1,1,1)
toggle.BackgroundColor3 = [Link](50,110,220)
[Link] = 0
[Link]("UICorner",toggle).CornerRadius = [Link](1,0)

local side = [Link]("Frame")


[Link] = main
[Link] = [Link](0,8,0,50)
[Link] = [Link](0,70,1,-58)
side.BackgroundColor3 = [Link](20,30,50)
[Link] = 0
[Link]("UICorner",side).CornerRadius = [Link](0,12)

local content = [Link]("Frame")


[Link] = main
[Link] = [Link](0,86,0,50)
[Link] = [Link](1,-94,1,-58)
[Link] = 1

local pages = {}

local function createPage(name)


local f = [Link]("Frame")
[Link] = content
[Link] = [Link](1,0,1,0)
[Link] = 1
[Link] = false
pages[name] = f
return f
end

local function createTab(text,y,page)


local b = [Link]("TextButton")
[Link] = side
[Link] = [Link](0,6,0,y)
[Link] = [Link](1,-12,0,30)
[Link] = text
[Link] = [Link]
[Link] = 13
b.TextColor3 = [Link](1,1,1)
b.BackgroundColor3 = [Link](40,90,180)
[Link] = 0
[Link]("UICorner",b).CornerRadius = [Link](0,10)
b.MouseButton1Click:Connect(function()
for _,v in pairs(pages) do [Link] = false end
pages[page].Visible = true
end)
end

local function box(parent,y,placeholder)


local b = [Link]("TextBox")
[Link] = parent
[Link] = [Link](0,8,0,y)
[Link] = [Link](1,-16,0,30)
[Link] = placeholder
[Link] = false
[Link] = ""
[Link] = [Link]
[Link] = 13
b.TextColor3 = [Link](1,1,1)
b.BackgroundColor3 = [Link](25,35,55)
[Link] = 0
[Link]("UICorner",b).CornerRadius = [Link](0,8)
return b
end

local function btn(parent,y,text)


local b = [Link]("TextButton")
[Link] = parent
[Link] = [Link](0,8,0,y)
[Link] = [Link](1,-16,0,30)
[Link] = text
[Link] = [Link]
[Link] = 13
b.TextColor3 = [Link](1,1,1)
b.BackgroundColor3 = [Link](50,110,220)
[Link] = 0
[Link]("UICorner",b).CornerRadius = [Link](0,8)
return b
end

local pets = createPage("Pets")


local seeds = createPage("Seeds")
local eggs = createPage("Eggs")
[Link] = true

createTab("Pets",8,"Pets")
createTab("Seeds",46,"Seeds")
createTab("Eggs",84,"Eggs")

local petName = box(pets,6,"Pet Name")


local petKg = box(pets,40,"KG")
local petAge = box(pets,74,"Age")
btn(pets,108,"Spawn Pet").MouseButton1Click:Connect(function()
[Link]([Link],tonumber([Link]) or 1,tonumber([Link])
or 1)
end)

local seedName = box(seeds,6,"Seed Name")


btn(seeds,40,"Spawn Seed").MouseButton1Click:Connect(function()
[Link]([Link])
end)
btn(seeds,74,"Spin Seed").MouseButton1Click:Connect(function()
[Link]([Link])
end)

local eggName = box(eggs,6,"Egg Name")


btn(eggs,40,"Spawn Egg").MouseButton1Click:Connect(function()
[Link]([Link])
end)

toggle.MouseButton1Click:Connect(function()
[Link] = not [Link]
end)

You might also like