evannik23

Roblox Be a silly seal automatic reel script

Apr 2nd, 2025 (edited)
1,565
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.58 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local PlayerUi = plr.PlayerGui
  3. local Backpack = plr.Backpack
  4. local Char = plr.Character
  5. local FishingRod = Char:FindFirstChild("Fishing Rod") or Backpack:FindFirstChild("Fishing Rod")
  6. local Deployed = FishingRod.Vars.IsDeployed
  7. local FishingUI = plr.PlayerGui:WaitForChild("FishingGameUI")
  8. local Prompt = FishingUI.CatchBar.ClickPrompt
  9. local Mouse = plr:GetMouse()
  10. if getgenv().Connections==nil then
  11.     getgenv().Connections={}
  12.     else
  13.         for _,Connection in pairs(getgenv().Connections) do
  14.             Connection:Disconnect()
  15.         end
  16.         getgenv().Connections={}
  17.     end
  18.    
  19. function AddConnection(connection)
  20.     table.insert(getgenv().Connections,connection)
  21. end
  22. function ActivateReelLogic()
  23.  
  24.     if FishingUI.Enabled == false then return end
  25.     if Prompt.Text == "Press & Hold" then
  26.         wait(0.5)
  27.         mouse1press()
  28.     else
  29.         mouse1release()
  30.         while task.wait() do
  31.             if Prompt.Text == "Press & Hold" then break end
  32.             mouse1click()
  33.         end
  34.     end
  35. end
  36. AddConnection(Prompt:GetPropertyChangedSignal("Text"):Connect(ActivateReelLogic))
  37. AddConnection(FishingUI:GetPropertyChangedSignal("Enabled"):Connect(function()
  38.      if FishingUI.Enabled == false then mouse1release() wait(0.5) mouse1click() return end
  39.      ActivateReelLogic()
  40. end))
  41. AddConnection(Deployed:GetPropertyChangedSignal("Value"):Connect(function()
  42.     if Deployed.Value == false then return end
  43.     while wait(0.1) do
  44.         if FishingUI.Enabled == true then break end
  45.         mouse1click()
  46.     end
  47. end))
Tags: Roblox
Advertisement
Add Comment
Please, Sign In to add comment