Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local DogeScreenGui = Instance.new("ScreenGui")
- local DogeFrame = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- local InfiniteYield = Instance.new("TextButton")
- -- Properties
- DogeScreenGui.Name = "DogeScreenGui"
- DogeScreenGui.Parent = game.CoreGui
- DogeFrame.Name = "DogeFrame"
- DogeFrame.Parent = DogeScreenGui
- DogeFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- DogeFrame.Visible = false
- DogeFrame.BorderSizePixel = 0
- DogeFrame.Position = UDim2.new(0, 0, 0.0478087664, 0)
- DogeFrame.Size = UDim2.new(0, 362, 0, 345)
- Open.Name = "Open"
- Open.Parent = DogeScreenGui
- Open.BackgroundColor3 = Color3.new(1, 1, 1)
- Open.BorderSizePixel = 0
- Open.Position = UDim2.new(0, 0, 0.788844645, 0)
- Open.Size = UDim2.new(0, 126, 0, 50)
- Open.Font = Enum.Font.SourceSans
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(0, 0, 0)
- Open.TextSize = 40
- Close.Name = "Close"
- Close.Parent = DogeScreenGui
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0, 0, 0.788844645, 0)
- Close.Visible = false
- Close.Size = UDim2.new(0, 126, 0, 50)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "Close"
- Close.TextColor3 = Color3.new(0, 0, 0)
- Close.TextSize = 40
- Close.TextWrapped = true
- InfiniteYield.Name = "Infinite Yield"
- InfiniteYield.Parent = DogeFrame
- InfiniteYield.BackgroundColor3 = Color3.new(1, 1, 1)
- InfiniteYield.BorderSizePixel = 4
- InfiniteYield.Position = UDim2.new(0.0469613262, 0, 0.211594209, 0)
- InfiniteYield.Size = UDim2.new(0, 99, 0, 50)
- InfiniteYield.Font = Enum.Font.SourceSans
- InfiniteYield.Text = "Infinite Yield"
- InfiniteYield.TextColor3 = Color3.new(0, 0, 0)
- InfiniteYield.TextSize = 21
- InfiniteYield.TextWrapped = true
- Open.MouseButton1Down:connect(function()
- DogeFrame.Visible = true
- Open.Visible = false
- Close.Visible = true
- end)
- Close.MouseButton1Down:connect(function()
- DogeFrame.Visible = false
- Open.Visible = true
- Close.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement