Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
char = player.Character player.CharacterAdded:()
autofarm =
chosenMob =
hitRange =
farmSpeed =
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = :()
Frame = .()
Frame.Size = .(, , , )
Frame.Position = .(, , , )
Frame.BackgroundColor3 = .(, , )
Frame.Active =
Frame.Draggable =
Frame.Parent = ScreenGui
.(, Frame).CornerRadius = .(,)
Title = .()
Title.Size = .(, , , )
Title.Text =
Title.BackgroundColor3 = .(, , )
Title.TextColor3 = .(, , )
Title.TextScaled =
Title.Font = .Font.SourceSansBold
Title.Parent = Frame
.(, Title).CornerRadius = .(,)
FarmBtn = .()
FarmBtn.Size = .(, -, , )
FarmBtn.Position = .(, , , )
FarmBtn.BackgroundColor3 = .(, , )
FarmBtn.TextColor3 = .(, , )
FarmBtn.Text =
FarmBtn.Parent = Frame
.(, FarmBtn).CornerRadius = .(,)
FarmBtn.MouseButton1Click:(()
autofarm = autofarm
FarmBtn.Text = .. (autofarm )
FarmBtn.BackgroundColor3 = autofarm .(, , ) .(, , )
)
MobList = .()
MobList.Size = .(, -, , )
MobList.Position = .(, , , )
MobList.CanvasSize = .(,,,)
MobList.BackgroundColor3 = .(, , )
MobList.ScrollBarThickness =
MobList.Parent = Frame
.(, MobList).CornerRadius = .(,)
()
MobList:()
y =
_, mob (:())
mob:() mob:() mob.Humanoid.Health >
btn = .()
btn.Size = .(, -, , )
btn.Position = .(, , , y)
btn.BackgroundColor3 = .(, , )
btn.TextColor3 = .(, , )
btn.Text = mob.Name
btn.Parent = MobList
.(, btn).CornerRadius = .(,)
btn.MouseButton1Click:(()
chosenMob = mob.Name
(, chosenMob)
)
y = y +
MobList.CanvasSize = .(,,,y)
.(()
autofarm chosenMob
char = player.Character
humanoid = char char:()
char humanoid char:()
target =
_, mob (:())
mob.Name == chosenMob mob:() mob:()
mob.Humanoid.Health >
target = mob
target
target target:() target.Humanoid.Health > autofarm
humanoid:(target.HumanoidRootPart.Position)
(char.HumanoidRootPart.Position - target.HumanoidRootPart.Position).Magnitude < hitRange
_, tool (char:())
tool:()
tool:()
.(farmSpeed)
.(farmSpeed)
)
.(()
()
.()
)Auto Farm (Beta) V1 Number mobs name click and start autofarm