Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local AutoLumberGui = Instance.new("ScreenGui")
- local OpenButton = Instance.new("TextButton")
- local MainFrame = Instance.new("Frame")
- local MadeByText = Instance.new("TextLabel")
- local NameText = Instance.new("TextLabel")
- local GetButton = Instance.new("TextButton")
- local TextBox = Instance.new("TextBox")
- local CloseButton = Instance.new("TextButton")
- --Properties:
- AutoLumberGui.Name = "AutoLumberGui"
- AutoLumberGui.Parent = game.CoreGui
- AutoLumberGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- OpenButton.Name = "OpenButton"
- OpenButton.Parent = AutoLumberGui
- OpenButton.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenButton.Position = UDim2.new(0, 0, 0.656984806, 0)
- OpenButton.Size = UDim2.new(0, 200, 0, 50)
- OpenButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- OpenButton.Font = Enum.Font.SourceSansItalic
- OpenButton.Text = "Open"
- OpenButton.TextColor3 = Color3.new(0.14902, 0.14902, 0.14902)
- OpenButton.TextSize = 30
- OpenButton.TextWrapped = true
- OpenButton.MouseButton1Down:connect(function()
- OpenButton.Visible = false
- MainFrame.Visible = true
- end)
- MainFrame.Name = "MainFrame"
- MainFrame.Active = true
- MainFrame.Parent = AutoLumberGui
- MainFrame.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
- MainFrame.BackgroundTransparency = 0.050000000745058
- MainFrame.BorderColor3 = Color3.new(0.694118, 0.694118, 0.694118)
- MainFrame.BorderSizePixel = 2
- MainFrame.Position = UDim2.new(0.217048138, 0, 0.381742746, 0)
- MainFrame.Size = UDim2.new(0, 300, 0, 212)
- MainFrame.Visible = false
- MainFrame.Draggable = true
- MadeByText.Name = "MadeByText"
- MadeByText.Parent = MainFrame
- MadeByText.BackgroundColor3 = Color3.new(1, 1, 1)
- MadeByText.BorderColor3 = Color3.new(0.694118, 0.694118, 0.694118)
- MadeByText.BorderSizePixel = 2
- MadeByText.Position = UDim2.new(-0.00295186043, 0, 0.826619983, 0)
- MadeByText.Size = UDim2.new(0, 300, 0, 36)
- MadeByText.Font = Enum.Font.SourceSansBold
- MadeByText.Text = "Gui Made by AmazonBox#4551. Script made by tehdino on verm"
- MadeByText.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- MadeByText.TextSize = 14
- NameText.Name = "NameText"
- NameText.Parent = MainFrame
- NameText.BackgroundColor3 = Color3.new(1, 1, 1)
- NameText.BorderColor3 = Color3.new(0.694118, 0.694118, 0.694118)
- NameText.BorderSizePixel = 2
- NameText.Position = UDim2.new(-0.00295186043, 0, -0.00171580911, 0)
- NameText.Size = UDim2.new(0, 300, 0, 36)
- NameText.Font = Enum.Font.SourceSansBold
- NameText.Text = "AutoLumber V.1"
- NameText.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- NameText.TextScaled = true
- NameText.TextSize = 14
- NameText.TextWrapped = true
- GetButton.Name = "GetButton"
- GetButton.Parent = MainFrame
- GetButton.BackgroundColor3 = Color3.new(1, 1, 1)
- GetButton.Position = UDim2.new(0.166666672, 0, 0.533018827, 0)
- GetButton.Size = UDim2.new(0, 200, 0, 50)
- GetButton.Selected = true
- GetButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- GetButton.Font = Enum.Font.SourceSans
- GetButton.Text = "Get Item"
- GetButton.TextColor3 = Color3.new(0, 0, 0)
- GetButton.TextSize = 14
- GetButton.MouseButton1Down:connect(function()
- local Item = TextBox.Text
- local Quantity = 10
- local Land = nil
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer then
- Land = v
- break
- end
- end
- if not Land then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- TextBox.Parent = MainFrame
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.BorderColor3 = Color3.new(0.694118, 0.694118, 0.694118)
- TextBox.BorderSizePixel = 2
- TextBox.Position = UDim2.new(-0.00333333341, 0, 0.165094346, 0)
- TextBox.Size = UDim2.new(0, 300, 0, 50)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.Text = "Type here what Item you want."
- TextBox.TextColor3 = Color3.new(0, 0, 0)
- TextBox.TextSize = 25
- CloseButton.Name = "CloseButton"
- CloseButton.Parent = MainFrame
- CloseButton.BackgroundColor3 = Color3.new(1, 1, 1)
- CloseButton.BackgroundTransparency = 1
- CloseButton.Position = UDim2.new(0.916666687, 0, 0, 0)
- CloseButton.Size = UDim2.new(0, 25, 0, 24)
- CloseButton.Font = Enum.Font.SourceSansBold
- CloseButton.Text = "X"
- CloseButton.TextColor3 = Color3.new(0.419608, 0.419608, 0.419608)
- CloseButton.TextScaled = true
- CloseButton.TextSize = 14
- CloseButton.TextWrapped = true
- CloseButton.MouseButton1Down:connect(function()
- MainFrame.Visible = false
- OpenButton.Visible = true
- end)
- -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement