1. local localPlayer = game:GetService("Players").LocalPlayer
  2. local character = localPlayer.Character
  3. local RS = game:GetService("ReplicatedStorage").RS
  4. local misc = RS.Remotes.Misc
  5. local fishState = misc.FishState
  6. local fishClock = misc.FishClock
  7. local toolAction = misc.ToolAction
  8. local function GetRod(rod)
  9. for i,v in ipairs(localPlayer:WaitForChild("Backpack"):GetChildren()) do
  10. if v:IsA("Tool") and string.match(v.Name, rod) then
  11. return v
  12. end
  13. end
  14. for i,v in ipairs(character:GetChildren()) do
  15. if v:IsA("Tool") and string.match(v.Name, rod) then
  16. return v
  17. end
  18. end
  19. en
  20. shared.AutoFish = false -- toggle autofish
  21. while true do
  22. local rod = GetRod("Wooden Rod") -- rod that you want to use
  23. if not shared.AutoFish then
  24. fishState:FireServer("StopClock")
  25. break
  26. end
  27. -- silent fishing (don't have to hold rod)
  28. if not character:FindFirstChild("FishClock") then
  29. fishClock:FireServer(rod, nil, Vector3.new(19760, 400, 700))
  30. elseif character:FindFirstChild("FishBiteGoal") then
  31. fishState:FireServer("Reel")
  32. end
  33. --[[
  34. replace code with this if you want legit mode (have to hold the rod to use)
  35. if not character:FindFirstChild("FishClock") then
  36. toolAction:FireServer(rod)
  37. task.wait(3.5)
  38. elseif character:FindFirstChild("FishBiteGoal") then
  39. toolAction:FireServer(rod)
  40. end
  41. ]]--
  42. task.wait()
  43. end