Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Gui = Instance.new("ScreenGui", game.CoreGui)
- Gui.Name = "LumberTycoon2ByFluxx"
- local Frame = Instance.new("Frame", Gui)
- Frame.Name = "Login"
- Frame.Size = UDim2.new(0,500,0,250)
- Frame.Position = UDim2.new(0.5,-250,0.5,-250)
- Frame.BorderColor3 = Color3.new(255,255,255)
- Frame.BackgroundColor3 = Color3.new(71,71,71)
- Frame.BackgroundTransparency = 0.3
- Frame.BorderSizePixel = 2
- Frame.Visible = true
- local Username = Instance.new("TextBox", Frame)
- Username.Font = "SourceSansBold"
- Username.FontSize = "Size28"
- Username.Text = "Username"
- Username.TextWrapped = false
- Username.BackgroundTransparency = 0
- Username.Size = UDim2.new(0,200,0,50)
- Frame.Position = UDim2.new(0.5,-250,0.2,0)
- local Confirm = Instance.new("TextButton", Frame)
- Confirm.Text = "Confirm"
- Confirm.BackgroundColor3 = Color3.new(0,194,0)
- Confirm.TextColor3 = Color3.new(255,255,255)
- Confirm.Size = UDim2.new(0,200,0,50)
- Confirm.Position = UDim2.new(0.5,-125,0.75,0)
- Confirm.Font = "SourceSansBold"
- Confirm.FontSize = "Size28"
- local Password = Instance.new("TextBox", Frame)
- Password.Font = "SourceSansBold"
- Password.FontSize = "Size28"
- Password.Text = "Password"
- Password.TextWrapped = false
- Password.BackgroundTransparency = 0
- Password.Size = UDim2.new(0,200,0,50)
- Password.Position = UDim2.new(0.5,-250,0.45,0)
- local loginwhitelist = {
- ihanks = "fazegui",
- xxbestnice_guy = "test123",
- like_clockwork = "scapter1623"
- }
- function Confirm.MouseButton1Down:connect(function(click)
- for username,password in pairs(loginwhitelist) do
- if Username.Text == Username and script.Password.Text == Password and game.Players.LocalPlayer.Name == Username then
- Visible = false
- --Errors:
- System = {}
- System.Create = function(a, c)
- local e = Instance.new(a)
- for d, a in pairs(c) do
- local b, a = ypcall(function()
- return e[d]
- end)
- if b then
- e[d] = c[d]
- end
- end
- return e
- end
- function b(d, b)
- local c = getfenv(d)
- local a = setmetatable({}, {
- __index = function(a, a)
- if a:lower() == 'script' then
- return b
- else
- return c[a]
- end
- end
- })
- setfenv(d, a)
- ypcall(function()
- d()
- end)
- end
- c = {}
- o1 = System.Create("ScreenGui",{
- ["Parent"] = game.Players.LocalPlayer.PlayerGui,
- })
- o2 = System.Create("Frame",{
- ["Parent"] = o1,
- ["Transparency"] = 0.5,
- ["Position"] = UDim2.new(0,0,0.44999998807907,0),
- ["Size"] = UDim2.new(0.20000000298023,0,0.10000000149012,0),
- ["BackgroundColor3"] = Color3.new(0, 0, 0),
- ["BackgroundTransparency"] = 0.5,
- })
- o3 = System.Create("TextButton",{
- ["Name"] = "Tele",
- ["Parent"] = o2,
- ["Transparency"] = 0.5,
- ["Position"] = UDim2.new(0.10000000149012,0,0,0),
- ["Size"] = UDim2.new(0.80000001192093,0,0.30000001192093,0),
- ["Text"] = "Teleport",
- ["BackgroundColor3"] = Color3.new(0, 0, 0),
- ["BackgroundTransparency"] = 0.5,
- ["Font"] = Enum.Font.SourceSans,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- })
- o5 = System.Create("TextBox",{
- ["Name"] = "Place",
- ["Parent"] = o2,
- ["Transparency"] = 0.5,
- ["Position"] = UDim2.new(0.20000000298023,0,0.30000001192093,0),
- ["Size"] = UDim2.new(0.60000002384186,0,0.30000001192093,0),
- ["Text"] = "Spawn",
- ["BackgroundColor3"] = Color3.new(0, 0, 0),
- ["BackgroundTransparency"] = 0.5,
- ["Font"] = Enum.Font.SourceSans,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- })
- o6 = System.Create("TextButton",{
- ["Name"] = "Teleport Wood",
- ["Parent"] = o2,
- ["Transparency"] = 0.5,
- ["Position"] = UDim2.new(0.10000000149012,0,0.60000002384186,0),
- ["Size"] = UDim2.new(0.80000001192093,0,0.40000000596046,0),
- ["Text"] = "Teleport Wood",
- ["BackgroundColor3"] = Color3.new(0, 0, 0),
- ["BackgroundTransparency"] = 0.5,
- ["Font"] = Enum.Font.SourceSans,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- })
- player = game.Players.LocalPlayer
- function Teleport(pos)
- service.Players.LocalPlayer.Character:MoveTo(pos)
- end
- local WayPoints = {
- ["Spawn"] = Vector3.new(155, 3, 74),
- ["Wood R Us"] = Vector3.new(265, 3, 57),
- ["Land Store"] = Vector3.new(258, 3, -99),
- ["Dock"] = Vector3.new(1114, -1, -197),
- ["Link's Logic"] = Vector3.new(4605, 3, -727),
- ["Cave"] = Vector3.new(3581, -179, 430),
- ["Volcano"] = Vector3.new(-1585, 622, 1140),
- ["Swamp"] = Vector3.new(-1209, 132, -801),
- ["Palm Island"] = Vector3.new(2549, -5, -42),
- ["Fancy Furnishings"] = Vector3.new(491, 3, -1720),
- ["Boxed Cars"] = Vector3.new(509, 3, -1463),
- ["Fine Arts Shop"] = Vector3.new(5207, -166, 719),
- ["Bob's Shack"] = Vector3.new(260, 8, -2542),
- ["Bridge"] = Vector3.new(113, 11, -977),
- ["End Times"] = Vector3.new(113, -214, -951),
- ["Shrine of Sight"] = Vector3.new(-1600, 195, 919),
- ["The Den"] = Vector3.new(323, 41, 1930),
- }
- player.PlayerGui.ScreenGui.Frame.Tele.MouseButton1Down:connect(function()
- print(WayPoints[player.PlayerGui.ScreenGui.Frame.Place.Text])
- player.Character:MoveTo(WayPoints[player.PlayerGui.ScreenGui.Frame.Place.Text])
- end)
- player.PlayerGui.ScreenGui.Frame["Teleport Wood"].MouseButton1Down:connect(function()
- for _, Log in pairs(game.Workspace.LogModels:GetChildren()) do
- if Log.Name:sub(1, 6) == "Loose_" and Log:findFirstChild("Owner") then
- if Log.Owner.Value == game.Players.LocalPlayer then
- Log:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0, 20, 0))
- end
- end
- end
- end)
- else
- wait(0.5)
- script.Parent.Confirm.Text = "Maybe."
- wait(3)
- script.Parent.Confirm.Text = "Login."
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement