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

Lucky Block Battlegrounds Op Script Gui

The document outlines the creation of a GUI for a game called 'Lucky Block Battlegrounds' using Lua scripting. It includes various UI elements such as buttons and labels, along with their properties and functionalities, such as opening and closing the main GUI and triggering events. The GUI is designed to be draggable and interactive, allowing users to spawn different types of blocks in the game.

Uploaded by

Samuel alcala
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)
44 views3 pages

Lucky Block Battlegrounds Op Script Gui

The document outlines the creation of a GUI for a game called 'Lucky Block Battlegrounds' using Lua scripting. It includes various UI elements such as buttons and labels, along with their properties and functionalities, such as opening and closing the main GUI and triggering events. The GUI is designed to be draggable and interactive, allowing users to spawn different types of blocks in the game.

Uploaded by

Samuel alcala
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
You are on page 1/ 3

local LuckyBlock = Instance.

new("ScreenGui")
local MainGui = Instance.new("Frame")
local LuckyBlockBattlegroundsGui = Instance.new("TextLabel")
local Close = Instance.new("TextButton")
local Galaxy = Instance.new("TextButton")
local Glitch= Instance.new("TextButton")
local MakeBy = Instance.new("TextLabel")
local OpenGui = Instance.new("Frame")
local Open = Instance.new("TextButton")
--Properties:
LuckyBlock.Name = "LuckyBlock"
LuckyBlock.Parent = game.CoreGui

MainGui.Active = true
MainGui.Draggable = true

MainGui.Name = "MainGui"
MainGui.Parent = LuckyBlock
MainGui.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
MainGui.BorderColor3 = Color3.new(0.254902, 0.254902, 0.254902)
MainGui.Position = UDim2.new(0.318219304, 0, 0.229447842, 0)
MainGui.Size = UDim2.new(0, 440, 0, 440)
MainGui.Visible = false

LuckyBlockBattlegroundsGui.Name = "Lucky Block Battlegrounds Gui"


LuckyBlockBattlegroundsGui.Parent = MainGui
LuckyBlockBattlegroundsGui.BackgroundColor3 = Color3.new(0, 0, 0)
LuckyBlockBattlegroundsGui.BorderColor3 = Color3.new(0, 0, 0)
LuckyBlockBattlegroundsGui.Size = UDim2.new(0, 440, 0, 50)
LuckyBlockBattlegroundsGui.Text = " Lucky Block Battlegrounds Gui"
LuckyBlockBattlegroundsGui.TextColor3 = Color3.new(1, 1, 1)
LuckyBlockBattlegroundsGui.TextSize = 15
LuckyBlockBattlegroundsGui.TextWrapped = true
LuckyBlockBattlegroundsGui.TextXAlignment = Enum.TextXAlignment.Left

Close.Name = "Close"
Close.Parent = MainGui
Close.BackgroundColor3 = Color3.new(0, 0, 0)
Close.BorderColor3 = Color3.new(0, 0, 0)
Close.Position = UDim2.new(0.861363649, 0, 0, 0)
Close.Size = UDim2.new(0, 61, 0, 50)
Close.Font = Enum.Font.Garamond
Close.Text = "X"
Close.TextColor3 = Color3.new(1, 1, 1)
Close.TextSize = 25
Close.TextWrapped = true
Close.MouseButton1Click:connect(function()
MainGui.Visible = false
OpenGui.Visible = true
end)

Galaxy.Name = "Galaxy"
Galaxy.Parent = MainGui
Galaxy.BackgroundColor3 = Color3.new(1, 1, 1)
Galaxy.Position = UDim2.new(0, 0, 0.618181825, 0)
Galaxy.Size = UDim2.new(0, 200, 0, 50)
Galaxy.Font = Enum.Font.Garamond
Galaxy.Text = "Lucky Block Galaxy"
Galaxy.TextColor3 = Color3.new(0, 0, 0)
Galaxy.TextSize = 25
Galaxy.TextWrapped = true
Galaxy.MouseButton1Click:connect(function()
game.ReplicatedStorage.SpawnGalaxyBlock:FireServer()

print("Working")
end)

Glitch.Name = "Glitch"
Glitch.Parent = MainGui
Glitch.BackgroundColor3 = Color3.new(1, 1, 1)
Glitch.Position = UDim2.new(0.545454562, 0, 0.618181825, 0)
Glitch.Size = UDim2.new(0, 200, 0, 50)
Glitch.Font = Enum.Font.Garamond
Glitch.Text = "Lucky Block Glitch"
Glitch.TextColor3 = Color3.new(0, 0, 0)
Glitch.TextSize = 25
Glitch.TextWrapped = true
Galaxy.MouseButton1Click:connect(function()
game.ReplicatedStorage.SpawnGalaxyBlock:FireServer()

print("Working")
end)

MakeBy.Name = "Make By"


MakeBy.Parent = MainGui
MakeBy.BackgroundColor3 = Color3.new(0, 0, 0)
MakeBy.BorderColor3 = Color3.new(0, 0, 0)
MakeBy.Position = UDim2.new(0, 0, 0.886363626, 0)
MakeBy.Size = UDim2.new(0, 440, 0, 50)
MakeBy.Font = Enum.Font.SourceSans
MakeBy.Text = "Make by Adel_Bartkh"
MakeBy.TextColor3 = Color3.new(1, 1, 1)
MakeBy.TextSize = 20
MakeBy.TextStrokeColor3 = Color3.new(1, 1, 1)

OpenGui.Name = "OpenGui"
OpenGui.Parent = LuckyBlock
OpenGui.Active = true
OpenGui.BackgroundColor3 = Color3.new(0, 0, 0)
OpenGui.BorderColor3 = Color3.new(0, 0, 0)
OpenGui.Position = UDim2.new(0, 0, 0.639263809, 0)
OpenGui.Size = UDim2.new(0, 108, 0, 38)

Open.Name = "Open"
Open.Parent = OpenGui
Open.BackgroundColor3 = Color3.new(0, 0, 0)
Open.BorderColor3 = Color3.new(0, 0, 0)
Open.Position = UDim2.new(0, 0, 0.184210524, 0)
Open.Size = UDim2.new(0, 96, 0, 24)
Open.Font = Enum.Font.SciFi
Open.Text = "Open"
Open.TextColor3 = Color3.new(1, 1, 1)
Open.TextSize = 20
Open.TextStrokeColor3 = Color3.new(1, 1, 1)
Open.MouseButton1Click:connect(function()
MainGui.Visible = true
OpenGui.Visible = false
end)
print("Working")

You might also like