Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Unlumber Updated
- --Created By Unlisting
- --The New Remotes I Just Added Are From Drstattik's GUI. this is so it just makes it easier so thanks to him <3
- --The Remotes I Added from Drstattik are The Glitch Wood And Sell Wood cuz iternals Sales do basically the same thing as This.
- --[[
- INFO:
- https://v3rmillion.net/showthread.php?tid=426334
- This Script Renames All TreeRegions To The Regions For Its Main Wood And Making It Easier For You To Teleport All The Wood To You Which Comes With It If You
- Enter The Wood's Name In The Global "TELEPORT" Variable Below.
- Once You Cut The Wood Down Press The Key B Or Make It Automatically Bring It To You By Turning The _G.BRING To true.
- You Can Also Press E To Cut the wood and just press R to teleport it to you or press "i" to sell it instantly
- Teleport Your Latest Items You Have Bought (Keybind: "q")
- Teleport Your Cut Wood (Keybind: "r")
- GlitchWood (Keybind: "e")
- SellWood (Keybind: "i")
- Have Fun Using This Script!
- --]]
- --Settings
- _G.TELEPORT = "Cherry" --The Name Of The Wood You Want. The List Of Wood Names Are Listed Below.
- _G.CREDITS = false --Print Credits
- _G.BRING = false --Automatically Teleport the wood you cut down
- _G.WOOD = "r" --Keybind for teleporting wood after cutting down
- _G.ITEM = "q" --Keybind for teleporting recent bought items
- _G.SIZE = 120 --Size Of Wood You Want For Glitching
- --[[ Wood Names:
- Copy And Paste These Names In The "_G.TELEPORT" String Above.
- There May Be More Kinds Of Wood That I Haven't Put In Here But This Will Do For Now.
- ------------------
- Cherry
- Palm
- FirBranch
- CaveCrawler
- Generic
- Spooky
- Fir
- GreenSwampy
- Oak
- Birch
- Volcano
- LoneCave
- --]]
- --SCRIPTING
- local Wood = {
- "Cherry",
- "Palm",
- "FirBranch",
- "CaveCrawler",
- "Generic",
- "Spooky",
- "Fir",
- "GreenSwampy",
- "Oak",
- "Birch",
- "Volcano",
- "LoneCave"
- }
- local NewRegionNames = {}
- --Name Changer For Seperating What Is What
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[1] then
- l.Name = Wood[1]
- warn("TreeRegion #1 Has Been Changed To: "..Wood[1])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[2] then
- l.Name = Wood[2]
- warn("TreeRegion #2 Has Been Changed To: "..Wood[2])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[3] then
- l.Name = Wood[3]
- warn("TreeRegion #3 Has Been Changed To: "..Wood[3])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[4] then
- l.Name = Wood[4]
- warn("TreeRegion #4 Has Been Changed To: "..Wood[4])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[5] then
- l.Name = Wood[5]
- warn("TreeRegion #5 Has Been Changed To: "..Wood[5])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[6] then
- l.Name = Wood[6]
- warn("TreeRegion #6 Has Been Changed To: "..Wood[6])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[7] then
- l.Name = Wood[7]
- warn("TreeRegion #7 Has Been Changed To: "..Wood[7])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[8] then
- l.Name = Wood[8]
- warn("TreeRegion #8 Has Been Changed To: "..Wood[8])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[9] then
- l.Name = Wood[9]
- warn("TreeRegion #9 Has Been Changed To: "..Wood[9])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[10] then
- l.Name = Wood[10]
- warn("TreeRegion #10 Has Been Changed To: "..Wood[10])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[11] then
- l.Name = Wood[11]
- warn("TreeRegion #11 Has Been Changed To: "..Wood[11])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- for i, l in pairs(game:GetService("Workspace"):GetChildren()) do
- if l.Name == "TreeRegion" then
- if l ~= nil then
- for i, b in pairs(l:GetChildren()) do
- if b:IsA("Model") then
- if b:FindFirstChild("TreeClass") ~= nil and b.TreeClass.Value == Wood[12] then
- l.Name = Wood[12]
- warn("TreeRegion #12 Has Been Changed To: "..Wood[12])
- table.insert(NewRegionNames, l.Name)
- end
- end
- end
- end
- end
- end
- --Names Checker
- for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
- print(v.Name)
- end
- --Teleporter
- --CherryWood
- for i, v in pairs(game:GetService("Workspace")[Wood[1]]:GetChildren()) do
- if _G.TELEPORT == Wood[1] then
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[1] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --PalmWood
- for i, v in pairs(game:GetService("Workspace")[Wood[2]]:GetChildren()) do
- if _G.TELEPORT == Wood[2] then
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[2] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --FirBranchWood
- if _G.TELEPORT == Wood[3] then
- for i, v in pairs(game:GetService("Workspace")[Wood[3]]:GetChildren()) do
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[3] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --CaveCrawlerWood
- if _G.TELEPORT == Wood[4] then
- for i, v in pairs(game:GetService("Workspace")[Wood[4]]:GetChildren()) do
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[4] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --GenericWood
- if _G.TELEPORT == Wood[5] then
- for i, v in pairs(game:GetService("Workspace")[Wood[5]]:GetChildren()) do
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[5] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --SpookyWood
- if _G.TELEPORT == Wood[6] then
- for i, v in pairs(game:GetService("Workspace")[Wood[6]]:GetChildren()) do
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[6] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --FirWood
- if _G.TELEPORT == Wood[7] then
- for i, v in pairs(game:GetService("Workspace")[Wood[7]]:GetChildren()) do
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[7] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --GreenSwampyWood
- if _G.TELEPORT == Wood[8] then
- for i, v in pairs(game:GetService("Workspace")[Wood[8]]:GetChildren()) do
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[8] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --Oak
- if _G.TELEPORT == Wood[9] then
- for i, v in pairs(game:GetService("Workspace")[Wood[9]]:GetChildren()) do
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[9] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --Birch
- if _G.TELEPORT == Wood[10] then
- for i, v in pairs(game:GetService("Workspace")[Wood[10]]:GetChildren()) do
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[10] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --Volcano
- if _G.TELEPORT == Wood[11] then
- for i, v in pairs(game:GetService("Workspace")[Wood[11]]:GetChildren()) do
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[11] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --LoneCave
- if _G.TELEPORT == Wood[12] then
- for i, v in pairs(game:GetService("Workspace")[Wood[12]]:GetChildren()) do
- if v:FindFirstChild("TreeClass") ~= nil and v.TreeClass.Value == Wood[12] then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(math.random(1,60), math.random(1,1), math.random(1,60)))
- end
- end
- end
- --KeyBind
- function GetAxe()
- if game.Players.LocalPlayer.Character:FindFirstChild("Tool") then
- return game.Players.LocalPlayer.Character:FindFirstChild("Tool")
- end
- end
- local HitPoints={
- ['GoldAxe']= 50;
- ['BasicHatchet']= 0.2;
- ['Axe1']= 0.55;
- ['Axe2']= 0.93;
- ['AxeAlphaTesters']= 1.5;
- ['Rukiryaxe']= 1.68;
- ['Axe3']= 1.45;
- ['AxeBetaTesters']= 1.45;
- ['FireAxe']= 0.6;
- ['SilverAxe']= 1.6;
- ['EndTimesAxe']= 10000000;
- ['AxeChicken']= 0.1;
- ['CandyCaneAxe']= 0;
- }
- local Pressing = false
- local mouse1 = game:GetService("Players").LocalPlayer:GetMouse()
- mouse1.KeyDown:connect(function(key)
- if key == "e" then
- Pressing=true
- poop(GetAxe())
- end
- end)
- local mouse1 = game:GetService("Players").LocalPlayer:GetMouse()
- mouse1.KeyUp:connect(function(key)
- if key == "e" then
- Pressing=false
- end
- end)
- function cut(Height,Tool)
- local Tree=game.Players.LocalPlayer:GetMouse().Target
- game.ReplicatedStorage.Interaction.RemoteProxy:FireServer(Tree.Parent.CutEvent,{
- ["cuttingClass"] = "Axe",
- ["cooldown"] = 0,
- ["hitPoints"] = HitPoints[Tool.ToolName.Value],
- ["sectionId"] = 1,
- ["tool"] = Tool,
- ["faceVector"] = Vector3.new(-1,0,0),
- ["height"] = Height})
- end
- function poop(Tool)
- while Pressing do
- for i=1,100 do
- wait()
- cut(_G.SIZE,Tool)
- cut(1,Tool)
- end
- end
- end
- --SellWood
- local mouse1 = game:GetService("Players").LocalPlayer:GetMouse()
- mouse1.KeyDown:connect(function(key)
- if key == "i" then
- 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
- for i,v in pairs(Log:GetChildren()) do
- if v.Name=="WoodSection" then
- spawn(function()
- for i=1,10 do
- wait()
- v.CFrame=CFrame.new(Vector3.new(315, -0.296, 85.791))*CFrame.Angles(math.rad(90),0,0)
- end
- end)
- end
- end
- spawn(function()
- for i=1,20 do
- wait()
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Log)
- end
- end)
- end
- end
- end
- end
- end)
- local mouse1 = game:GetService("Players").LocalPlayer:GetMouse()
- mouse1.KeyDown:connect(function(key)
- if key == _G.WOOD then
- for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
- if v.Name:sub(1, 6) == "Loose_" and v:findFirstChild("Owner") and v.Owner.Value == game:GetService("Players").LocalPlayer then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.Torso.Position + Vector3.new(0, 5, 0))
- end
- end
- end
- end)
- local mouse1 = game:GetService("Players").LocalPlayer:GetMouse()
- mouse1.KeyDown:connect(function(key)
- if key == _G.ITEM then
- for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
- for i, c in pairs(v:GetChildren()) do
- if c:FindFirstChild("PurchasedBoxItemName") then
- if c.Owner.LastInteraction.Value > 0 then
- if c.Owner.Value == game:GetService("Players").LocalPlayer then
- c:MoveTo(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position)
- end
- end
- end
- end
- end
- end
- end)
- --Auto
- while true do
- wait(5)
- if _G.BRING == true then
- for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
- if v.Name:sub(1, 6) == "Loose_" and v:findFirstChild("Owner") and v.Owner.Value == game:GetService("Players").LocalPlayer then
- v:MoveTo(game:GetService("Players").LocalPlayer.Character.Torso.Position + Vector3.new(0, 5, 0))
- end
- end
- end
- end
- --Credits
- if _G.CREDITS == true then
- warn("[Unlumber] Created By Unlisting")
- warn("Thanks To Drstattik for the glitch and tp scripts")
- end
- --End Of Scripting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement