Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
pGui = player:()
RunService = :()
ReplicatedStorage = :()
.AutoFarmEnabled =
lastFishPosition =
pGui:()
pGui.FishingGui:()
screenGui = .()
screenGui.Name =
screenGui.IgnoreGuiInset =
screenGui.ResetOnSpawn =
screenGui.Parent = pGui
mainButton = .()
mainButton.Size = .(, , , )
mainButton.Position = .(, -, , )
mainButton.BackgroundColor3 = .(, , )
mainButton.Text =
mainButton.TextColor3 = .(, , )
mainButton.Font = .Font.GothamBold
mainButton.TextSize =
mainButton.Parent = screenGui
uiCorner = .()
uiCorner.CornerRadius = .(, )
uiCorner.Parent = mainButton
mainButton.MouseButton1Click:(()
.AutoFarmEnabled = .AutoFarmEnabled
mainButton.Text = .AutoFarmEnabled
mainButton.BackgroundColor3 = .AutoFarmEnabled .(, , ) .(, , )
)
(char)
root = char:(, )
hum = char:(, )
lastFishPosition .AutoFarmEnabled
.()
root.CFrame = .(lastFishPosition)
hum
hum.HealthChanged:(()
hum.Health < hum.MaxHealth
hum.Health = hum.MaxHealth
)
player.Character (player.Character)
player.CharacterAdded:(onCharacterAdded)
RunService.RenderStepped:(()
.AutoFarmEnabled
gameFolder = :()
fishes = gameFolder gameFolder:()
fishes
char = player.Character
root = char char:()
root
highest =
targetFish =
_, fish (fishes:())
cash = fish:()
owner = fish:()
cash ( owner owner == ) cash > highest
highest = cash
targetFish = fish
targetFish
(()
currentPos = targetFish:()
root.CFrame = currentPos
lastFishPosition = currentPos.Position
prompt = targetFish.RootPart:()
prompt
(prompt)
remote = ReplicatedStorage:()
ReplicatedStorage.Packets:()
ReplicatedStorage.Packets.Packet:()
remote
remote:(buffer.())
)
)Based on the Lua script provided (which appears to be designed for a fishing-themed game on Roblox), here is a breakdown of the features and functionalities included in the code. 1. Persistent User Interface (UI) Toggle Button: Creates a graphical button on your screen labeled "AUTO-FARM." Visual Feedback: The button changes color (Green for ON, Red for OFF) and updates its text to show the current status of the script. Clean Re-loading: The script automatically checks for and destroys any older versions of its UI to prevent overlapping buttons if you run the script multiple times. 2. Automated Fishing (Auto-Farm) Smart Targeting: The script scans the game for fish and prioritizes them based on the CashPerSec attribute, meaning it automatically targets the most profitable fish available. Owner Check: It ensures it only targets fish that are "unowned" or available to be caught. Teleportation: It continuously teleports your character’s HumanoidRootPart directly to the position of the target fish. Interaction Automation: Proximity Prompts: It automatically triggers any ProximityPrompt attached to the fish. Remote Firing: It sends a specific network packet (\003\001) to the ga

Universal