Description
-- BKScripts GUI Template
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "BKScripts"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 260, 0, 350)
Frame.Position = UDim2.new(0.5, -130, 0.5, -175)
Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Frame.Parent = ScreenGui
local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1, 0, 0, 40)
Title.BackgroundTransparency = 1
Title.Text = "BKScripts"
Title.TextScaled = true
Title.TextColor3 = Color3.new(1, 1, 1)
Title.Parent = Frame
local buttons = {
"Teleport",
"Spectate",
"Day",
"Night",
"Settings"
}
for i, name in ipairs(buttons) do
local b = Instance.new("TextButton")
b.Size = UDim2.new(0.9, 0, 0, 40)
b.Position = UDim2.new(0.05, 0, 0, 45 + ((i - 1) * 50))
b.Text = name
b.Parent = Frame
b.MouseButton1Click:Connect(function()
print("Clicked:", name)
-- Add your own game's functionality here.
end)
end


Comments
No comments yet
Be the first to share your thoughts!