Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.37 KB | None | 0 0
  1. local Gui = Instance.new("ScreenGui", game.CoreGui)
  2. Gui.Name = "LumberTycoon2ByFluxx"
  3.  
  4. local Frame = Instance.new("Frame", Gui)
  5. Frame.Name = "Login"
  6. Frame.Size = UDim2.new(0,500,0,250)
  7. Frame.Position = UDim2.new(0.5,-250,0.5,-250)
  8. Frame.BorderColor3 = Color3.new(255,255,255)
  9. Frame.BackgroundColor3 = Color3.new(71,71,71)
  10. Frame.BackgroundTransparency = 0.3
  11. Frame.BorderSizePixel = 2
  12. Frame.Visible = true
  13.  
  14. local Username = Instance.new("TextBox", Frame)
  15. Username.Font = "SourceSansBold"
  16. Username.FontSize = "Size28"
  17. Username.Text = "Username"
  18. Username.TextWrapped = false
  19. Username.BackgroundTransparency = 0
  20. Username.Size = UDim2.new(0,200,0,50)
  21. Frame.Position = UDim2.new(0.5,-250,0.2,0)
  22.  
  23. local Confirm = Instance.new("TextButton", Frame)
  24. Confirm.Text = "Confirm"
  25. Confirm.BackgroundColor3 = Color3.new(0,194,0)
  26. Confirm.TextColor3 = Color3.new(255,255,255)
  27. Confirm.Size = UDim2.new(0,200,0,50)
  28. Confirm.Position = UDim2.new(0.5,-125,0.75,0)
  29. Confirm.Font = "SourceSansBold"
  30. Confirm.FontSize = "Size28"
  31.  
  32. local Password = Instance.new("TextBox", Frame)
  33. Password.Font = "SourceSansBold"
  34. Password.FontSize = "Size28"
  35. Password.Text = "Password"
  36. Password.TextWrapped = false
  37. Password.BackgroundTransparency = 0
  38. Password.Size = UDim2.new(0,200,0,50)
  39. Password.Position = UDim2.new(0.5,-250,0.45,0)
  40.  
  41. local loginwhitelist = {
  42. ihanks = "fazegui",
  43. xxbestnice_guy = "test123",
  44. like_clockwork = "scapter1623"
  45. }
  46.  
  47. function Confirm.MouseButton1Down:connect(function(click)
  48. for username,password in pairs(loginwhitelist) do
  49. if Username.Text == Username and script.Password.Text == Password and game.Players.LocalPlayer.Name == Username then
  50. Visible = false
  51. --Errors:
  52. System = {}
  53.  
  54. System.Create = function(a, c)
  55. local e = Instance.new(a)
  56. for d, a in pairs(c) do
  57. local b, a = ypcall(function()
  58. return e[d]
  59. end)
  60. if b then
  61. e[d] = c[d]
  62. end
  63. end
  64. return e
  65. end
  66. function b(d, b)
  67. local c = getfenv(d)
  68. local a = setmetatable({}, {
  69. __index = function(a, a)
  70. if a:lower() == 'script' then
  71. return b
  72. else
  73. return c[a]
  74. end
  75. end
  76. })
  77. setfenv(d, a)
  78. ypcall(function()
  79. d()
  80. end)
  81. end
  82. c = {}
  83.  
  84. o1 = System.Create("ScreenGui",{
  85. ["Parent"] = game.Players.LocalPlayer.PlayerGui,
  86. })
  87. o2 = System.Create("Frame",{
  88. ["Parent"] = o1,
  89. ["Transparency"] = 0.5,
  90. ["Position"] = UDim2.new(0,0,0.44999998807907,0),
  91. ["Size"] = UDim2.new(0.20000000298023,0,0.10000000149012,0),
  92. ["BackgroundColor3"] = Color3.new(0, 0, 0),
  93. ["BackgroundTransparency"] = 0.5,
  94. })
  95. o3 = System.Create("TextButton",{
  96. ["Name"] = "Tele",
  97. ["Parent"] = o2,
  98. ["Transparency"] = 0.5,
  99. ["Position"] = UDim2.new(0.10000000149012,0,0,0),
  100. ["Size"] = UDim2.new(0.80000001192093,0,0.30000001192093,0),
  101. ["Text"] = "Teleport",
  102. ["BackgroundColor3"] = Color3.new(0, 0, 0),
  103. ["BackgroundTransparency"] = 0.5,
  104. ["Font"] = Enum.Font.SourceSans,
  105. ["FontSize"] = Enum.FontSize.Size14,
  106. ["TextColor3"] = Color3.new(1, 1, 1),
  107. })
  108. o5 = System.Create("TextBox",{
  109. ["Name"] = "Place",
  110. ["Parent"] = o2,
  111. ["Transparency"] = 0.5,
  112. ["Position"] = UDim2.new(0.20000000298023,0,0.30000001192093,0),
  113. ["Size"] = UDim2.new(0.60000002384186,0,0.30000001192093,0),
  114. ["Text"] = "Spawn",
  115. ["BackgroundColor3"] = Color3.new(0, 0, 0),
  116. ["BackgroundTransparency"] = 0.5,
  117. ["Font"] = Enum.Font.SourceSans,
  118. ["FontSize"] = Enum.FontSize.Size14,
  119. ["TextColor3"] = Color3.new(1, 1, 1),
  120. })
  121. o6 = System.Create("TextButton",{
  122. ["Name"] = "Teleport Wood",
  123. ["Parent"] = o2,
  124. ["Transparency"] = 0.5,
  125. ["Position"] = UDim2.new(0.10000000149012,0,0.60000002384186,0),
  126. ["Size"] = UDim2.new(0.80000001192093,0,0.40000000596046,0),
  127. ["Text"] = "Teleport Wood",
  128. ["BackgroundColor3"] = Color3.new(0, 0, 0),
  129. ["BackgroundTransparency"] = 0.5,
  130. ["Font"] = Enum.Font.SourceSans,
  131. ["FontSize"] = Enum.FontSize.Size14,
  132. ["TextColor3"] = Color3.new(1, 1, 1),
  133. })
  134.  
  135.  
  136. player = game.Players.LocalPlayer
  137.  
  138. function Teleport(pos)
  139. service.Players.LocalPlayer.Character:MoveTo(pos)
  140. end
  141.  
  142. local WayPoints = {
  143. ["Spawn"] = Vector3.new(155, 3, 74),
  144. ["Wood R Us"] = Vector3.new(265, 3, 57),
  145. ["Land Store"] = Vector3.new(258, 3, -99),
  146. ["Dock"] = Vector3.new(1114, -1, -197),
  147. ["Link's Logic"] = Vector3.new(4605, 3, -727),
  148. ["Cave"] = Vector3.new(3581, -179, 430),
  149. ["Volcano"] = Vector3.new(-1585, 622, 1140),
  150. ["Swamp"] = Vector3.new(-1209, 132, -801),
  151. ["Palm Island"] = Vector3.new(2549, -5, -42),
  152. ["Fancy Furnishings"] = Vector3.new(491, 3, -1720),
  153. ["Boxed Cars"] = Vector3.new(509, 3, -1463),
  154. ["Fine Arts Shop"] = Vector3.new(5207, -166, 719),
  155. ["Bob's Shack"] = Vector3.new(260, 8, -2542),
  156. ["Bridge"] = Vector3.new(113, 11, -977),
  157. ["End Times"] = Vector3.new(113, -214, -951),
  158. ["Shrine of Sight"] = Vector3.new(-1600, 195, 919),
  159. ["The Den"] = Vector3.new(323, 41, 1930),
  160. }
  161.  
  162. player.PlayerGui.ScreenGui.Frame.Tele.MouseButton1Down:connect(function()
  163. print(WayPoints[player.PlayerGui.ScreenGui.Frame.Place.Text])
  164. player.Character:MoveTo(WayPoints[player.PlayerGui.ScreenGui.Frame.Place.Text])
  165. end)
  166.  
  167. player.PlayerGui.ScreenGui.Frame["Teleport Wood"].MouseButton1Down:connect(function()
  168. for _, Log in pairs(game.Workspace.LogModels:GetChildren()) do
  169. if Log.Name:sub(1, 6) == "Loose_" and Log:findFirstChild("Owner") then
  170. if Log.Owner.Value == game.Players.LocalPlayer then
  171. Log:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0, 20, 0))
  172. end
  173. end
  174. end
  175. end)
  176. else
  177. wait(0.5)
  178. script.Parent.Confirm.Text = "Maybe."
  179. wait(3)
  180. script.Parent.Confirm.Text = "Login."
  181. end
  182. end
  183. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement