Upscalefanatic3

DGUI for Lumber Tycoon 2

Feb 5th, 2019
337
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local ActDeactButton = Instance.new("TextButton")
  6. local Creds = Instance.new("TextLabel")
  7. local StatusText = Instance.new("TextLabel")
  8. local Status = Instance.new("TextLabel")
  9. local Creds2 = Instance.new("TextLabel")
  10. local Booklet = Instance.new("TextButton")
  11. local BookletFrame = Instance.new("Frame")
  12. local TopLabel = Instance.new("TextLabel")
  13. local AllTheText = Instance.new("TextLabel")
  14.  
  15. -- Properties
  16.  
  17. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  18.  
  19. Frame.Parent = ScreenGui
  20. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  21. Frame.BorderSizePixel = 0
  22. Frame.Position = UDim2.new(0, 0, 0.5, -104)
  23. Frame.Size = UDim2.new(0, 409, 0, 223)
  24.  
  25.  
  26.  
  27.  
  28. ActDeactButton.Name = "ActDeactButton"
  29. ActDeactButton.Parent = Frame
  30. ActDeactButton.BackgroundColor3 = Color3.new(0.219608, 0.701961, 1)
  31. ActDeactButton.BorderSizePixel = 0
  32. ActDeactButton.Position = UDim2.new(0.0476772636, 0, 0.355855465, 0)
  33. ActDeactButton.Size = UDim2.new(0, 370, 0, 50)
  34. ActDeactButton.Font = Enum.Font.SourceSansLight
  35. ActDeactButton.FontSize = Enum.FontSize.Size36
  36. ActDeactButton.Text = "Activate/De-activate"
  37. ActDeactButton.TextColor3 = Color3.new(1, 1, 1)
  38. ActDeactButton.TextSize = 35
  39. ActDeactButton.TextWrapped = true
  40.  
  41. Creds.Name = "Creds"
  42. Creds.Parent = Frame
  43. Creds.BackgroundColor3 = Color3.new(1, 1, 1)
  44. Creds.BackgroundTransparency = 1
  45. Creds.Position = UDim2.new(0.0342298299, 0, 0.609326482, 0)
  46. Creds.Size = UDim2.new(0, 370, 0, 50)
  47. Creds.Font = Enum.Font.SourceSansLight
  48. Creds.FontSize = Enum.FontSize.Size14
  49. Creds.Text = "Gui by: Hoofer/HowToBasic666"
  50. Creds.TextScaled = true
  51. Creds.TextSize = 14
  52. Creds.TextWrapped = true
  53.  
  54. StatusText.Name = "StatusText"
  55. StatusText.Parent = Frame
  56. StatusText.BackgroundColor3 = Color3.new(1, 1, 1)
  57. StatusText.BackgroundTransparency = 1
  58. StatusText.Position = UDim2.new(0, 0, 0.105769232, 0)
  59. StatusText.Size = UDim2.new(0, 204, 0, 50)
  60. StatusText.Font = Enum.Font.SourceSansLight
  61. StatusText.FontSize = Enum.FontSize.Size14
  62. StatusText.Text = "Status:"
  63. StatusText.TextScaled = true
  64. StatusText.TextSize = 14
  65. StatusText.TextWrapped = true
  66. StatusText.TextXAlignment = Enum.TextXAlignment.Right
  67.  
  68. Status.Name = "Status"
  69. Status.Parent = Frame
  70. Status.BackgroundColor3 = Color3.new(1, 1, 1)
  71. Status.BackgroundTransparency = 1
  72. Status.Position = UDim2.new(0.518337429, 0, 0.105769232, 0)
  73. Status.Size = UDim2.new(0, 197, 0, 50)
  74. Status.Font = Enum.Font.SourceSansLight
  75. Status.FontSize = Enum.FontSize.Size14
  76. Status.Text = "Disabled"
  77. Status.TextColor3 = Color3.new(0.8, 0.156863, 0.0313726)
  78. Status.TextScaled = true
  79. Status.TextSize = 14
  80. Status.TextWrapped = true
  81. Status.TextXAlignment = Enum.TextXAlignment.Left
  82.  
  83. Creds2.Name = "Creds2"
  84. Creds2.Parent = Frame
  85. Creds2.BackgroundColor3 = Color3.new(1, 1, 1)
  86. Creds2.BackgroundTransparency = 1
  87. Creds2.Position = UDim2.new(0.0342298299, 0, 0.775332034, 0)
  88. Creds2.Size = UDim2.new(0, 370, 0, 50)
  89. Creds2.Font = Enum.Font.SourceSansLight
  90. Creds2.FontSize = Enum.FontSize.Size14
  91. Creds2.Text = "Usage Booklet by: goldenaxelord"
  92. Creds2.TextScaled = true
  93. Creds2.TextSize = 14
  94. Creds2.TextWrapped = true
  95.  
  96. Booklet.Name = "Booklet"
  97. Booklet.Parent = Frame
  98. Booklet.BackgroundColor3 = Color3.new(0.219608, 0.701961, 1)
  99. Booklet.BorderSizePixel = 0
  100. Booklet.Position = UDim2.new(0, 0, 1, 0)
  101. Booklet.Size = UDim2.new(0, 409, 0, 50)
  102. Booklet.Font = Enum.Font.SourceSans
  103. Booklet.FontSize = Enum.FontSize.Size14
  104. Booklet.Text = "HOW TO USE"
  105. Booklet.TextColor3 = Color3.new(1, 1, 1)
  106. Booklet.TextScaled = true
  107. Booklet.TextSize = 14
  108. Booklet.TextWrapped = true
  109.  
  110. BookletFrame.Name = "BookletFrame"
  111. BookletFrame.Parent = ScreenGui
  112. BookletFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  113. BookletFrame.BorderSizePixel = 0
  114. BookletFrame.Position = UDim2.new(0.341376871, 0, 0.119496852, 0)
  115. BookletFrame.Size = UDim2.new(0.356990784, 0, 0.783018887, 0)
  116.  
  117. TopLabel.Name = "TopLabel"
  118. TopLabel.Parent = BookletFrame
  119. TopLabel.BackgroundColor3 = Color3.new(0.219608, 0.701961, 1)
  120. TopLabel.BorderSizePixel = 0
  121. TopLabel.Size = UDim2.new(1, 0, 0.100000001, 0)
  122. TopLabel.Font = Enum.Font.SourceSans
  123. TopLabel.FontSize = Enum.FontSize.Size14
  124. TopLabel.Text = "Usage"
  125. TopLabel.TextColor3 = Color3.new(1, 1, 1)
  126. TopLabel.TextScaled = true
  127. TopLabel.TextSize = 14
  128. TopLabel.TextWrapped = true
  129.  
  130. AllTheText.Name = "AllTheText"
  131. AllTheText.Parent = BookletFrame
  132. AllTheText.BackgroundColor3 = Color3.new(1, 1, 1)
  133. AllTheText.BackgroundTransparency = 1
  134. AllTheText.Position = UDim2.new(0.0258449297, 0, 0.102409638, 0)
  135. AllTheText.Size = UDim2.new(0.974155068, 0, 0.897590339, 0)
  136. AllTheText.Font = Enum.Font.SourceSans
  137. AllTheText.FontSize = Enum.FontSize.Size24
  138. AllTheText.Text = "Step 1 : Load all items you want to dupe on a alt or someone else base, Step 2 : Tell him/her or you to unload their base. MAKE SURE WHEN UNLOADING THERE IS NO LOADED SLOT! Step 3 : Activate the GUI with the Activate Button. Step 4: Load base, Make sure no base shows up loaded. Step 5 : Whitelist you're friend and tell them to take everything to their base and reload Step 6: Load you're Base again Step 7 : Keep on Duping!"
  139. AllTheText.TextColor3 = Color3.new(0, 0, 0)
  140. AllTheText.TextScaled = true
  141. AllTheText.TextSize = 20
  142. AllTheText.TextWrapped = true
  143. AllTheText.TextXAlignment = Enum.TextXAlignment.Left
  144. AllTheText.TextYAlignment = Enum.TextYAlignment.Top
  145.  
  146. local bookletbutton = Booklet
  147. local bookletFrame = BookletFrame
  148. local openedBook = true
  149.  
  150. bookletbutton.MouseButton1Click:connect(function(openBooklet)
  151. if openedBook == false then
  152. bookletFrame.Visible = true
  153. openedBook = true
  154. elseif openedBook == true then
  155. bookletFrame.Visible = false
  156. openedBook = false
  157. end
  158. end)
  159.  
  160. local opened = false
  161. local enabled = false
  162. ActDeactButton.MouseButton1Click:connect(function()
  163. if enabled == false then
  164. a = game.Players.LocalPlayer.CurrentSaveSlot
  165. a.RobloxLocked = true
  166. a.Set.RobloxLocked = true
  167. enabled = true
  168. Status.Text = "Enabled"
  169. Status.TextColor3 = Color3.new(0.203922, 0.866667, 0.356863)
  170. else
  171. a = game.Players.LocalPlayer.CurrentSaveSlot
  172. a.RobloxLocked = false
  173. a.Set.RobloxLocked = false
  174. enabled = false
  175. Status.Text = "Disabled"
  176. Status.TextColor3 = Color3.new(0.8, 0.156863, 0.0313726)
  177. end
  178. end)
RAW Paste Data