Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Open = Instance.new("Frame")
  3. local TextButton = Instance.new("TextButton")
  4. local Frame = Instance.new("Frame")
  5. local _2 = Instance.new("TextButton")
  6. local _3 = Instance.new("TextButton")
  7.  
  8. ScreenGui.Parent = game.Workspace
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10.  
  11. Open.Name = "Open"
  12. Open.Parent = ScreenGui
  13. Open.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  14. Open.BorderSizePixel = 0
  15. Open.Position = UDim2.new(0.433451116, 0, 0, 0)
  16. Open.Size = UDim2.new(0, 112, 0, 58)
  17.  
  18. TextButton.Parent = Open
  19. TextButton.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  20. TextButton.BorderSizePixel = 0
  21. TextButton.Position = UDim2.new(0.0535714291, 0, 0.120689653, 0)
  22. TextButton.Size = UDim2.new(0, 100, 0, 44)
  23. TextButton.Font = Enum.Font.Cartoon
  24. TextButton.Text = "Open"
  25. TextButton.TextColor3 = Color3.new(0, 0, 0)
  26. TextButton.TextScaled = true
  27. TextButton.TextSize = 14
  28. TextButton.TextWrapped = true
  29.  
  30. Frame.Parent = ScreenGui
  31. Frame.BackgroundColor3 = Color3.new(1, 0.0588235, 0.984314)
  32. Frame.BackgroundTransparency = 0.40000000596046
  33. Frame.BorderSizePixel = 0
  34. Frame.Position = UDim2.new(0.363957584, 0, 0.284860551, 0)
  35. Frame.Size = UDim2.new(0, 235, 0, 160)
  36. Frame.Visible = false
  37.  
  38. _2.Name = "2"
  39. _2.Parent = Frame
  40. _2.BackgroundColor3 = Color3.new(1, 1, 1)
  41. _2.BackgroundTransparency = 0.30000001192093
  42. _2.BorderSizePixel = 0
  43. _2.Position = UDim2.new(0.0723404288, 0, 0.150000006, 0)
  44. _2.Size = UDim2.new(0, 200, 0, 113)
  45. _2.Font = Enum.Font.Cartoon
  46. _2.Text = "Farm"
  47. _2.TextColor3 = Color3.new(0, 0, 0)
  48. _2.TextSize = 90
  49.  
  50. _3.Name = "3"
  51. _3.Parent = Frame
  52. _3.BackgroundColor3 = Color3.new(1, 1, 1)
  53. _3.BackgroundTransparency = 1
  54. _3.BorderSizePixel = 0
  55. _3.Position = UDim2.new(0.842553198, 0, 0, 0)
  56. _3.Size = UDim2.new(0, 36, 0, 24)
  57. _3.Font = Enum.Font.Cartoon
  58. _3.Text = "X"
  59. _3.TextColor3 = Color3.new(0, 0, 0)
  60. _3.TextSize = 60
  61. _3.MouseButton1Down:connect(function()
  62. Frame.Visible = false
  63. Open.Visible = true
  64. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement