PH4N70M4LPH4

FISCH AUTO FARM LUA SCRIPT FOR JJSPLOIT (USE F KEY TO TOGGLE)

Nov 25th, 2024
3,816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.18 KB | Gaming | 0 0
  1. local Players = game:GetService("Players")
  2. local RunService = game:GetService("RunService")
  3. local UserInputService = game:GetService("UserInputService")
  4. local StarterGui = game:GetService("StarterGui")
  5.  
  6. local player = Players.LocalPlayer
  7. local playerGui = player:WaitForChild("PlayerGui")
  8. local autoFishEnabled = false
  9. local trackingConnection = nil
  10.  
  11. local screenGui = Instance.new("ScreenGui")
  12. screenGui.Name = "AutoFishIndicator"
  13. screenGui.Parent = playerGui
  14.  
  15. local indicator = Instance.new("Frame")
  16. indicator.Name = "Indicator"
  17. indicator.Size = UDim2.new(0, 10, 0, 10)
  18. indicator.Position = UDim2.new(0, 10, 1, -15)
  19. indicator.BackgroundColor3 = Color3.new(1, 0, 0)
  20. indicator.BorderSizePixel = 0
  21. indicator.Parent = screenGui
  22.  
  23. local circle = Instance.new("UICorner")
  24. circle.CornerRadius = UDim.new(1, 0)
  25. circle.Parent = indicator
  26.  
  27. local function performAutoFish()
  28.     local reel = playerGui:FindFirstChild("reel")
  29.     if not reel then return end
  30.  
  31.     local bar = reel:FindFirstChild("bar")
  32.     if not bar then return end
  33.  
  34.     local playerbar = bar:FindFirstChild("playerbar")
  35.     local fish = bar:FindFirstChild("fish")
  36.  
  37.     if playerbar and fish then
  38.         playerbar.Position = fish.Position
  39.     end
  40. end
  41.  
  42. local function toggleAutoFish()
  43.     autoFishEnabled = not autoFishEnabled
  44.  
  45.     if autoFishEnabled then
  46.         trackingConnection = RunService.RenderStepped:Connect(performAutoFish)
  47.         StarterGui:SetCore("SendNotification", {
  48.             Title = "Auto Fish",
  49.             Text = "Enabled",
  50.             Duration = 2
  51.         })
  52.         indicator.BackgroundColor3 = Color3.new(0, 1, 0)
  53.     else
  54.         if trackingConnection then
  55.             trackingConnection:Disconnect()
  56.             trackingConnection = nil
  57.         end
  58.         StarterGui:SetCore("SendNotification", {
  59.             Title = "Auto Fish",
  60.             Text = "Disabled",
  61.             Duration = 2
  62.         })
  63.         indicator.BackgroundColor3 = Color3.new(1, 0, 0)
  64.     end
  65. end
  66.  
  67. Keybind to toggle auto-fish (Default: F key)
  68. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  69.     if not gameProcessed and input.KeyCode == Enum.KeyCode.F then
  70.         toggleAutoFish()
  71.     end
  72. end)
Advertisement
Add Comment
Please, Sign In to add comment