local C=script.Parent.Parent.Parent local J=C:WaitForChild("\079\116\104\101\114\115\116\097\116\115")local t=C:WaitForChild("\108\101\097\100\101\114\115\116\097\116\115")local O=C:WaitForChild("\080\108\097\121\101\114\083\116\097\116\115")local m=false local h=false function GetAuto()J.Grow.Value=(J.Grow.Value+1*O.GrowBoost.Value)+1*O.GrowsGamepass.Value t.TotalGrows.Value=(t.TotalGrows.Value+1*O.GrowBoost.Value)+1*O.GrowsGamepass.Value game.Workspace.Tree.Size=game.Workspace.Tree.Size+Vector3.new(1,1,1)game.Workspace.Base.Size=game.Workspace.Base.Size+Vector3.new(1,0,1)game.Workspace.Pop:Play()end script.Parent.AutoClick.MouseButton1Click:Connect(function()if m==false then m=true script.Parent.AutoClick.TextLabel.Text="\079\078"else m=false script.Parent.AutoClick.TextLabel.Text="\079\070\070"end end)while wait()do if m==true then if h==false then h=true GetAuto(1)wait(1.5)h=false end end end
--Funcion Del AutoClick
local plr = script.Parent.Parent.Parent

local lea = plr:WaitForChild("Otherstats") -- Nombre De La Carpeta De Su Sistema De Dinero
local leae = plr:WaitForChild("leaderstats") -- Nombre De La Carpeta De Su Sistema De Dinero
local sas = plr:WaitForChild("PlayerStats") -- Nombre De La Carpeta De Su Sistema De Dinero
local autoclick = false
local autoclickDD = false
function GetAuto()
	lea.Grow.Value = lea.Grow.Value + 1 * sas.GrowBoost.Value + 1 * sas.GrowsGamepass.Value
	leae.TotalGrows.Value = leae.TotalGrows.Value + 1 * sas.GrowBoost.Value + 1 * sas.GrowsGamepass.Value
	game.Workspace.Tree.Size = game.Workspace.Tree.Size + Vector3.new(1, 1, 1)
	game.Workspace.Base.Size = game.Workspace.Base.Size + Vector3.new(1, 0, 1)
	game.Workspace.Pop:Play()
end

script.Parent.AutoClick.MouseButton1Click:Connect(function()
	if autoclick == false then
		autoclick = true
		script.Parent.AutoClick.TextLabel.Text = "ON"
	else
		autoclick = false
		script.Parent.AutoClick.TextLabel.Text = "OFF"
	end
end)

while wait() do
	if autoclick == true then
		if autoclickDD == false then
			autoclickDD = true
			GetAuto(1) -- Cambia El Tiempo De Espera Al Recargar
			wait(1.5) -- Tambien Cambia Para El Tiempo De Espera Al Recargar
			autoclickDD = false
		end
	end
end
