Run it
Copy the script and paste it into your executor.
().ChopYourTree
(() ().ChopYourTree.() )
.()
Players = :()
ReplicatedStorage = :()
RunService = :()
Workspace = :()
VirtualInputManager = :()
UserInputService = :()
TweenService = :()
CoreGui = :()
LocalPlayer = Players.LocalPlayer
Remotes = ReplicatedStorage:(, )
Remotes
()
TapButtonClick = Remotes:()
TreeClick = Remotes:()
AxeSwing = Remotes:()
CollectCoin = Remotes:()
Prestige = Remotes:()
ClickWateringCan = Remotes:()
ClaimWaterPurifier = Remotes:()
WaterPurifier = Remotes:()
TIMING = {
TAP_SPEED = ,
MUTATION_HIT_DELAY = ,
MUTATION_LOOP_DELAY = ,
COIN_COLLECT_DELAY = ,
COIN_LOOP_DELAY = ,
PRESTIGE_INTERVAL = ,
USE_CANS_KEY_DELAY = ,
USE_CANS_CLICK_DELAY = ,
USE_CANS_INTERVAL = ,
PICKUP_CANS_DELAY = ,
PICKUP_CANS_INTERVAL = ,
CLAIM_PURIFIER_INTERVAL = ,
FILL_PURIFIER_INTERVAL = ,
FILL_PURIFIER_DELAY = ,
STATS_UPDATE_INTERVAL = ,
KEY_PRESS_DURATION = ,
CLICK_DURATION = ,
STEAL_DELAY = ,
STEAL_LOOP_INTERVAL = ,
}
Config = {
AutoTap = ,
TapThreads = ,
AutoMutations = ,
AutoCollectCoins = ,
AutoPrestige = ,
SpeedHack = ,
SpeedAmount = ,
AutoUseCans = ,
AutoPickupCans = ,
AutoClaimPurifier = ,
AutoFillPurifier = ,
AutoSteal = ,
WaterLevelThreshold = ,
}
State = {
Running = ,
Tapping = ,
HittingTrees = ,
CollectingCoins = ,
UsingCans = ,
PickingUpCans = ,
Prestiging = ,
ClaimingPurifier = ,
FillingPurifier = ,
Stealing = ,
}
Connections = {}
Threads = {}
ScreenGui =
(name)
Connections[name]
(() Connections[name]:() )
Connections[name] =
(name)
Threads[name]
(() .(Threads[name]) )
Threads[name] =
()
name (Connections)
(name)
()
name (Threads)
(name)
()
State.Running =
k, v (Config)
(v) == Config[k] =
k, v (State)
(v) == k ~= State[k] =
.()
()
()
ScreenGui
(() ScreenGui:() )
ScreenGui =
().ChopYourTree =
()
plotVal = LocalPlayer:()
plotVal plotVal:() plotVal.Value
plotVal.Value
plots = Workspace:()
plots
_, plot (plots:())
plot:() == LocalPlayer.Name plot
()
mutations = {}
seen = {}
plot = ()
plot
_, child (plot:())
child.Name == child:()
tree = child.Value
tree tree.Parent seen[tree]
seen[tree] =
.(mutations, tree)
mutations
()
cans = {}
seen = {}
plot = ()
plot
_, desc (plot:())
desc.Name == desc:()
can = desc.Value
can can.Parent seen[can]
seen[can] =
.(cans, can)
cans
()
stealable = {}
myPlot = ()
plots = Workspace:()
plots stealable
_, plot (plots:())
plot ~= myPlot
_, desc (plot:())
desc.Name == desc:()
can = desc.Value
can can.Parent
canSteal = can:() can:()
canSteal == canSteal ==
.(stealable, can)
desc:() desc:()
name = desc.Name:()
name:() name:()
canSteal = desc:() desc:()
canSteal == canSteal ==
.(stealable, desc)
stealable
(can)
can can.Parent
ClickWateringCan (() ClickWateringCan:(can) )
()
cans = ()
_, can (cans)
Config.AutoSteal State.Running
(can)
.(TIMING.STEAL_DELAY)
#cans
()
plot = ()
plot
contents = plot:()
contents contents:()
()
levels = {}
data = LocalPlayer:()
data
tapCans = data:()
tapCans
_, slot (tapCans:())
levelVal = slot:()
levelVal levels[slot.Name] = levelVal.Value
levels
()
highest =
_, level (())
level > highest highest = level
highest
()
() >= Config.WaterLevelThreshold
()
lowestSlot, lowestLevel = ,
data = LocalPlayer:()
data
tapCans = data:()
tapCans
_, slot (tapCans:())
levelVal = slot:()
levelVal levelVal.Value < lowestLevel
lowestLevel = levelVal.Value
lowestSlot = (slot.Name)
lowestSlot, lowestLevel
()
plot = ()
plot
contents = plot:()
contents
purifier = contents:()
purifier
(purifier:() purifier:())
()
ls = LocalPlayer:()
ls
coins = ls:()
coins (coins.Value)
()
ls = LocalPlayer:()
ls
prestiges = ls:()
prestiges prestiges.Value
()
backpack = LocalPlayer:()
char = LocalPlayer.Character
backpack
_, item (backpack:())
name = item.Name:()
name:() name:()
char
_, item (char:())
item:()
name = item.Name:()
name:() name:()
(keyCode)
(()
VirtualInputManager:(, keyCode, , )
.(TIMING.KEY_PRESS_DURATION)
VirtualInputManager:(, keyCode, , )
)
()
(()
VirtualInputManager:(, , , , , )
.(TIMING.CLICK_DURATION)
VirtualInputManager:(, , , , , )
)
HotbarKeys = {.KeyCode.Two, .KeyCode.Three, .KeyCode.Four, .KeyCode.Five, .KeyCode.Six, .KeyCode.Seven, .KeyCode.Eight, .KeyCode.Nine}
()
TapButtonClick
plot = ()
plot (() TapButtonClick:(plot) )
(mutation)
mutation mutation.Parent
TreeClick (() TreeClick:(mutation) )
AxeSwing (() AxeSwing:() )
()
mutations = ()
_, mutation (mutations)
Config.AutoMutations State.Running
(mutation)
.(TIMING.MUTATION_HIT_DELAY)
()
char = LocalPlayer.Character
root = char char:()
root
originalCFrame = root.CFrame
orbsFolder = Workspace:()
orbsFolder
_, coin (orbsFolder:())
Config.AutoCollectCoins State.Running
coin coin.Parent coin:() coin:()
(() root.CFrame = coin.CFrame )
(() (root, coin, ); (root, coin, ) )
CollectCoin (() CollectCoin:(coin) )
.(TIMING.COIN_COLLECT_DELAY)
(() root.CFrame = originalCFrame )
()
State.UsingCans
State.UsingCans =
()
(.KeyCode.One)
State.UsingCans =
_, keyCode (HotbarKeys)
Config.AutoUseCans State.Running
(keyCode)
.(TIMING.USE_CANS_KEY_DELAY)
()
.(TIMING.USE_CANS_CLICK_DELAY)
(.KeyCode.One)
State.UsingCans =
()
State.PickingUpCans
State.PickingUpCans =
cans = ()
#cans ==
(.KeyCode.One)
State.PickingUpCans =
_, can (cans)
Config.AutoPickupCans State.Running
ClickWateringCan (() ClickWateringCan:(can) )
.(TIMING.PICKUP_CANS_DELAY)
tree = ()
tree ClickWateringCan (() ClickWateringCan:(tree) )
plot = ()
plot ClickWateringCan (() ClickWateringCan:(plot) )
(.KeyCode.One)
State.PickingUpCans =
()
ClaimWaterPurifier (() ClaimWaterPurifier:() )
()
slot, level = ()
slot level < WaterPurifier (() WaterPurifier:(slot) )
()
Prestige (() Prestige:() )
(speed)
char = LocalPlayer.Character
char
humanoid = char:()
humanoid (() humanoid.WalkSpeed = speed )
()
State.Tapping
State.Tapping =
i = , Config.TapThreads
Threads[ .. i] = .(()
Config.AutoTap State.Running (); .(TIMING.TAP_SPEED)
)
Threads[] = .(()
Config.AutoTap State.Running .()
State.Tapping =
)
()
Config.AutoTap =
i = , Config.TapThreads ( .. i)
()
State.Tapping =
()
State.HittingTrees
State.HittingTrees =
Threads[] = .(()
Config.AutoMutations State.Running (); .(TIMING.MUTATION_LOOP_DELAY)
State.HittingTrees =
)
()
Config.AutoMutations =
()
State.HittingTrees =
()
State.CollectingCoins
State.CollectingCoins =
Threads[] = .(()
Config.AutoCollectCoins State.Running (); .(TIMING.COIN_LOOP_DELAY)
State.CollectingCoins =
)
()
Config.AutoCollectCoins =
()
State.CollectingCoins =
()
State.Prestiging
State.Prestiging =
Threads[] = .(()
Config.AutoPrestige State.Running (); .(TIMING.PRESTIGE_INTERVAL)
State.Prestiging =
)
()
Config.AutoPrestige =
()
State.Prestiging =
()
Threads[] = .(()
Config.AutoUseCans State.Running
() .(UseCans)
.(TIMING.USE_CANS_INTERVAL)
)
() Config.AutoUseCans = ; ()
()
Threads[] = .(()
Config.AutoPickupCans State.Running
() .(PickupCans)
.(TIMING.PICKUP_CANS_INTERVAL)
)
() Config.AutoPickupCans = ; ()
()
Threads[] = .(()
Config.AutoClaimPurifier State.Running (); .(TIMING.CLAIM_PURIFIER_INTERVAL)
)
() Config.AutoClaimPurifier = ; ()
()
Threads[] = .(()
Config.AutoFillPurifier State.Running
() (); .(TIMING.FILL_PURIFIER_DELAY)
.(TIMING.FILL_PURIFIER_INTERVAL)
)
() Config.AutoFillPurifier = ; ()
()
State.Stealing
State.Stealing =
Threads[] = .(()
Config.AutoSteal State.Running (); .(TIMING.STEAL_LOOP_INTERVAL)
State.Stealing =
)
() Config.AutoSteal = ; (); State.Stealing =
()
()
Connections.SpeedHack = RunService.Heartbeat:(()
Config.SpeedHack State.Running (Config.SpeedAmount)
)
() Config.SpeedHack = ; (); ()
()
ScreenGui = .()
ScreenGui.Name = .. (.(, ))
ScreenGui.ResetOnSpawn =
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
ScreenGui.IgnoreGuiInset =
gethui
ScreenGui.Parent = ()
.protect_gui
.(ScreenGui)
ScreenGui.Parent = CoreGui
ScreenGui.Parent = LocalPlayer:()
Theme = {
Background = .(, , ),
Sidebar = .(, , ),
Section = .(, , ),
Accent = .(, , ),
AccentGlow = .(, , ),
TextLight = .(, , ),
TextDim = .(, , ),
Red = .(, , ),
Green = .(, , ),
}
isMobile = UserInputService.TouchEnabled UserInputService.MouseEnabled
(frame, handle)
handle = handle frame
dragging, dragInput, dragStart, startPos
handle.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = frame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
handle.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
speed = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
TweenService:(frame, speed, {
Position = .(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
}):()
)
MainFrame = .()
MainFrame.Name =
MainFrame.Size = isMobile .(, , , ) .(, , , )
MainFrame.Position = .(, , , )
MainFrame.AnchorPoint = .(, )
MainFrame.BackgroundColor3 = Theme.Background
MainFrame.BackgroundTransparency =
MainFrame.Parent = ScreenGui
MC = .(, MainFrame)
MC.CornerRadius = .(, )
MS = .(, MainFrame)
MS.Thickness =
MS.Transparency =
MS.Color = Theme.Accent
MainGradient = .(, MainFrame)
MainGradient.Rotation =
MainGradient.Color = ColorSequence.({
ColorSequenceKeypoint.(, .(,,)),
ColorSequenceKeypoint.(, .(,,))
})
Header = .(, MainFrame)
Header.Name =
Header.Size = .(, , , )
Header.BackgroundTransparency =
Title = .(, Header)
Title.Size = .(, , , )
Title.Position = .(, , , )
Title.BackgroundTransparency =
Title.Text =
Title.RichText =
Title.Font = .Font.GothamBlack
Title.TextSize =
Title.TextColor3 = Theme.TextLight
Title.TextXAlignment = .TextXAlignment.Left
CloseBtn = .(, Header)
CloseBtn.Size = .(, , , )
CloseBtn.AnchorPoint = .(, )
CloseBtn.Position = .(, -, , )
CloseBtn.BackgroundColor3 = Theme.Red
CloseBtn.BackgroundTransparency =
CloseBtn.Text =
CloseBtn.Font = .Font.GothamMedium
CloseBtn.TextSize =
CloseBtn.TextColor3 = Theme.TextLight
.(, CloseBtn).CornerRadius = .(, )
CloseBtn.MouseButton1Click:(Unload)
MinBtn = .(, Header)
MinBtn.Size = .(, , , )
MinBtn.AnchorPoint = .(, )
MinBtn.Position = .(, -, , )
MinBtn.BackgroundColor3 = Theme.Sidebar
MinBtn.Text =
MinBtn.Font = .Font.GothamMedium
MinBtn.TextSize =
MinBtn.TextColor3 = Theme.TextLight
.(, MinBtn).CornerRadius = .(, )
(MainFrame, Header)
TabContainer = .(, MainFrame)
TabContainer.Name =
TabContainer.Size = .(, -, , )
TabContainer.Position = .(, , , )
TabContainer.BackgroundTransparency =
ContentContainer = .(, MainFrame)
ContentContainer.Name =
ContentContainer.Size = .(, -, , -)
ContentContainer.Position = .(, , , )
ContentContainer.BackgroundColor3 = Theme.Sidebar
ContentContainer.BackgroundTransparency =
.(, ContentContainer).CornerRadius = .(, )
Tabs = {}
CurrentTab =
(tabId)
id, objs (Tabs)
id == tabId
objs.Button.TextColor3 = Theme.Accent
objs.Indicator.BackgroundTransparency =
objs.Page.Visible =
objs.Button.TextColor3 = Theme.TextDim
objs.Indicator.BackgroundTransparency =
objs.Page.Visible =
CurrentTab = tabId
TabListLayout = .(, TabContainer)
TabListLayout.FillDirection = .FillDirection.Horizontal
TabListLayout.SortOrder = .SortOrder.LayoutOrder
TabListLayout.Padding = .(, )
(id, name)
Page = .(, ContentContainer)
Page.Name = id
Page.Size = .(, -, , -)
Page.Position = .(, , , )
Page.BackgroundTransparency =
Page.ScrollBarThickness =
Page.ScrollBarImageColor3 = Theme.Accent
Page.CanvasSize = .(, , , )
Page.AutomaticCanvasSize = .AutomaticSize.Y
Page.Visible =
Layout = .(, Page)
Layout.CellSize = isMobile .(, , , ) .(, , , )
Layout.FillDirectionMaxCells = isMobile
Layout.CellPadding = .(, , , )
Padding = .(, Page)
Padding.PaddingTop = .(, )
Padding.PaddingBottom = .(, )
Padding.PaddingLeft = .(, )
Padding.PaddingRight = .(, )
Btn = .(, TabContainer)
Btn.Text = name
Btn.Size = .(, , , )
Btn.BackgroundTransparency =
Btn.Font = .Font.GothamBold
Btn.TextSize =
Btn.TextColor3 = Theme.TextDim
Ind = .(, Btn)
Ind.Size = .(, , , )
Ind.Position = .(, , , -)
Ind.BackgroundColor3 = Theme.Accent
Ind.BorderSizePixel =
Ind.BackgroundTransparency =
Btn.MouseButton1Click:(() (id) )
Tabs[id] = {Button = Btn, Page = Page, Indicator = Ind}
Page
(parent, text, default, callback)
Container = .(, parent)
Container.BackgroundColor3 = Theme.Section
Container.BackgroundTransparency =
.(, Container).CornerRadius = .(, )
Label = .(, Container)
Label.Size = .(, -, , )
Label.Position = .(, , , )
Label.BackgroundTransparency =
Label.Text = text
Label.Font = .Font.GothamSemibold
Label.TextColor3 = Theme.TextLight
Label.TextSize =
Label.TextXAlignment = .TextXAlignment.Left
SwitchBg = .(, Container)
SwitchBg.Size = .(, , , )
SwitchBg.AnchorPoint = .(, )
SwitchBg.Position = .(, -, , )
SwitchBg.BackgroundColor3 = default Theme.Accent Theme.Sidebar
.(, SwitchBg).CornerRadius = .(, )
Knob = .(, SwitchBg)
Knob.Size = .(, , , )
Knob.Position = default .(, -, , -) .(, , , -)
Knob.BackgroundColor3 = Theme.TextLight
.(, Knob).CornerRadius = .(, )
Button = .(, Container)
Button.Size = .(,,,)
Button.BackgroundTransparency =
Button.Text =
active = default
Button.MouseButton1Click:(()
active = active
TweenService:(SwitchBg, TweenInfo.(), {
BackgroundColor3 = active Theme.Accent Theme.Sidebar
}):()
TweenService:(Knob, TweenInfo.(, .EasingStyle.Back, .EasingDirection.Out), {
Position = active .(, -, , -) .(, , , -)
}):()
.(() (active) )
)
(parent, text, min, max, default, callback)
Container = .(, parent)
Container.BackgroundColor3 = Theme.Section
Container.BackgroundTransparency =
.(, Container).CornerRadius = .(, )
Label = .(, Container)
Label.Size = .(, , , )
Label.Position = .(, , , )
Label.BackgroundTransparency =
Label.Text = text
Label.Font = .Font.GothamSemibold
Label.TextColor3 = Theme.TextLight
Label.TextSize =
Label.TextXAlignment = .TextXAlignment.Left
ValueLabel = .(, Container)
ValueLabel.Size = .(, , , )
ValueLabel.Position = .(, -, , )
ValueLabel.BackgroundTransparency =
ValueLabel.Text = (default)
ValueLabel.Font = .Font.GothamBold
ValueLabel.TextColor3 = Theme.Accent
ValueLabel.TextSize =
ValueLabel.TextXAlignment = .TextXAlignment.Right
SliderBar = .(, Container)
SliderBar.Size = .(, -, , )
SliderBar.Position = .(, , , )
SliderBar.BackgroundColor3 = Theme.Sidebar
.(, SliderBar).CornerRadius = .(, )
Fill = .(, SliderBar)
pct = (.(default, min, max) - min) / (max - min)
Fill.Size = .(pct, , , )
Fill.BackgroundColor3 = Theme.Accent
.(, Fill).CornerRadius = .(, )
Trigger = .(, Container)
Trigger.Size = .(, , , )
Trigger.Position = .(, , , )
Trigger.BackgroundTransparency =
Trigger.Text =
(inputX)
barAbsX = SliderBar.AbsolutePosition.X
barWidth = SliderBar.AbsoluteSize.X
p = .((inputX - barAbsX) / barWidth, , )
newVal = .(min + ((max - min) * p))
TweenService:(Fill, TweenInfo.(), {Size = .(p, , , )}):()
ValueLabel.Text = (newVal)
(newVal)
sliding =
Trigger.InputBegan:((inp)
inp.UserInputType == .UserInputType.MouseButton1 inp.UserInputType == .UserInputType.Touch
sliding =
(inp.Position.X)
)
UserInputService.InputEnded:((inp)
inp.UserInputType == .UserInputType.MouseButton1 inp.UserInputType == .UserInputType.Touch
sliding =
)
UserInputService.InputChanged:((inp)
sliding (inp.UserInputType == .UserInputType.MouseMovement inp.UserInputType == .UserInputType.Touch)
(inp.Position.X)
)
(parent, text, callback)
Btn = .(, parent)
Btn.Size = .(, , , )
Btn.BackgroundColor3 = Theme.Accent
Btn.Text = text
Btn.Font = .Font.GothamBold
Btn.TextColor3 = Theme.TextLight
Btn.TextSize =
Btn.AutoButtonColor =
.(, Btn).CornerRadius = .(, )
Btn.MouseEnter:(()
TweenService:(Btn, TweenInfo.(), {BackgroundColor3 = Theme.AccentGlow}):()
)
Btn.MouseLeave:(()
TweenService:(Btn, TweenInfo.(), {BackgroundColor3 = Theme.Accent}):()
)
Btn.MouseButton1Click:(callback)
Farming = (, )
PlayerTab = (, )
Credits = (, )
()
(Farming, , Config.AutoTap, (v)
Config.AutoTap = v; v () ()
)
(Farming, , Config.AutoMutations, (v)
Config.AutoMutations = v; v () ()
)
(Farming, , Config.AutoCollectCoins, (v)
Config.AutoCollectCoins = v; v () ()
)
(Farming, , Config.AutoFillPurifier, (v)
Config.AutoFillPurifier = v; Config.AutoClaimPurifier = v
v (); () (); ()
)
(Farming, , Config.AutoUseCans, (v)
Config.AutoUseCans = v; v () ()
)
(Farming, , Config.AutoPickupCans, (v)
Config.AutoPickupCans = v; v () ()
)
(Farming, , Config.AutoSteal, (v)
Config.AutoSteal = v; v () ()
)
(Farming, , , , Config.WaterLevelThreshold, (v)
Config.WaterLevelThreshold = v
)
(PlayerTab, , Config.SpeedHack, (v)
Config.SpeedHack = v; v () ()
)
(PlayerTab, , Config.AutoPrestige, (v)
Config.AutoPrestige = v; v () ()
)
StatsFrame = .(, PlayerTab)
StatsFrame.BackgroundColor3 = Theme.Section
StatsFrame.BackgroundTransparency =
StatsFrame.Size = .(, , , )
.(, StatsFrame).CornerRadius = .(, )
StatLabel = .(, StatsFrame)
StatLabel.Size = .(, -, , )
StatLabel.Position = .(, , , )
StatLabel.BackgroundTransparency =
StatLabel.TextColor3 = Theme.TextDim
StatLabel.TextSize =
StatLabel.Font = .Font.GothamMedium
StatLabel.TextXAlignment = .TextXAlignment.Left
StatLabel.Text =
(PlayerTab, , ()
()
)
CreditLabel = .(, Credits)
CreditLabel.Size = .(, , , )
CreditLabel.BackgroundTransparency =
CreditLabel.Text =
CreditLabel.Font = .Font.Gotham
CreditLabel.TextColor3 = Theme.TextDim
CreditLabel.TextSize =
Minimized =
OldSize = MainFrame.Size
MinBtn.MouseButton1Click:(()
Minimized = Minimized
Minimized
ContentContainer.Visible =
TabContainer.Visible =
TweenService:(MainFrame, TweenInfo.(, .EasingStyle.Quart), {
Size = .(, , , ),
BackgroundTransparency =
}):()
MinBtn.Text =
ContentContainer.Visible =
TabContainer.Visible =
TweenService:(MainFrame, TweenInfo.(, .EasingStyle.Quart), {
Size = OldSize,
BackgroundTransparency =
}):()
MinBtn.Text =
)
isMobile
MobileBtn = .(, ScreenGui)
MobileBtn.Size = .(, , , )
MobileBtn.Position = .(, , , )
MobileBtn.BackgroundColor3 = Theme.Sidebar
MobileBtn.Text =
MobileBtn.TextSize =
.(, MobileBtn).CornerRadius = .(,)
.(, MobileBtn).Color = Theme.Accent
.(, MobileBtn).Thickness =
(MobileBtn)
MobileBtn.MouseButton1Click:(()
MainFrame.Visible = MainFrame.Visible
)
Threads[] = .(()
State.Running
(()
coins = ()
water = ()
pres = ()
StatLabel.Text = .(
,
coins, water, Config.WaterLevelThreshold, (pres)
)
)
.()
)
()
()
().ChopYourTree = {
Config = Config,
State = State,
TIMING = TIMING,
Unload = Unload,
UpdateGUI = CreateGUI
}A Remade Version of CHOP TREE AUTO by me | OPEN SOURCE All Other Features by leet are still the same.. Features by me: - Minimize button - Info

馃尨 Chop Your Tree

馃尨 Chop Your Tree