Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Global Vars
- _G.ToggleAll = false
- _G.StoneDeposit = false
- _G.MaxBrick = 64
- _G.WoodDeposit = false
- _G.MaxPlanks = 64
- _G.OreDeposit = false
- _G.TeleportPlayer = false
- _G.Regular = false
- _G.Pine = false
- _G.Birch = false
- _G.Maple = false
- -- Gui
- -- Instances:
- local SkyblockGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local TopBar = Instance.new("TextLabel")
- local Items = Instance.new("Frame")
- local ToggleAll = Instance.new("TextLabel")
- local Check = Instance.new("TextButton")
- local PlayerTele = Instance.new("TextLabel")
- local Check_2 = Instance.new("TextButton")
- local Ore = Instance.new("TextLabel")
- local Check_3 = Instance.new("TextButton")
- local Wood = Instance.new("TextLabel")
- local Check_4 = Instance.new("TextButton")
- local Stone = Instance.new("TextLabel")
- local Check_5 = Instance.new("TextButton")
- local MaxPlank = Instance.new("TextLabel")
- local Max = Instance.new("TextBox")
- local MaxStone = Instance.new("TextLabel")
- local Max_2 = Instance.new("TextBox")
- local WoodChoice = Instance.new("Frame")
- local Regular = Instance.new("TextLabel")
- local Check_6 = Instance.new("TextButton")
- local Pine = Instance.new("TextLabel")
- local Check_7 = Instance.new("TextButton")
- local Birch = Instance.new("TextLabel")
- local Check_8 = Instance.new("TextButton")
- local Maple = Instance.new("TextLabel")
- local Check_9 = Instance.new("TextButton")
- local LoadingAnim = Instance.new("Frame")
- local TopHide = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local BottomHide = Instance.new("Frame")
- local LoadingBar = Instance.new("Frame")
- local Bar = Instance.new("Frame")
- --Properties:
- SkyblockGui.Name = "SkyblockGui"
- SkyblockGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- SkyblockGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = SkyblockGui
- Main.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.5, -150, 0.226999968, 0)
- Main.Size = UDim2.new(0, 300, 0, 267)
- Main.Visible = false
- TopBar.Name = "TopBar"
- TopBar.Parent = Main
- TopBar.BackgroundColor3 = Color3.fromRGB(0, 206, 110)
- TopBar.BorderSizePixel = 0
- TopBar.ClipsDescendants = true
- TopBar.Position = UDim2.new(0, 0, -0.113101058, 0)
- TopBar.Size = UDim2.new(1, 0, 0.113101117, 0)
- TopBar.Font = Enum.Font.GothamSemibold
- TopBar.Text = " Auto Skyblock v1.0 | By Vick on V3rm"
- TopBar.TextColor3 = Color3.fromRGB(255, 255, 255)
- TopBar.TextSize = 14.000
- TopBar.TextWrapped = true
- TopBar.TextXAlignment = Enum.TextXAlignment.Left
- Items.Name = "Items"
- Items.Parent = Main
- Items.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Items.BackgroundTransparency = 1.000
- Items.ClipsDescendants = true
- Items.Size = UDim2.new(1, 0, 1, 0)
- ToggleAll.Name = "ToggleAll"
- ToggleAll.Parent = Items
- ToggleAll.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- ToggleAll.BorderColor3 = Color3.fromRGB(43, 43, 43)
- ToggleAll.BorderSizePixel = 2
- ToggleAll.Size = UDim2.new(1, 0, 0.143999994, 0)
- ToggleAll.Font = Enum.Font.GothamSemibold
- ToggleAll.Text = " Master Toggle:"
- ToggleAll.TextColor3 = Color3.fromRGB(255, 255, 255)
- ToggleAll.TextSize = 14.000
- ToggleAll.TextXAlignment = Enum.TextXAlignment.Left
- Check.Name = "Check"
- Check.Parent = ToggleAll
- Check.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Check.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Check.BorderSizePixel = 2
- Check.Position = UDim2.new(0.896666646, 0, 0.17220968, 0)
- Check.Size = UDim2.new(0.0700000003, 0, 0.599999845, 0)
- Check.AutoButtonColor = false
- Check.Font = Enum.Font.GothamSemibold
- Check.Text = ""
- Check.TextColor3 = Color3.fromRGB(255, 255, 255)
- Check.TextScaled = true
- Check.TextSize = 14.000
- Check.TextWrapped = true
- PlayerTele.Name = "PlayerTele"
- PlayerTele.Parent = Items
- PlayerTele.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- PlayerTele.BorderColor3 = Color3.fromRGB(43, 43, 43)
- PlayerTele.BorderSizePixel = 2
- PlayerTele.Position = UDim2.new(0, 0, 0.143415764, 0)
- PlayerTele.Size = UDim2.new(1, 0, 0.143999994, 0)
- PlayerTele.Font = Enum.Font.GothamSemibold
- PlayerTele.Text = " Teleport Player:"
- PlayerTele.TextColor3 = Color3.fromRGB(255, 255, 255)
- PlayerTele.TextSize = 14.000
- PlayerTele.TextXAlignment = Enum.TextXAlignment.Left
- Check_2.Name = "Check"
- Check_2.Parent = PlayerTele
- Check_2.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Check_2.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Check_2.BorderSizePixel = 2
- Check_2.Position = UDim2.new(0.896666646, 0, 0.17220968, 0)
- Check_2.Size = UDim2.new(0.0700000003, 0, 0.599999845, 0)
- Check_2.AutoButtonColor = false
- Check_2.Font = Enum.Font.GothamSemibold
- Check_2.Text = ""
- Check_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Check_2.TextScaled = true
- Check_2.TextSize = 14.000
- Check_2.TextWrapped = true
- Ore.Name = "Ore"
- Ore.Parent = Items
- Ore.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- Ore.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Ore.BorderSizePixel = 2
- Ore.Position = UDim2.new(0, 0, 0.286831468, 0)
- Ore.Size = UDim2.new(1, 0, 0.143999994, 0)
- Ore.Font = Enum.Font.GothamSemibold
- Ore.Text = " Toggle Ore Smelting:"
- Ore.TextColor3 = Color3.fromRGB(255, 255, 255)
- Ore.TextSize = 14.000
- Ore.TextXAlignment = Enum.TextXAlignment.Left
- Check_3.Name = "Check"
- Check_3.Parent = Ore
- Check_3.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Check_3.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Check_3.BorderSizePixel = 2
- Check_3.Position = UDim2.new(0.896666646, 0, 0.17220968, 0)
- Check_3.Size = UDim2.new(0.0700000003, 0, 0.599999845, 0)
- Check_3.AutoButtonColor = false
- Check_3.Font = Enum.Font.GothamSemibold
- Check_3.Text = ""
- Check_3.TextColor3 = Color3.fromRGB(255, 255, 255)
- Check_3.TextScaled = true
- Check_3.TextSize = 14.000
- Check_3.TextWrapped = true
- Wood.Name = "Wood"
- Wood.Parent = Items
- Wood.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- Wood.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Wood.BorderSizePixel = 2
- Wood.Position = UDim2.new(0, 0, 0.430247188, 0)
- Wood.Size = UDim2.new(1, 0, 0.143999994, 0)
- Wood.Font = Enum.Font.GothamSemibold
- Wood.Text = " Toggle Wood:"
- Wood.TextColor3 = Color3.fromRGB(255, 255, 255)
- Wood.TextSize = 14.000
- Wood.TextXAlignment = Enum.TextXAlignment.Left
- Check_4.Name = "Check"
- Check_4.Parent = Wood
- Check_4.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Check_4.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Check_4.BorderSizePixel = 2
- Check_4.Position = UDim2.new(0.896666646, 0, 0.17220968, 0)
- Check_4.Size = UDim2.new(0.0700000003, 0, 0.599999845, 0)
- Check_4.AutoButtonColor = false
- Check_4.Font = Enum.Font.GothamSemibold
- Check_4.Text = ""
- Check_4.TextColor3 = Color3.fromRGB(255, 255, 255)
- Check_4.TextScaled = true
- Check_4.TextSize = 14.000
- Check_4.TextWrapped = true
- Stone.Name = "Stone"
- Stone.Parent = Items
- Stone.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- Stone.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Stone.BorderSizePixel = 2
- Stone.Position = UDim2.new(0, 0, 0.573662937, 0)
- Stone.Size = UDim2.new(1, 0, 0.143999994, 0)
- Stone.Font = Enum.Font.GothamSemibold
- Stone.Text = " Toggle Stone Bricks:"
- Stone.TextColor3 = Color3.fromRGB(255, 255, 255)
- Stone.TextSize = 14.000
- Stone.TextXAlignment = Enum.TextXAlignment.Left
- Check_5.Name = "Check"
- Check_5.Parent = Stone
- Check_5.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Check_5.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Check_5.BorderSizePixel = 2
- Check_5.Position = UDim2.new(0.896666646, 0, 0.17220968, 0)
- Check_5.Size = UDim2.new(0.0700000003, 0, 0.599999845, 0)
- Check_5.AutoButtonColor = false
- Check_5.Font = Enum.Font.GothamSemibold
- Check_5.Text = ""
- Check_5.TextColor3 = Color3.fromRGB(255, 255, 255)
- Check_5.TextScaled = true
- Check_5.TextSize = 14.000
- Check_5.TextWrapped = true
- MaxPlank.Name = "MaxPlank"
- MaxPlank.Parent = Items
- MaxPlank.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- MaxPlank.BorderColor3 = Color3.fromRGB(43, 43, 43)
- MaxPlank.BorderSizePixel = 2
- MaxPlank.Position = UDim2.new(0, 0, 0.717078686, 0)
- MaxPlank.Size = UDim2.new(1, 0, 0.143999994, 0)
- MaxPlank.Font = Enum.Font.GothamSemibold
- MaxPlank.Text = " Maximum Planks:"
- MaxPlank.TextColor3 = Color3.fromRGB(255, 255, 255)
- MaxPlank.TextSize = 14.000
- MaxPlank.TextXAlignment = Enum.TextXAlignment.Left
- Max.Name = "Max"
- Max.Parent = MaxPlank
- Max.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Max.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Max.BorderSizePixel = 2
- Max.Position = UDim2.new(0.76366657, 0, 0.17200014, 0)
- Max.Size = UDim2.new(0.203333333, 0, 0.600000024, 0)
- Max.Font = Enum.Font.GothamSemibold
- Max.PlaceholderText = "Enter Value"
- Max.Text = ""
- Max.TextColor3 = Color3.fromRGB(255, 255, 255)
- Max.TextScaled = true
- Max.TextSize = 14.000
- Max.TextWrapped = true
- MaxStone.Name = "MaxStone"
- MaxStone.Parent = Items
- MaxStone.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- MaxStone.BorderColor3 = Color3.fromRGB(43, 43, 43)
- MaxStone.BorderSizePixel = 2
- MaxStone.Position = UDim2.new(0, 0, 0.864239693, 0)
- MaxStone.Size = UDim2.new(1, 0, 0.143999994, 0)
- MaxStone.Font = Enum.Font.GothamSemibold
- MaxStone.Text = " Maximum Stone Bricks:"
- MaxStone.TextColor3 = Color3.fromRGB(255, 255, 255)
- MaxStone.TextSize = 14.000
- MaxStone.TextXAlignment = Enum.TextXAlignment.Left
- Max_2.Name = "Max"
- Max_2.Parent = MaxStone
- Max_2.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Max_2.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Max_2.BorderSizePixel = 2
- Max_2.Position = UDim2.new(0.76366657, 0, 0.17200014, 0)
- Max_2.Size = UDim2.new(0.203333333, 0, 0.600000024, 0)
- Max_2.Font = Enum.Font.GothamSemibold
- Max_2.PlaceholderText = "Enter Value"
- Max_2.Text = ""
- Max_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Max_2.TextScaled = true
- Max_2.TextSize = 14.000
- Max_2.TextWrapped = true
- WoodChoice.Name = "WoodChoice"
- WoodChoice.Parent = Main
- WoodChoice.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- WoodChoice.BorderSizePixel = 0
- WoodChoice.ClipsDescendants = true
- WoodChoice.Position = UDim2.new(0.996999979, -185, 0.430000007, -3)
- WoodChoice.Size = UDim2.new(0.616666675, 0, 0.581235886, 0)
- WoodChoice.Visible = false
- WoodChoice.ZIndex = 0
- Regular.Name = "Regular"
- Regular.Parent = WoodChoice
- Regular.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- Regular.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Regular.BorderSizePixel = 2
- Regular.Position = UDim2.new(0, 0, 0.0189172029, 0)
- Regular.Size = UDim2.new(1, 0, 0.261000007, -2)
- Regular.ZIndex = 0
- Regular.Font = Enum.Font.GothamSemibold
- Regular.Text = " Regular"
- Regular.TextColor3 = Color3.fromRGB(255, 255, 255)
- Regular.TextSize = 14.000
- Regular.TextXAlignment = Enum.TextXAlignment.Left
- Check_6.Name = "Check"
- Check_6.Parent = Regular
- Check_6.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Check_6.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Check_6.BorderSizePixel = 2
- Check_6.Position = UDim2.new(0.842612445, 0, 0.172209397, 0)
- Check_6.Size = UDim2.new(0.124054097, 0, 0.599999845, 0)
- Check_6.AutoButtonColor = false
- Check_6.Font = Enum.Font.GothamSemibold
- Check_6.Text = ""
- Check_6.TextColor3 = Color3.fromRGB(255, 255, 255)
- Check_6.TextScaled = true
- Check_6.TextSize = 14.000
- Check_6.TextWrapped = true
- Pine.Name = "Pine"
- Pine.Parent = WoodChoice
- Pine.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- Pine.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Pine.BorderSizePixel = 2
- Pine.Position = UDim2.new(0, 0, 0.264803201, 0)
- Pine.Size = UDim2.new(1, 0, 0.261000007, -2)
- Pine.ZIndex = 0
- Pine.Font = Enum.Font.GothamSemibold
- Pine.Text = " Pine"
- Pine.TextColor3 = Color3.fromRGB(255, 255, 255)
- Pine.TextSize = 14.000
- Pine.TextXAlignment = Enum.TextXAlignment.Left
- Check_7.Name = "Check"
- Check_7.Parent = Pine
- Check_7.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Check_7.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Check_7.BorderSizePixel = 2
- Check_7.Position = UDim2.new(0.842612445, 0, 0.172209397, 0)
- Check_7.Size = UDim2.new(0.124054097, 0, 0.599999845, 0)
- Check_7.AutoButtonColor = false
- Check_7.Font = Enum.Font.GothamSemibold
- Check_7.Text = ""
- Check_7.TextColor3 = Color3.fromRGB(255, 255, 255)
- Check_7.TextScaled = true
- Check_7.TextSize = 14.000
- Check_7.TextWrapped = true
- Birch.Name = "Birch"
- Birch.Parent = WoodChoice
- Birch.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- Birch.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Birch.BorderSizePixel = 2
- Birch.Position = UDim2.new(0, 0, 0.514247119, 0)
- Birch.Size = UDim2.new(1, 0, 0.265068799, -2)
- Birch.ZIndex = 0
- Birch.Font = Enum.Font.GothamSemibold
- Birch.Text = " Birch"
- Birch.TextColor3 = Color3.fromRGB(255, 255, 255)
- Birch.TextSize = 14.000
- Birch.TextXAlignment = Enum.TextXAlignment.Left
- Check_8.Name = "Check"
- Check_8.Parent = Birch
- Check_8.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Check_8.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Check_8.BorderSizePixel = 2
- Check_8.Position = UDim2.new(0.842612445, 0, 0.172209397, 0)
- Check_8.Size = UDim2.new(0.124054097, 0, 0.599999845, 0)
- Check_8.AutoButtonColor = false
- Check_8.Font = Enum.Font.GothamSemibold
- Check_8.Text = ""
- Check_8.TextColor3 = Color3.fromRGB(255, 255, 255)
- Check_8.TextScaled = true
- Check_8.TextSize = 14.000
- Check_8.TextWrapped = true
- Maple.Name = "Maple"
- Maple.Parent = WoodChoice
- Maple.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- Maple.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Maple.BorderSizePixel = 2
- Maple.Position = UDim2.new(0, 0, 0.766428411, 0)
- Maple.Size = UDim2.new(1, 0, 0.240836442, -2)
- Maple.ZIndex = 0
- Maple.Font = Enum.Font.GothamSemibold
- Maple.Text = " Maple"
- Maple.TextColor3 = Color3.fromRGB(255, 255, 255)
- Maple.TextSize = 14.000
- Maple.TextXAlignment = Enum.TextXAlignment.Left
- Check_9.Name = "Check"
- Check_9.Parent = Maple
- Check_9.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Check_9.BorderColor3 = Color3.fromRGB(43, 43, 43)
- Check_9.BorderSizePixel = 2
- Check_9.Position = UDim2.new(0.842612445, 0, 0.172209397, 0)
- Check_9.Size = UDim2.new(0.124054097, 0, 0.599999845, 0)
- Check_9.AutoButtonColor = false
- Check_9.Font = Enum.Font.GothamSemibold
- Check_9.Text = ""
- Check_9.TextColor3 = Color3.fromRGB(255, 255, 255)
- Check_9.TextScaled = true
- Check_9.TextSize = 14.000
- Check_9.TextWrapped = true
- LoadingAnim.Name = "LoadingAnim"
- LoadingAnim.Parent = SkyblockGui
- LoadingAnim.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- LoadingAnim.BackgroundTransparency = 1.000
- LoadingAnim.Position = UDim2.new(0.5, -175, 0.308999985, 0)
- LoadingAnim.Size = UDim2.new(0, 350, 0, 350)
- TopHide.Name = "TopHide"
- TopHide.Parent = LoadingAnim
- TopHide.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TopHide.BackgroundTransparency = 1.000
- TopHide.ClipsDescendants = true
- TopHide.Size = UDim2.new(1, 0, 0.5, 0)
- TopHide.ZIndex = 0
- Title.Name = "Title"
- Title.Parent = TopHide
- Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Title.BackgroundTransparency = 1.000
- Title.Size = UDim2.new(1, 0, 1, 0)
- Title.Font = Enum.Font.Gotham
- Title.Text = "Loading..."
- Title.TextColor3 = Color3.fromRGB(0, 206, 110)
- Title.TextSize = 40.000
- Title.TextWrapped = true
- Title.TextYAlignment = Enum.TextYAlignment.Bottom
- BottomHide.Name = "BottomHide"
- BottomHide.Parent = LoadingAnim
- BottomHide.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- BottomHide.BackgroundTransparency = 1.000
- BottomHide.ClipsDescendants = true
- BottomHide.Position = UDim2.new(0, 0, 0.498717517, 0)
- BottomHide.Size = UDim2.new(1, 0, 0.5, 0)
- BottomHide.ZIndex = 0
- LoadingBar.Name = "LoadingBar"
- LoadingBar.Parent = BottomHide
- LoadingBar.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- LoadingBar.BorderSizePixel = 0
- LoadingBar.Position = UDim2.new(0, 0, 1.73938858e-07, 0)
- LoadingBar.Size = UDim2.new(1, 0, 0.0367626697, 0)
- Bar.Name = "Bar"
- Bar.Parent = LoadingBar
- Bar.BackgroundColor3 = Color3.fromRGB(0, 206, 110)
- Bar.BorderColor3 = Color3.fromRGB(27, 42, 53)
- Bar.BorderSizePixel = 0
- Bar.Size = UDim2.new(0, 0, 1, 0)
- -- Scripts:
- local function FPOJ_fake_script() -- Main.AnimHandler
- local script = Instance.new('LocalScript', Main)
- local TS = game:GetService("TweenService")
- local UIS = game:GetService("UserInputService")
- local Menu = script.Parent
- local Playing = false
- local TI = TweenInfo.new(
- .7,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TweenParams = {}
- UIS.InputBegan:Connect(function(Input)
- if Input.KeyCode == Enum.KeyCode.M then
- if Playing == false then
- if Menu.Visible == false then
- Playing = true
- Menu.Visible = true
- TweenParams = {
- Size = UDim2.fromOffset(300,267)
- }
- local Tween = TS:Create(Menu,TI,TweenParams)
- Tween:Play()
- Tween.Completed:wait()
- else
- Playing = true
- TweenParams = {
- Size = UDim2.fromOffset(1,1)
- }
- local Tween = TS:Create(Menu,TI,TweenParams)
- Tween:Play()
- Tween.Completed:wait()
- Menu.Visible = false
- end
- Playing = false
- end
- end
- end)
- end
- coroutine.wrap(FPOJ_fake_script)()
- local function ODLOUEL_fake_script() -- Check.Control
- local script = Instance.new('LocalScript', Check)
- local Butt = script.Parent
- local TS = game:GetService("TweenService")
- local Toggle = false
- local TI = TweenInfo.new(
- .2,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TweenParams = {}
- script.Parent.MouseButton1Down:Connect(function()
- if Toggle == false then
- Toggle = true
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(0,255,0)
- }
- else
- Toggle = false
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- }
- end
- local Tween = TS:Create(Butt,TI,TweenParams)
- Tween:Play()
- _G.ToggleAll = Toggle
- end)
- end
- coroutine.wrap(ODLOUEL_fake_script)()
- local function OPYQAV_fake_script() -- Check_2.Control
- local script = Instance.new('LocalScript', Check_2)
- local Butt = script.Parent
- local TS = game:GetService("TweenService")
- local Toggle = false
- local TI = TweenInfo.new(
- .2,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TweenParams = {}
- script.Parent.MouseButton1Down:Connect(function()
- if Toggle == false then
- Toggle = true
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(0,255,0)
- }
- else
- Toggle = false
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- }
- end
- local Tween = TS:Create(Butt,TI,TweenParams)
- Tween:Play()
- _G.TeleportPlayer = Toggle
- end)
- end
- coroutine.wrap(OPYQAV_fake_script)()
- local function WOMV_fake_script() -- Check_3.Control
- local script = Instance.new('LocalScript', Check_3)
- local Butt = script.Parent
- local TS = game:GetService("TweenService")
- local Toggle = false
- local TI = TweenInfo.new(
- .2,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TweenParams = {}
- script.Parent.MouseButton1Down:Connect(function()
- if Toggle == false then
- Toggle = true
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(0,255,0)
- }
- else
- Toggle = false
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- }
- end
- local Tween = TS:Create(Butt,TI,TweenParams)
- Tween:Play()
- _G.OreDeposit = Toggle
- end)
- end
- coroutine.wrap(WOMV_fake_script)()
- local function REYSCYW_fake_script() -- Check_4.Control
- local script = Instance.new('LocalScript', Check_4)
- local Butt = script.Parent
- local TS = game:GetService("TweenService")
- local Toggle = false
- local WC = script.Parent.Parent.Parent.Parent.WoodChoice
- local TI = TweenInfo.new(
- .2,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TweenParams = {}
- script.Parent.MouseButton1Down:Connect(function()
- if Toggle == false then
- Toggle = true
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(0,255,0)
- }
- else
- Toggle = false
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- }
- end
- local Tween = TS:Create(Butt,TI,TweenParams)
- Tween:Play()
- if Toggle == false then
- TweenParams = {
- Position = UDim2.new(0.997, -185,0.43, -3)
- }
- else
- WC.Visible = true
- TweenParams = {
- Position = UDim2.new(1.614, -185,0.43, -3)
- }
- end
- local Tween = TS:Create(WC,TI,TweenParams)
- Tween:Play()
- Tween.Completed:wait()
- WC.Visible = Toggle
- _G.WoodDeposit = Toggle
- end)
- end
- coroutine.wrap(REYSCYW_fake_script)()
- local function XGSGNU_fake_script() -- Check_5.Control
- local script = Instance.new('LocalScript', Check_5)
- local Butt = script.Parent
- local TS = game:GetService("TweenService")
- local Toggle = false
- local TI = TweenInfo.new(
- .2,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TweenParams = {}
- script.Parent.MouseButton1Down:Connect(function()
- if Toggle == false then
- Toggle = true
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(0,255,0)
- }
- else
- Toggle = false
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- }
- end
- local Tween = TS:Create(Butt,TI,TweenParams)
- Tween:Play()
- _G.StoneDeposit = Toggle
- end)
- end
- coroutine.wrap(XGSGNU_fake_script)()
- local function WRNJBJ_fake_script() -- Max.Control
- local script = Instance.new('LocalScript', Max)
- local Box = script.Parent
- local DefVal = _G.MaxPlanks
- Box.Changed:Connect(function()
- local Succ, Fail = pcall(function()
- tostring(Box.Text)
- end)
- if Succ then
- if tonumber(Box.Text) ~= nil then
- _G.MaxPlanks = tonumber(Box.Text)
- end
- else
- Box.Text = 64
- end
- end)
- end
- coroutine.wrap(WRNJBJ_fake_script)()
- local function GCOLAWT_fake_script() -- Max_2.Control
- local script = Instance.new('LocalScript', Max_2)
- local Box = script.Parent
- local DefVal = _G.MaxBrick
- Box.Changed:Connect(function()
- local Succ, Fail = pcall(function()
- tostring(Box.Text)
- end)
- if Succ then
- if tonumber(Box.Text) ~= nil then
- _G.MaxBrick = tonumber(Box.Text)
- end
- else
- Box.Text = 64
- end
- end)
- end
- coroutine.wrap(GCOLAWT_fake_script)()
- local function RZOK_fake_script() -- Check_6.Control
- local script = Instance.new('LocalScript', Check_6)
- local Butt = script.Parent
- local TS = game:GetService("TweenService")
- local Toggle = false
- local TI = TweenInfo.new(
- .2,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TweenParams = {}
- script.Parent.MouseButton1Down:Connect(function()
- if Toggle == false then
- Toggle = true
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(0,255,0)
- }
- else
- Toggle = false
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- }
- end
- local Tween = TS:Create(Butt,TI,TweenParams)
- Tween:Play()
- _G.Regular = Toggle
- end)
- end
- coroutine.wrap(RZOK_fake_script)()
- local function VSQU_fake_script() -- Check_7.Control
- local script = Instance.new('LocalScript', Check_7)
- local Butt = script.Parent
- local TS = game:GetService("TweenService")
- local Toggle = false
- local TI = TweenInfo.new(
- .2,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TweenParams = {}
- script.Parent.MouseButton1Down:Connect(function()
- if Toggle == false then
- Toggle = true
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(0,255,0)
- }
- else
- Toggle = false
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- }
- end
- local Tween = TS:Create(Butt,TI,TweenParams)
- Tween:Play()
- _G.Pine = Toggle
- end)
- end
- coroutine.wrap(VSQU_fake_script)()
- local function XAPXATH_fake_script() -- Check_8.Control
- local script = Instance.new('LocalScript', Check_8)
- local Butt = script.Parent
- local TS = game:GetService("TweenService")
- local Toggle = false
- local TI = TweenInfo.new(
- .2,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TweenParams = {}
- script.Parent.MouseButton1Down:Connect(function()
- if Toggle == false then
- Toggle = true
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(0,255,0)
- }
- else
- Toggle = false
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- }
- end
- local Tween = TS:Create(Butt,TI,TweenParams)
- Tween:Play()
- _G.Birch = Toggle
- end)
- end
- coroutine.wrap(XAPXATH_fake_script)()
- local function ITSHJ_fake_script() -- Check_9.Control
- local script = Instance.new('LocalScript', Check_9)
- local Butt = script.Parent
- local TS = game:GetService("TweenService")
- local Toggle = false
- local TI = TweenInfo.new(
- .2,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TweenParams = {}
- script.Parent.MouseButton1Down:Connect(function()
- if Toggle == false then
- Toggle = true
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(0,255,0)
- }
- else
- Toggle = false
- TweenParams = {
- BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- }
- end
- local Tween = TS:Create(Butt,TI,TweenParams)
- Tween:Play()
- _G.Maple = Toggle
- end)
- end
- coroutine.wrap(ITSHJ_fake_script)()
- local function BZCH_fake_script() -- Main.SmoothDrag
- local script = Instance.new('LocalScript', Main)
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local Bar = script.Parent.TopBar
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- Bar.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- Bar.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
- coroutine.wrap(BZCH_fake_script)()
- local function NAODXW_fake_script() -- Title.Anim
- local script = Instance.new('LocalScript', Title)
- while wait() do
- script.Parent.Text = 'Loading'
- wait(.2)
- script.Parent.Text = 'Loading'..'.'
- wait(.2)
- script.Parent.Text = 'Loading'..'..'
- wait(.2)
- script.Parent.Text = 'Loading'..'...'
- wait(.2)
- end
- end
- coroutine.wrap(NAODXW_fake_script)()
- local function QIXOWWG_fake_script() -- LoadingAnim.AnimControl
- local script = Instance.new('LocalScript', LoadingAnim)
- local Title = script.Parent.TopHide.Title
- local BarBG = script.Parent.BottomHide.LoadingBar
- local Bar = BarBG.Bar
- local TS = game:GetService("TweenService")
- local Menu = script.Parent.Parent.Main
- local TI = TweenInfo.new(
- 1.5,
- Enum.EasingStyle.Quart,
- Enum.EasingDirection.Out
- )
- local TargSize = UDim2.fromScale(1,1)
- local TweenParams = {
- Size = TargSize
- }
- local Tween = TS:Create(Bar,TI,TweenParams)
- Tween:Play()
- wait(1.5)
- local TargPos1 = UDim2.fromScale(0,1)
- local TargPos2 = UDim2.fromScale(0,-1)
- TweenParams = {
- Position = TargPos1
- }
- local Tween = TS:Create(Title,TI,TweenParams)
- Tween:Play()
- TweenParams = {
- Position = TargPos2
- }
- local Tween = TS:Create(BarBG,TI,TweenParams)
- Tween:Play()
- wait(.5)
- Menu.Visible = true
- Menu.Size = UDim2.fromOffset(1,1)
- TargSize = UDim2.fromOffset(300,267)
- TweenParams = {
- Size = TargSize
- }
- local Tween = TS:Create(Menu,TI,TweenParams)
- Tween:Play()
- end
- coroutine.wrap(QIXOWWG_fake_script)()
- -- Core Script
- local Player = game:GetService('Players').LocalPlayer
- local ID = Player.UserId
- local Island = workspace.Islands:FindFirstChild(ID..'-island')
- local RS = game:GetService('ReplicatedStorage')
- local DepEvent = RS.Remotes.Functions['BLOCK_WORKER_DEPOSIT_TOOL_REQUEST']
- local PickEvent = RS.Remotes.Functions['TOOL_PICKUP_REQUEST']
- local Inv = Player.Backpack
- function Refuel()
- for i,v in pairs(Island.Blocks:GetChildren()) do
- local Coal
- if Player.Character and Player.Character:FindFirstChild('coal') then
- if Player.Character:FindFirstChild('coal').Amount.Value > 1 then
- Coal = Player.Character:FindFirstChild('coal')
- end
- elseif Inv:FindFirstChild('coal') then
- if Inv:FindFirstChild('coal').Amount.Value > 1 then
- Coal = Inv:FindFirstChild('coal')
- end
- end
- if Coal and v:FindFirstChild(v.Name) and v:FindFirstChild(v.Name):FindFirstChild('WorkerFuel') then
- if #v[v.Name]:FindFirstChild('WorkerFuel'):GetChildren() == 0 and #v[v.Name]:FindFirstChild('WorkerContents'):GetChildren() > 0 then
- for i=1,v[v.Name].WorkerMaxFuel.Value do
- DepEvent:InvokeServer({
- ["block"] = v[v.Name],
- ["amount"] = 1,
- ["toolName"] = "coal"
- })
- end
- end
- if #v[v.Name]:FindFirstChild('WorkerFuel'):GetChildren() > 0 and #v[v.Name]:FindFirstChild('WorkerContents'):GetChildren() == 0 then
- for i2,v2 in pairs(v[v.Name]:FindFirstChild('WorkerFuel'):GetChildren()) do
- PickEvent:InvokeServer({
- ['tool'] = v2
- })
- end
- end
- end
- end
- end
- function depStone()
- local Cutters = {}
- for i,v in pairs(Island.Blocks:GetChildren()) do
- if v.Name == 'stonecutter' then
- table.insert(Cutters,v)
- end
- end
- for i2,v2 in pairs(Cutters) do
- local Stone
- local BrickAmnt = 0
- if Player.Character and Player.Character:FindFirstChild('stone') then
- if Player.Character:FindFirstChild('stone').Amount.Value > 1 then
- Stone = Player.Character:FindFirstChild('stone')
- end
- elseif Inv:FindFirstChild('stone') then
- if Inv:FindFirstChild('stone').Amount.Value > 1 then
- Stone = Inv:FindFirstChild('stone')
- end
- end
- if Player.Character and Player.Character:FindFirstChild('stoneBrick') then
- BrickAmnt = Player.Character:FindFirstChild('stoneBrick').Amount.Value
- end
- if Inv:FindFirstChild('stoneBrick') then
- BrickAmnt = Inv:FindFirstChild('stoneBrick').Amount.Value
- end
- if Stone and BrickAmnt + 2 <= _G.MaxBrick then
- for i=1,v2[v2.Name].WorkerMaxContents.Value do
- DepEvent:InvokeServer({
- ["block"] = v2[v2.Name],
- ["amount"] = 1,
- ["toolName"] = "stone"
- })
- end
- end
- end
- end
- function depOre()
- local Furnaces = {}
- for i,v in pairs(Island.Blocks:GetChildren()) do
- if v.Name == 'smallFurnace' then
- table.insert(Furnaces,v)
- end
- end
- for i2,v2 in pairs(Furnaces) do
- local Ore = {}
- if Player.Character then
- for i3,v3 in pairs(Player.Character:GetChildren()) do
- if string.find(v3.Name, 'Ore') then
- local Found = false
- for i4,v4 in pairs(Ore) do
- if v3 == v4 then
- Found = true
- end
- end
- if Found == false then
- table.insert(Ore, v3)
- end
- end
- end
- end
- for i5,v5 in pairs(Inv:GetChildren()) do
- if string.find(v5.Name, 'Ore') then
- local Found = false
- for i6,v6 in pairs(Ore) do
- if v5 == v6 then
- Found = true
- end
- end
- if Found == false then
- table.insert(Ore, v5)
- end
- end
- end
- if #Ore > 0 then
- for i=1,v2[v2.Name].WorkerMaxContents.Value do
- DepEvent:InvokeServer({
- ["block"] = v2[v2.Name],
- ["amount"] = 1,
- ["toolName"] = Ore[1].Name
- })
- end
- end
- end
- end
- function depWood()
- local Sawmills = {}
- for i,v in pairs(Island.Blocks:GetChildren()) do
- if v.Name == 'sawmill' then
- table.insert(Sawmills,v)
- end
- end
- for i2,v2 in pairs(Sawmills) do
- local Wood = {}
- local WoodPlankAmnt = 0
- local PinePlankAmnt = 0
- local BirchPlankAmnt = 0
- local MaplePlankAmnt = 0
- if Player.Character then
- for i3,v3 in pairs(Player.Character:GetChildren()) do
- if v3.Name == 'wood' or v3.Name == 'woodPine' or v3.Name == 'woodBirch' or v3.Name == 'woodMaple' then
- local Found = false
- for i4,v4 in pairs(Wood) do
- if v3 == v4 then
- Found = true
- end
- end
- if Found == false then
- table.insert(Wood, v3)
- end
- end
- end
- end
- for i4,v4 in pairs(Inv:GetChildren()) do
- if v4.Name == 'wood' or v4.Name == 'woodPine' or v4.Name == 'woodBirch' or v4.Name == 'woodMaple' then
- local Found = false
- for i5,v5 in pairs(Wood) do
- if v4 == v5 then
- Found = true
- end
- end
- if Found == false then
- table.insert(Wood, v4)
- end
- end
- end
- if Player.Character then
- for i6,v6 in pairs(Player.Character:GetChildren()) do
- if v6.Name == 'woodPlank' then
- WoodPlankAmnt = WoodPlankAmnt + v6.Amount.value
- elseif v6.Name == 'pinePlank' then
- PinePlankAmnt = PinePlankAmnt + v6.Amount.value
- elseif v6.Name == 'birchPlank' then
- BirchPlankAmnt = BirchPlankAmnt + v6.Amount.value
- elseif v6.Name == 'maplePlank' then
- MaplePlankAmnt = MaplePlankAmnt + v6.Amount.value
- end
- end
- end
- for i7,v7 in pairs(Inv:GetChildren()) do
- if v7.Name == 'woodPlank' then
- WoodPlankAmnt = WoodPlankAmnt + v7.Amount.value
- elseif v7.Name == 'pinePlank' then
- PinePlankAmnt = PinePlankAmnt + v7.Amount.value
- elseif v7.Name == 'birchPlank' then
- BirchPlankAmnt = BirchPlankAmnt + v7.Amount.value
- elseif v7.Name == 'maplePlank' then
- MaplePlankAmnt = MaplePlankAmnt + v7.Amount.value
- end
- end
- if #Wood > 0 then
- if WoodPlankAmnt + 3 <= _G.MaxPlanks and _G.Regular == true then
- for i=1,v2[v2.Name].WorkerMaxContents.Value do
- DepEvent:InvokeServer({
- ["block"] = v2[v2.Name],
- ["amount"] = 1,
- ["toolName"] = 'wood'
- })
- end
- elseif PinePlankAmnt + 3 <= _G.MaxPlanks and _G.Pine == true then
- for i=1,v2[v2.Name].WorkerMaxContents.Value do
- DepEvent:InvokeServer({
- ["block"] = v2[v2.Name],
- ["amount"] = 1,
- ["toolName"] = 'woodPine'
- })
- end
- elseif BirchPlankAmnt + 3 <= _G.MaxPlanks and _G.Birch == true then
- for i=1,v2[v2.Name].WorkerMaxContents.Value do
- DepEvent:InvokeServer({
- ["block"] = v2[v2.Name],
- ["amount"] = 1,
- ["toolName"] = 'woodBirch'
- })
- end
- elseif MaplePlankAmnt + 3 <= _G.MaxPlanks and _G.Maple == true then
- for i=1,v2[v2.Name].WorkerMaxContents.Value do
- DepEvent:InvokeServer({
- ["block"] = v2[v2.Name],
- ["amount"] = 1,
- ["toolName"] = 'woodMaple'
- })
- end
- end
- end
- end
- end
- function teleportToStation(StationPart)
- if Player.Character then
- local Hum = Player.Character.HumanoidRootPart
- StationPart.CanCollide = false
- if StationPart.Parent.Parent.Root:FindFirstChild('MeshPart') then
- StationPart.Parent.Parent.Root.MeshPart.CanCollide = false
- end
- Hum.CFrame = StationPart.CFrame
- end
- end
- function Pick()
- local Picks = {}
- for i,v in pairs(Island.Blocks:GetChildren()) do
- if v:FindFirstChild(v.Name) and v:FindFirstChild(v.Name):FindFirstChild('WorkerContents') then
- if #v[v.Name].WorkerContents:GetChildren() > 0 then
- for i,v in pairs(v[v.Name].WorkerContents:GetChildren()) do
- if v.Name == 'stoneBrick' or v.Name == 'gold' or v.Name == 'iron' or string.find(v.Name,'Plank') then
- table.insert(Picks,v)
- end
- end
- end
- end
- end
- for i2,v2 in pairs(Picks) do
- if _G.TeleportPlayer == true then
- teleportToStation(v2.Parent.Parent.CollisionBoxes:FindFirstChildOfClass('Part'))
- end
- PickEvent:InvokeServer({
- ['tool'] = v2
- })
- end
- end
- while wait(1) do
- Pick()
- Refuel()
- if _G.ToggleAll == true then
- if _G.StoneDeposit == true then
- depStone()
- end
- if _G.OreDeposit == true then
- depOre()
- end
- if _G.WoodDeposit == true then
- depWood()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement