Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Open = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local _2 = Instance.new("TextButton")
- local _3 = Instance.new("TextButton")
- ScreenGui.Parent = game.Workspace
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Open.Name = "Open"
- Open.Parent = ScreenGui
- Open.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
- Open.BorderSizePixel = 0
- Open.Position = UDim2.new(0.433451116, 0, 0, 0)
- Open.Size = UDim2.new(0, 112, 0, 58)
- TextButton.Parent = Open
- TextButton.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.0535714291, 0, 0.120689653, 0)
- TextButton.Size = UDim2.new(0, 100, 0, 44)
- TextButton.Font = Enum.Font.Cartoon
- TextButton.Text = "Open"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 0.0588235, 0.984314)
- Frame.BackgroundTransparency = 0.40000000596046
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.363957584, 0, 0.284860551, 0)
- Frame.Size = UDim2.new(0, 235, 0, 160)
- Frame.Visible = false
- _2.Name = "2"
- _2.Parent = Frame
- _2.BackgroundColor3 = Color3.new(1, 1, 1)
- _2.BackgroundTransparency = 0.30000001192093
- _2.BorderSizePixel = 0
- _2.Position = UDim2.new(0.0723404288, 0, 0.150000006, 0)
- _2.Size = UDim2.new(0, 200, 0, 113)
- _2.Font = Enum.Font.Cartoon
- _2.Text = "Farm"
- _2.TextColor3 = Color3.new(0, 0, 0)
- _2.TextSize = 90
- _3.Name = "3"
- _3.Parent = Frame
- _3.BackgroundColor3 = Color3.new(1, 1, 1)
- _3.BackgroundTransparency = 1
- _3.BorderSizePixel = 0
- _3.Position = UDim2.new(0.842553198, 0, 0, 0)
- _3.Size = UDim2.new(0, 36, 0, 24)
- _3.Font = Enum.Font.Cartoon
- _3.Text = "X"
- _3.TextColor3 = Color3.new(0, 0, 0)
- _3.TextSize = 60
- _3.MouseButton1Down:connect(function()
- Frame.Visible = false
- Open.Visible = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement