Run it
Copy the script and paste it into your executor.
TweenService = :()
ReplicatedStorage = :()
Players = :()
Player = Players.LocalPlayer
Character = Player.Character Player.CharacterAdded:()
Root = Character:()
ToolActivate = ReplicatedStorage.Shared.Packages.Knit.Services.ToolService.RF.ToolActivated
().Config = {
AutoMine = ,
SafeDistance = ,
MaxHP = ,
MinSwingDelay = ,
MaxSwingDelay = ,
RockFolder =
}
(Hitbox)
Model = Hitbox:()
Model
Info = Model:(, )
Info
Frame = Info:()
Frame
HPLabel = Frame:()
HPLabel HPLabel:()
Text = HPLabel.Text
Text = Text:(, ):(, )
(Text)
()
Rocks = :(, )
Rocks
Folder = Rocks:(().Config.RockFolder)
Folder Folder:()
Folder
(, ().Config.RockFolder)
()
Result = {}
Folder = ()
Folder Result
_, Inst (Folder:())
Inst.Name == Inst:()
.(Result, Inst)
Result
OreList = ()
SelectedFolder = ()
SelectedFolder
SelectedFolder.DescendantAdded:((Child)
Child.Name == Child:()
.(OreList, Child)
)
()
Best, BestDist = , .huge
RP = Root.Position
_, Ore (OreList)
Ore Ore.Parent
HP = (Ore)
HP HP <= ().Config.MaxHP
Dist = (Ore.Position - RP).Magnitude
Dist < BestDist
BestDist = Dist
Best = Ore
Best
(TargetPos, FacePos)
Distance = (TargetPos - Root.Position).Magnitude
Speed = .(, )
Duration = Distance / Speed
Duration = Duration * (.(, ) / )
Duration < Duration =
CF = .(TargetPos, FacePos)
Tween = TweenService:(Root, TweenInfo.(Duration, .EasingStyle.Sine, .EasingDirection.InOut), { = CF})
Tween:()
Tween.Completed:()
CurrentTarget =
.(()
.()
().Config.AutoMine
CurrentTarget CurrentTarget.Parent
HP = (CurrentTarget)
HP
CurrentTarget =
CurrentTarget =
CurrentTarget
CurrentTarget = ()
Ore = CurrentTarget
Dir = (Ore.Position - Root.Position).Unit
TargetPos = Ore.Position - Dir * ().Config.SafeDistance
(TargetPos, Ore.Position)
Delay = .(().Config.MinSwingDelay*, ().Config.MaxSwingDelay*)/
(()
ToolActivate:()
)
.(Delay)
)not mine auto mine the forge open source credits to owner whoever made

The Forge [BETA]