Advertisement
Serbanintaiul

Treelands Tycoon GUI

Jul 19th, 2019
563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.29 KB | None | 0 0
  1. --[[
  2.  
  3.  
  4.   _____  _____       _ _____  
  5.  |_   _|/ ____|     (_)  __ \
  6.    | | | (___   __ _ _| |  | |
  7.    | |  \___ \ / _` | | |  | |
  8.   _| |_ ____) | (_| | | |__| |
  9.  |_____|_____/ \__,_|_|_____/
  10.                              
  11.                              
  12.  
  13.  
  14.  
  15. GUI made by ISaiD, the scripts are not mine
  16.  
  17. Original thread of the scripts:
  18. https://v3rmillion.net/showthread.php?tid=277507
  19.  
  20.  
  21.  
  22. ]]--
  23.  
  24.  
  25.  
  26. -- Instances:
  27. local TreelandsGUI = Instance.new("ScreenGui")
  28. local OpenFRM = Instance.new("Frame")
  29. local OpenBTN = Instance.new("TextButton")
  30. local MainFRM = Instance.new("Frame")
  31. local TitleLBL = Instance.new("TextLabel")
  32. local AuthorLBL = Instance.new("TextLabel")
  33. local CloseBTN = Instance.new("TextButton")
  34. local ApplesPBTN = Instance.new("TextButton")
  35. local UnlimitedABTN = Instance.new("TextButton")
  36. --Properties:
  37. TreelandsGUI.Name = "TreelandsGUI"
  38. TreelandsGUI.Parent = game.CoreGui
  39.  
  40. MainFRM.Visible = false
  41. OpenFRM.Visible = true
  42.  
  43. OpenFRM.Name = "OpenFRM"
  44. OpenFRM.Parent = TreelandsGUI
  45. OpenFRM.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  46. OpenFRM.Position = UDim2.new(0, 0, 0.718673229, 0)
  47. OpenFRM.Size = UDim2.new(0, 100, 0, 18)
  48.  
  49. OpenBTN.Name = "OpenBTN"
  50. OpenBTN.Parent = OpenFRM
  51. OpenBTN.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  52. OpenBTN.BorderSizePixel = 0
  53. OpenBTN.Size = UDim2.new(0, 100, 0, 18)
  54. OpenBTN.Font = Enum.Font.SourceSans
  55. OpenBTN.Text = "Open"
  56. OpenBTN.TextColor3 = Color3.new(1, 1, 1)
  57. OpenBTN.TextSize = 14
  58.  
  59. MainFRM.Name = "MainFRM"
  60. MainFRM.Parent = TreelandsGUI
  61. MainFRM.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  62. MainFRM.Position = UDim2.new(0.217492267, 0, 0.255528241, 0)
  63. MainFRM.Size = UDim2.new(0, 477, 0, 321)
  64. MainFRM.Active = true
  65. MainFRM.Draggable = true
  66.  
  67. TitleLBL.Name = "TitleLBL"
  68. TitleLBL.Parent = MainFRM
  69. TitleLBL.BackgroundColor3 = Color3.new(0, 0, 0)
  70. TitleLBL.BorderSizePixel = 0
  71. TitleLBL.Position = UDim2.new(-0.0125786159, 0, -0.0218068529, 0)
  72. TitleLBL.Size = UDim2.new(0, 491, 0, 21)
  73. TitleLBL.Font = Enum.Font.SciFi
  74. TitleLBL.Text = "Treelands GUI"
  75. TitleLBL.TextColor3 = Color3.new(1, 1, 1)
  76. TitleLBL.TextSize = 14
  77.  
  78. AuthorLBL.Name = "AuthorLBL"
  79. AuthorLBL.Parent = MainFRM
  80. AuthorLBL.BackgroundColor3 = Color3.new(0, 0, 0)
  81. AuthorLBL.BorderSizePixel = 0
  82. AuthorLBL.Position = UDim2.new(-0.0146750519, 0, 0.962616801, 0)
  83. AuthorLBL.Size = UDim2.new(0, 491, 0, 21)
  84. AuthorLBL.Font = Enum.Font.SciFi
  85. AuthorLBL.Text = "GUI by ISaiD | V3rmillion - ISaiD | Discord - Jupanu'#2430"
  86. AuthorLBL.TextColor3 = Color3.new(1, 1, 1)
  87. AuthorLBL.TextSize = 14
  88.  
  89. CloseBTN.Name = "CloseBTN"
  90. CloseBTN.Parent = MainFRM
  91. CloseBTN.BackgroundColor3 = Color3.new(1, 1, 1)
  92. CloseBTN.BackgroundTransparency = 1
  93. CloseBTN.BorderSizePixel = 0
  94. CloseBTN.Position = UDim2.new(0.958071291, 0, -0.0218068529, 0)
  95. CloseBTN.Size = UDim2.new(0, 27, 0, 21)
  96. CloseBTN.Font = Enum.Font.SourceSans
  97. CloseBTN.Text = "X"
  98. CloseBTN.TextColor3 = Color3.new(1, 1, 1)
  99. CloseBTN.TextSize = 25
  100.  
  101. ApplesPBTN.Name = "ApplesPBTN"
  102. ApplesPBTN.Parent = MainFRM
  103. ApplesPBTN.BackgroundColor3 = Color3.new(0, 0, 0)
  104. ApplesPBTN.Position = UDim2.new(0.0607966445, 0, 0.115264796, 0)
  105. ApplesPBTN.Size = UDim2.new(0, 421, 0, 97)
  106. ApplesPBTN.Font = Enum.Font.SciFi
  107. ApplesPBTN.Text = "Apples to Purple Crystals"
  108. ApplesPBTN.TextColor3 = Color3.new(1, 1, 1)
  109. ApplesPBTN.TextSize = 30
  110.  
  111. UnlimitedABTN.Name = "UnlimitedABTN"
  112. UnlimitedABTN.Parent = MainFRM
  113. UnlimitedABTN.BackgroundColor3 = Color3.new(0, 0, 0)
  114. UnlimitedABTN.Position = UDim2.new(0.0607966445, 0, 0.54517132, 0)
  115. UnlimitedABTN.Size = UDim2.new(0, 421, 0, 97)
  116. UnlimitedABTN.Font = Enum.Font.SciFi
  117. UnlimitedABTN.Text = "Unlimited Apples"
  118. UnlimitedABTN.TextColor3 = Color3.new(1, 1, 1)
  119. UnlimitedABTN.TextSize = 30
  120.  
  121.  
  122. --Scripts:
  123.  
  124. OpenBTN.MouseButton1Down:connect(function()
  125.     MainFRM.Visible = true
  126.     OpenFRM.Visible = false
  127. end)
  128. CloseBTN.MouseButton1Down:connect(function()
  129.     MainFRM.Visible = false
  130.     OpenFRM.Visible = true
  131. end)
  132. ApplesPBTN.MouseButton1Down:connect(function()
  133.     local desiredFruit = "Purple Crystal"
  134.     for i, v in pairs(game.Workspace.Fruits:GetChildren()) do
  135.     v.Tooltip.Value = desiredFruit
  136.     v.Name = desiredFruit
  137.     v:Clone().Parent = game.Workspace.Fruits
  138. end)
  139. UnlimitedABTN.MouseButton1Down:connect(function ()
  140.     local xd = game.Workspace.Fruits
  141.     xd.Apple.CombinedValue.Value = 10000000
  142. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement