Advertisement
Guest User

Void Fishing Script

a guest
Jul 29th, 2024
2,574
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.79 KB | Gaming | 0 0
  1. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  2. local Window = OrionLib:MakeWindow({Name = "SCRIPTED | CHEATER.FUN", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
  3.  
  4. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  5. local RemoteEvent = ReplicatedStorage:WaitForChild("RemoteEvent")
  6. local player = game.Players.LocalPlayer
  7. local character = player.Character or player.CharacterAdded:Wait()
  8. local humanoid = character:WaitForChild("Humanoid")
  9. local virtualUser = game:GetService("VirtualUser")
  10.  
  11. local itemNames = {"LicoricePickle", "DeviledTomato", "DivinePumpkin", "VoidApple"}
  12. local boostOptions = {"1", "2", "3", "4", "5", "10", "14", "18", "22"}
  13. local rockCandyBoost = "RockCandy"
  14. local troves = {"GildedTrove", "AncientTrove", "LargeTrove", "SmallTrove", "TrashTrove"}
  15.  
  16. local autoCollectFruits = false
  17. local autoCatchFish = false
  18. local autoBuyBuff = {}
  19. local autoBuyRockCandy = false
  20. local savedPosition = nil
  21. local buyingBoosts = false
  22. local antiAfk = false
  23. local autoBuyAllBoosts = false
  24. local autoOpenAllTroves = false
  25. local autoOpenSpecificTroves = {
  26.     ["GildedTrove"] = false,
  27.     ["AncientTrove"] = false,
  28.     ["LargeTrove"] = false,
  29.     ["SmallTrove"] = false,
  30.     ["TrashTrove"] = false
  31. }
  32.  
  33. local function fish()
  34.     while autoCatchFish do
  35.         wait(0.05)
  36.         local args = {"Fish"}
  37.         RemoteEvent:FireServer(unpack(args))
  38.     end
  39. end
  40.  
  41. local function buyBoost(boostItem)
  42.     local args = {
  43.         [1] = "BuyBoost",
  44.         [2] = boostItem
  45.     }
  46.     RemoteEvent:FireServer(unpack(args))
  47.     print("Boost purchased: " .. boostItem)
  48. end
  49.  
  50. local function buyAllBoosts()
  51.     while buyingBoosts do
  52.         for _, boostItem in ipairs(boostOptions) do
  53.             if autoBuyBuff[boostItem] then
  54.                 buyBoost(boostItem)
  55.             end
  56.         end
  57.         wait(10)
  58.     end
  59. end
  60.  
  61. local function instantBuyAllBoostsHandler()
  62.     while autoBuyAllBoosts do
  63.         for _, boostItem in ipairs(boostOptions) do
  64.             buyBoost(boostItem)
  65.         end
  66.         wait(1)
  67.     end
  68. end
  69.  
  70. local function buyRockCandyHandler()
  71.     while autoBuyRockCandy do
  72.         buyBoost(rockCandyBoost)
  73.         wait(240)
  74.     end
  75. end
  76.  
  77. local function collectItem(model)
  78.     for _, object in ipairs(model:GetDescendants()) do
  79.         if object:IsA("ProximityPrompt") then
  80.             fireproximityprompt(object)
  81.         end
  82.     end
  83. end
  84.  
  85. local function teleportPlayerToItem(item)
  86.     local primaryPart = item.PrimaryPart or item:FindFirstChild("HumanoidRootPart") or item:FindFirstChildWhichIsA("BasePart")
  87.     if primaryPart then
  88.         humanoid.PlatformStand = true
  89.         character:SetPrimaryPartCFrame(primaryPart.CFrame)
  90.  
  91.         wait(0.2)
  92.         collectItem(item)
  93.         wait(0.3)
  94.  
  95.         if savedPosition then
  96.             character:SetPrimaryPartCFrame(savedPosition)
  97.         end
  98.  
  99.         humanoid.PlatformStand = false
  100.     end
  101. end
  102.  
  103. local function teleportToNearestItem()
  104.     local closestItem = nil
  105.     local closestDistance = math.huge
  106.  
  107.     for _, object in ipairs(game.Workspace:GetChildren()) do
  108.         if table.find(itemNames, object.Name) and object:IsA("Model") then
  109.             local body = object:FindFirstChild("Body")
  110.             if body then
  111.                 local proximityPrompt = body:FindFirstChild("ProximityPrompt")
  112.                 if proximityPrompt then
  113.                     local primaryPart = object.PrimaryPart or object:FindFirstChild("HumanoidRootPart") or object:FindFirstChildWhichIsA("BasePart")
  114.                     if primaryPart then
  115.                         local distance = (character.HumanoidRootPart.Position - primaryPart.Position).magnitude
  116.                         if distance < closestDistance then
  117.                             closestDistance = distance
  118.                             closestItem = object
  119.                         end
  120.                     end
  121.                 end
  122.             end
  123.         end
  124.     end
  125.  
  126.     if closestItem then
  127.         teleportPlayerToItem(closestItem)
  128.     end
  129. end
  130.  
  131. local function autoCollectFruitsHandler()
  132.     while autoCollectFruits do
  133.         teleportToNearestItem()
  134.         wait(61)
  135.     end
  136. end
  137.  
  138. local function onItemAdded(item)
  139.     if item:IsA("Model") and table.find(itemNames, item.Name) then
  140.         if autoCollectFruits then
  141.             teleportToNearestItem()
  142.         end
  143.     end
  144. end
  145.  
  146. game.Workspace.ChildAdded:Connect(onItemAdded)
  147.  
  148. local function openTroves()
  149.     while autoOpenAllTroves do
  150.         local orderedTroves = {"GildedTrove", "AncientTrove", "LargeTrove", "SmallTrove", "TrashTrove"}
  151.         for _, troveName in ipairs(orderedTroves) do
  152.             local args = {
  153.                 [1] = "OpenTrove",
  154.                 [2] = troveName,
  155.                 [3] = "None"
  156.             }
  157.             RemoteEvent:FireServer(unpack(args))
  158.             wait(0.5)
  159.         end
  160.     end
  161. end
  162.  
  163. local function openSpecificTroves()
  164.     while true do
  165.         for troveName, shouldOpen in pairs(autoOpenSpecificTroves) do
  166.             if shouldOpen then
  167.                 local args = {
  168.                     [1] = "OpenTrove",
  169.                     [2] = troveName,
  170.                     [3] = "None"
  171.                 }
  172.                 RemoteEvent:FireServer(unpack(args))
  173.                 wait(0.5)
  174.             end
  175.         end
  176.         wait(0.5)
  177.     end
  178. end
  179.  
  180. local function onTroveAdded(trove)
  181.     if trove:IsA("Model") and table.find(troves, trove.Name) and autoOpenAllTroves then
  182.         local args = {
  183.             [1] = "OpenTrove",
  184.             [2] = trove.Name,
  185.             [3] = "None"
  186.         }
  187.         RemoteEvent:FireServer(unpack(args))
  188.     end
  189. end
  190.  
  191. game.Workspace.ChildAdded:Connect(onTroveAdded)
  192.  
  193. local function antiAfkHandler()
  194.     while antiAfk do
  195.         virtualUser:CaptureController()
  196.         virtualUser:ClickButton2(Vector2.new())
  197.         wait(60)
  198.     end
  199. end
  200.  
  201. local Tab = Window:MakeTab({
  202.     Name = "Auto Farm",
  203.     Icon = "rbxassetid://4483345998",
  204.     PremiumOnly = false
  205. })
  206.  
  207. Tab:AddToggle({
  208.     Name = "Auto Collect Nearest Fruits and Return",
  209.     Default = false,
  210.     Callback = function(Value)
  211.         autoCollectFruits = Value
  212.         if autoCollectFruits then
  213.             savedPosition = character.HumanoidRootPart.CFrame
  214.             spawn(autoCollectFruitsHandler)
  215.         else
  216.             savedPosition = nil
  217.         end
  218.     end
  219. })
  220.  
  221. Tab:AddToggle({
  222.     Name = "Auto Catch Fish",
  223.     Default = false,
  224.     Callback = function(Value)
  225.         autoCatchFish = Value
  226.         if autoCatchFish then
  227.             spawn(fish)
  228.         end
  229.     end
  230. })
  231.  
  232. local BoostTab = Window:MakeTab({
  233.     Name = "Boosts",
  234.     Icon = "rbxassetid://4483345998",
  235.     PremiumOnly = false
  236. })
  237.  
  238. BoostTab:AddToggle({
  239.     Name = "Buy All Boosts (Voidapple NOT Included)",
  240.     Default = false,
  241.     Callback = function(Value)
  242.         autoBuyAllBoosts = Value
  243.         if autoBuyAllBoosts then
  244.             spawn(instantBuyAllBoostsHandler)
  245.         end
  246.     end
  247. })
  248.  
  249.  
  250. local boostNames = {
  251.     ["5"] = "Taco ($250)",
  252.     ["1"] = "Burger ($1000)",
  253.     ["2"] = "Chips ($1000)",
  254.     ["4"] = "Pizza Slice ($1000)",
  255.     ["3"] = "Energy Bar ($2000)",
  256.     ["10"] = "2x Luck ($120,000)",
  257.     ["18"] = "2x Efficiency ($120,000)",
  258.     ["14"] = "3x Luck ($240,000)",
  259.     ["22"] = "3x Efficiency ($240,000)"
  260. }
  261.  
  262. for boost, name in pairs(boostNames) do
  263.     BoostTab:AddToggle({
  264.         Name = name,
  265.         Default = false,
  266.         Callback = function(Value)
  267.             autoBuyBuff[boost] = Value
  268.             if Value then
  269.                 if not buyingBoosts then
  270.                     buyingBoosts = true
  271.                     spawn(buyAllBoosts)
  272.                 end
  273.             else
  274.                 local anyBoostsEnabled = false
  275.                 for _, isEnabled in pairs(autoBuyBuff) do
  276.                     if isEnabled then
  277.                         anyBoostsEnabled = true
  278.                         break
  279.                     end
  280.                 end
  281.                 if not anyBoostsEnabled then
  282.                     buyingBoosts = false
  283.                 end
  284.             end
  285.         end
  286.     })
  287. end
  288.  
  289. BoostTab:AddToggle({
  290.     Name = "Voidapple Rock Candy ($25,000,000)",
  291.     Default = false,
  292.     Callback = function(Value)
  293.         autoBuyRockCandy = Value
  294.         if autoBuyRockCandy then
  295.             spawn(buyRockCandyHandler)
  296.         end
  297.     end
  298. })
  299.  
  300. local TrovesTab = Window:MakeTab({
  301.     Name = "Auto Open Troves",
  302.     Icon = "rbxassetid://4483345998",
  303.     PremiumOnly = false
  304. })
  305.  
  306. local troveNames = {
  307.     ["GildedTrove"] = "Gilded Trove",
  308.     ["AncientTrove"] = "Ancient Trove",
  309.     ["LargeTrove"] = "Large Trove",
  310.     ["SmallTrove"] = "Small Trove",
  311.     ["TrashTrove"] = "Junk"
  312. }
  313.  
  314. TrovesTab:AddToggle({
  315.     Name = "Open All Troves",
  316.     Default = false,
  317.     Callback = function(Value)
  318.         autoOpenAllTroves = Value
  319.         if autoOpenAllTroves then
  320.             spawn(openTroves)
  321.         end
  322.     end
  323. })
  324.  
  325. for trove, name in pairs(troveNames) do
  326.     TrovesTab:AddToggle({
  327.         Name = name,
  328.         Default = false,
  329.         Callback = function(Value)
  330.             autoOpenSpecificTroves[trove] = Value
  331.         end
  332.     })
  333. end
  334.  
  335. spawn(openSpecificTroves)
  336.  
  337. local MiscTab = Window:MakeTab({
  338.     Name = "Misc",
  339.     Icon = "rbxassetid://4483345998",
  340.     PremiumOnly = false
  341. })
  342.  
  343. MiscTab:AddToggle({
  344.     Name = "Anti-AFK",
  345.     Default = false,
  346.     Callback = function(Value)
  347.         antiAfk = Value
  348.         if antiAfk then
  349.             spawn(antiAfkHandler)
  350.         end
  351.     end
  352. })
  353.  
  354. local CreditsTab = Window:MakeTab({
  355.     Name = "Credits",
  356.     Icon = "rbxassetid://4483345998",
  357.     PremiumOnly = false
  358. })
  359.  
  360. CreditsTab:AddLabel("Made By: Scripted")
  361. CreditsTab:AddLabel("Discord: T9Twg3vYyY")
  362. CreditsTab:AddLabel("Roblox Scripts: CHEATER.FUN")
  363.  
  364. OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement