Run it
Copy the script and paste it into your executor.
WindUI = (:())()
Window = WindUI:({
Title = ,
Icon = ,
Folder = ,
Size = .(, ),
Theme = ,
})
Tab = Window:({
Title = ,
Icon = ,
})
config = {
plantDelay = ,
plantAmount = ,
surroundBase = ,
circleRadius = ,
highlightColor = .(,,),
autoPlant = ,
}
highlightPart = .()
highlightPart.Anchored =
highlightPart.CanCollide =
highlightPart.Transparency =
highlightPart.Size = .(,,)
highlightPart.Color = config.highlightColor
highlightPart.Parent =
Tab:({
Title = ,
Desc = ,
Value = {Min=, Max=, Default=config.plantAmount},
Step = ,
Callback = (value)
config.plantAmount = value
})
Tab:({
Title = ,
Desc = ,
Value = {Min=, Max=, Default=config.circleRadius},
Step = ,
Callback = (value)
config.circleRadius = value
})
Tab:({
Title = ,
Desc = ,
Value = {Min=, Max=, Default=config.plantDelay},
Step = ,
Callback = (value)
config.plantDelay = value
})
Tab:({
Title = ,
Value = config.surroundBase,
Callback = (state)
config.surroundBase = state
})
Tab:({
Title = ,
Default = config.highlightColor,
Callback = (color)
config.highlightColor = color
highlightPart.Color = color
})
Tab:({
Title = ,
Value = config.autoPlant,
Callback = (state)
config.autoPlant = state
})
Tab:({
Title = ,
Callback = ()
()
})
Client = (.Players.LocalPlayer.PlayerScripts.Client)
player = .Players.LocalPlayer
capturedArgs =
capturedRemote =
originalInvokeServer = Client.Events.RequestPlantItem.InvokeServer
Client.Events.RequestPlantItem.InvokeServer = (self,...)
args = {...}
capturedArgs = args
capturedRemote = self
(self,...)
()
character = player.Character
character character.PrimaryPart
nearest, shortest = , .huge
_, item (.Items:())
item.Name == item.PrimaryPart
dist = (item.PrimaryPart.Position - character.PrimaryPart.Position).Magnitude
dist < shortest
shortest = dist
nearest = item
nearest
(position)
raycastParams = RaycastParams.()
raycastParams.FilterDescendantsInstances = {.Map.Ground, .Map:()}
raycastParams.FilterType = .RaycastFilterType.Include
raycastParams.IgnoreWater =
result = :(position, .(,-,), raycastParams)
result result.Position
(center,radius,count)
positions = {}
stepAngle = (*.pi)/count
i=,count-
angle = i*stepAngle
pos = .(center.X+radius*.(angle), center.Y+, center.Z+radius*.(angle))
ground = (pos)
ground .(positions, ground)
positions
()
.Map.Campground.MainFire.PrimaryPart
.Map.Campground.MainFire.PrimaryPart.Position
()
target = ()
target target.PrimaryPart
campfire = ()
campfire
highlightPart.Position = target.PrimaryPart.Position + .(,,)
config.surroundBase
circle = (campfire, config.circleRadius, config.plantAmount)
#circle ==
originalParent = target.Parent
target.Parent = .ReplicatedStorage.TempStorage
result = Client.Events.RequestPlantItem:(target,circle[])
result result.Success target.Parent = originalParent
.(()
capturedArgs capturedRemote
i=,#circle
.(config.plantDelay)
capturedArgs[] = circle[i]
capturedRemote:((capturedArgs))
)
ground = (target.PrimaryPart.Position)
ground
target.Parent = .ReplicatedStorage.TempStorage
result = Client.Events.RequestPlantItem:(target,ground)
result result.Success target.Parent = .Items
.(()
capturedArgs capturedRemote
i=,config.plantAmount-
.(config.plantDelay)
capturedRemote:((capturedArgs))
)
.(()
.(config.plantDelay)
config.autoPlant
()
)Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: github.com.
Inf saplings

99 Nights in the Forest 🔦