Run it
Copy the script and paste it into your executor.
-- Xóa GUI cũ nếu có
if game.CoreGui:FindFirstChild("FarmGui") then
game.CoreGui.FarmGui:()
Players = :()
player = Players.LocalPlayer
TARGET_POSITION = .(, , -)
()
().farm =
.(()
().farm
character = player.Character player.CharacterAdded:()
character character:()
character:(.(TARGET_POSITION))
.()
)
()
().farm =
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
ScreenGui.Parent = .CoreGui
Button = .()
Button.Size = .(, , , )
Button.Position = .(, , , )
Button.BackgroundColor3 = .(, , )
Button.TextColor3 = .(, , )
Button.Text =
Button.TextScaled =
Button.Font = .Font.GothamBold
Button.BorderSizePixel =
Button.AutoButtonColor =
Button.Parent = ScreenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = Button
stroke = .()
stroke.Color = .(, , )
stroke.Thickness =
stroke.Parent = Button
dragging, dragStart, startPos
Button.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = Button.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
Button.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch)
delta = input.Position - dragStart
Button.Position = .(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
)
isOn =
Button.MouseButton1Click:(()
isOn = isOn
isOn
Button.Text =
Button.BackgroundColor3 = .(, , )
()
Button.Text =
Button.BackgroundColor3 = .(, , )
()
)auto farm toggle