notsalty999

fishing sim byfron

May 20th, 2023
265
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 17.97 KB | Source Code | 1 0
  1. --[[
  2.     WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  3. ]]
  4. --by Purples
  5.  
  6. local Config = {
  7.     WindowName = "version 2.3",
  8.     Color = Color3.fromRGB(182,41,243),
  9.     Keybind = Enum.KeyCode.RightBracket
  10. }
  11.  
  12.  
  13.  
  14. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/AlexR32/Bracket/main/BracketV3.lua"))()
  15. local Window = Library:CreateWindow(Config, game:GetService("CoreGui"))
  16.  
  17. local Tab1 = Window:CreateTab("Fishing Simulator")
  18.  
  19.  
  20. local Section1 = Tab1:CreateSection("")
  21. local Section2 = Tab1:CreateSection("")
  22.  
  23. local RunService = game:GetService("RunService")
  24. local player = game.Players.LocalPlayer
  25. local hum = player.Character.HumanoidRootPart
  26. local mouse = player:GetMouse()
  27. local tpservice= game:GetService("TeleportService")
  28. local VirtualUser= game:service'VirtualUser'
  29.  
  30. local ToolsCache = game:GetService("ReplicatedStorage").ToolsCache[player.UserId]
  31. local plrTools
  32. local bLocation
  33. local fuckMonster
  34. local fuckMobby
  35.  
  36. local seacreatureSelectionned
  37. local locationSelected
  38. local eggs
  39.  
  40. -- Credits To Charwar for Server Hop
  41. local PlaceID = game.PlaceId
  42. local AllIDs = {}
  43. local foundAnything = ""
  44. local actualHour = os.date("!*t").hour
  45. local Deleted = false
  46. local File = pcall(function()
  47.     AllIDs = game:GetService('HttpService'):JSONDecode(readfile("NotSameServers.json"))
  48. end)
  49. if not File then
  50.     table.insert(AllIDs, actualHour)
  51.     writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
  52. end
  53.  
  54.  
  55. -- Server Hop
  56. function TPReturner()
  57.     local Site;
  58.     if foundAnything == "" then
  59.         Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100'))
  60.     else
  61.         Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100&cursor=' .. foundAnything))
  62.     end
  63.     local ID = ""
  64.     if Site.nextPageCursor and Site.nextPageCursor ~= "null" and Site.nextPageCursor ~= nil then
  65.         foundAnything = Site.nextPageCursor
  66.     end
  67.     local num = 0;
  68.     for i,v in pairs(Site.data) do
  69.         local Possible = true
  70.         ID = tostring(v.id)
  71.         if tonumber(v.maxPlayers) > tonumber(v.playing) then
  72.             for _,Existing in pairs(AllIDs) do
  73.                 if num ~= 0 then
  74.                     if ID == tostring(Existing) then
  75.                         Possible = false
  76.                     end
  77.                 else
  78.                     if tonumber(actualHour) ~= tonumber(Existing) then
  79.                         local delFile = pcall(function()
  80.                             delfile("NotSameServers.json")
  81.                             AllIDs = {}
  82.                             table.insert(AllIDs, actualHour)
  83.                         end)
  84.                     end
  85.                 end
  86.                 num = num + 1
  87.             end
  88.             if Possible == true then
  89.                 table.insert(AllIDs, ID)
  90.                 wait()
  91.                 pcall(function()
  92.                     writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
  93.                     wait()
  94.                     game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceID, ID, game.Players.LocalPlayer)
  95.                 end)
  96.                 wait(4)
  97.             end
  98.         end
  99.     end
  100. end
  101.  
  102. function switchServer()
  103.     while wait() do
  104.         pcall(function()
  105.             TPReturner()
  106.             if foundAnything ~= "" then
  107.                 TPReturner()
  108.             end
  109.         end)
  110.     end
  111. end
  112.  
  113. function teleport(loc)
  114.     bLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  115.     if game.Players.LocalPlayer.Character.Humanoid.Sit then
  116.         game.Players.LocalPlayer.Character.Humanoid.Sit = false
  117.     end
  118.     wait()
  119.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = loc
  120. end
  121.  
  122. -- Get Tools Name (Just hidden the tool in replicatedstorage, savageeeee but characte win)
  123. for i, getTools in pairs(player.Character:GetChildren()) do
  124.     if getTools:IsA("Tool") and  getTools:FindFirstChild("GripC1") then
  125.         plrTools = getTools.Name
  126.     end
  127. end
  128.  
  129. function EquipTool()
  130.     game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.SetEquippedItem:InvokeServer(2)
  131.     local args = {
  132.      [1] = game:GetService("ReplicatedStorage").ToolsCache:FindFirstChild(player.UserId)[plrTools]
  133.     }
  134.     game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EquipTool:FireServer(unpack(args))
  135. end
  136.  
  137. game:service'Players'.LocalPlayer.Idled:connect(function()
  138.     VirtualUser:CaptureController()
  139.     VirtualUser:ClickButton2(Vector2.new())
  140. end)
  141.  
  142. -------------
  143.  
  144.  
  145.  
  146.  
  147.  
  148. -------------------------------------------------------
  149.  
  150.  
  151.  
  152. Section1:CreateLabel("Farming")
  153.  
  154. local Toggle6 = Section1:CreateToggle("Auto Kill", nil, function(State)
  155.     shared.toggle = State
  156.      if shared.toggle then
  157.     fuckMonster = RunService.Stepped:Connect(function()
  158.      for i, v in pairs(game.Workspace:GetChildren()) do
  159.      if v:FindFirstChild("Health") and v:FindFirstChild("IsSeaMonster") then
  160.         if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  161.                  
  162.                
  163.                     for i, getTools in pairs(player.Character:GetChildren()) do
  164.                         if getTools:IsA("Tool") and  getTools:FindFirstChild("GripC1") then
  165.                             plrTools = getTools.Name
  166.                         end
  167.                     end
  168.                  
  169.                     teleport(v.HumanoidRootPart.CFrame + Vector3.new(0, 30, 0))
  170.                     wait(1)
  171.                     game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.MonsterHit:FireServer(workspace[v.Name], tostring(plrTools), true)
  172.                     break
  173.                 elseif not game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  174.                     EquipTool()
  175.                break
  176.             end
  177.         end
  178.      end
  179.      end)
  180.     else
  181.          fuckMonster:Disconnect()
  182.           teleport(CFrame.new(1.8703980445862, 53.57190322876, -188.37982177734))
  183.         end
  184. end)
  185.  
  186. local Toggle11 = Section1:CreateToggle("Auto Kill Mobby Wood", nil, function(State)
  187.     shared.toggle = State
  188.      if shared.toggle then
  189.     fuckMobby = RunService.Stepped:Connect(function()
  190.      for i, v in pairs(game.Workspace:GetChildren()) do
  191.      if v:FindFirstChild("Health") and v:FindFirstChild("IsSeaMonster") and v.Name == "MobbyWood" then
  192.         if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  193.                  
  194.                
  195.                     for i, getTools in pairs(player.Character:GetChildren()) do
  196.                         if getTools:IsA("Tool") and  getTools:FindFirstChild("GripC1") then
  197.                             plrTools = getTools.Name
  198.                         end
  199.                     end
  200.                  
  201.                     teleport(v.HumanoidRootPart.CFrame + Vector3.new(0, 50, 0))
  202.                     wait(1)
  203.                     game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.MonsterHit:FireServer(workspace[v.Name], tostring(plrTools), true)
  204.                     break
  205.                 elseif not game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  206.                     EquipTool()
  207.                break
  208.             end
  209.         end
  210.      end
  211.      end)
  212.     else
  213.          fuckMobby:Disconnect()
  214.           teleport(CFrame.new(1.8703980445862, 53.57190322876, -188.37982177734))
  215.         end
  216. end)
  217.  
  218.  
  219. local Toggle8 = Section1:CreateToggle("Reduce Lag", nil, function(State)
  220.     toggle = State
  221.      if toggle then
  222.         while toggle do
  223.             wait(30)
  224.             for i, v in pairs(game.Workspace.DroppedItems:GetChildren()) do
  225.                 if v:IsA("Model") then
  226.                     v:Destroy()
  227.                 end
  228.             end
  229.         end
  230.       end
  231. end)
  232.  
  233. local Toggle10 = Section1:CreateToggle("Auto Lock Rare Items", nil, function(State)
  234.     toggle = State
  235.      if toggle then
  236.         while toggle do
  237.             wait(.1)
  238. for i, v in pairs(game.Players.LocalPlayer.PlayerGui.Interface.Inventory.Inventory.Frame.Backpack.List.Container:GetChildren()) do
  239.         if string.match(v.Name, "key") then
  240.             for i, model in pairs(v:GetDescendants()) do
  241.                 if model:IsA("Tool") then
  242.                     if model.RarityLevel.Value >= 4 then
  243.                        
  244.                         if v.DraggableComponent.Contents.LockIcon.Visible == false then
  245.                             print(v.Name, model.Name, model.RarityLevel.Value)
  246.                         local args = {
  247.                             [1] = "Tools",
  248.                             [2] = v.Name,
  249.                             [3] = true
  250.                         }
  251.                         game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.SetInventoryItemLock:InvokeServer(unpack(args))
  252.                                                    
  253.                         end
  254.                     end
  255.                 end
  256.             end
  257.         end
  258. end
  259.            
  260.         end
  261.       end
  262. end)
  263.  
  264. Toggle10:AddToolTip("Rarity Locked: \nEpic \nLegendary \nEvent \nSecret")
  265.  
  266. local Toggle1 = Section1:CreateToggle("Auto Caught", nil, function(State)
  267. toggle = State
  268.     while toggle do
  269.         wait(2.6)
  270.         game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.FishCaught:FireServer()
  271.     end
  272. end)
  273.  
  274. local Toggle2 = Section1:CreateToggle("Auto Sell", nil, function(State)
  275. toggle = State
  276.     while toggle do
  277.         wait(2.6)
  278.         game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.processGameItemSold:InvokeServer("SellEverything")
  279.     end
  280. end)
  281.  
  282. local Toggle3 = Section1:CreateToggle("Remove Fog", nil, function(State)
  283.     toggle = State
  284.         while toggle do
  285.         if  game.Lighting.FogEnd == 100 then
  286.          game.Lighting.FogEnd = 1000000
  287.         end
  288.             game.Lighting.FogEnd = 1000000
  289.             game.Lighting.GlobalLighting:Destroy()
  290.             game.Lighting.Atmosphere:Destroy()    
  291.              game.Lighting.Lighting:Destroy()  
  292.               game.Lighting.ColorCorrection:Destroy()    
  293.                game.Lighting.Bloom:Destroy()    
  294.                 game.Lighting.Blur:Destroy()    
  295.                  game.Lighting.Atmosphere:Destroy()                
  296.         end
  297. end)
  298.  
  299. Section1:CreateLabel("Chest")
  300.  
  301. local Toggle4 = Section1:CreateToggle("Daily Chest", nil, function(State)
  302.     toggle = State
  303.         while toggle do
  304.                 for i, v in pairs(game.Workspace.Islands:GetDescendants()) do
  305.                     if v:IsA("Model") and string.match(v.Name, "Chest") then
  306.                         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame
  307.                         wait(1)
  308.                         fireproximityprompt(v.HumanoidRootPart.ProximityPrompt)
  309.                     end
  310.                 end            
  311.         end
  312. end)
  313.  
  314. local Toggle9 = Section1:CreateToggle("Random Chest", nil, function(State)
  315.     toggle = State
  316.         while toggle do
  317.                 for i, v in pairs(game.Workspace.RandomChests:GetDescendants()) do
  318.                     if v:IsA("Model") and string.match(v.Name, "Chest") then
  319.                         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame
  320.                         wait(1)
  321.                         fireproximityprompt(v.HumanoidRootPart.ProximityPrompt)
  322.                     end
  323.                 end            
  324.         end
  325. end)
  326.  
  327. local Toggle5 = Section1:CreateToggle("Suken Chest", nil, function(State)
  328.     toggle = State
  329.         while toggle do
  330.             wait(5)
  331.              for i, v in pairs(game.Workspace:GetChildren()) do
  332.                 if string.find(v.Name, "ShipModel") then
  333.                         teleport(v.HitBox.CFrame)
  334.                         for i, x in pairs(v:GetChildren()) do
  335.                             if string.match(x.Name, "Chest_") then
  336.                                 teleport(x.HumanoidRootPart.CFrame)
  337.                                 wait(1)
  338.                                 fireproximityprompt(x.HumanoidRootPart.ProximityPrompt)    
  339.                             end                                
  340.                         end
  341.                     break
  342.                  end
  343.               end
  344.         end
  345. end)
  346.  
  347.  
  348. ---------------------------------------------------------------------
  349. Section1:CreateLabel("Teleport")
  350.  
  351. local Dropdown2 = Section1:CreateDropdown("Store", {"Boat Store","Raygan's Tavern","Supplies Store", "Pets Store"}, function(String)
  352.     locationSelected = String
  353. end)
  354.  
  355. local Button1 = Section1:CreateButton("Teleport", function()
  356.     if locationSelected == "Boat Store" then
  357.             game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("BoatShopInterior", "Inside")
  358.         elseif locationSelected == "Raygan's Tavern" then
  359.             game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("TavernInterior", "Inside")
  360.         elseif locationSelected == "Supplies Store" then
  361.             game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("SuppliesStoreInterior", "Inside")  
  362.         elseif locationSelected == "Pets Store" then
  363.             game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("PetShop", "MainEntrance")
  364.     end
  365. end)
  366.  
  367. local Dropdown3 = Section1:CreateDropdown("Location", {"Port Jackson","Ancient Shores","Shadow Isles", "Pharaoh's Dunes", "Eruption Island", "Monster's Borough", "Suken Ship"}, function(String)
  368.     locationSelected = String
  369. end)
  370.  
  371. local Button2 = Section1:CreateButton("Teleport", function()
  372.     if locationSelected == "Port Jackson" then
  373.         teleport(CFrame.new(1.8703980445862, 53.57190322876, -188.37982177734))          
  374.         elseif locationSelected == "Ancient Shores" then
  375.         teleport(CFrame.new(-2436.431640625, 43.564971923828, -1683.4526367188))    
  376.         elseif locationSelected == "Shadow Isles" then
  377.         teleport(CFrame.new(2196.9926757812, 43.491630554199, -2216.4543457031))    
  378.         elseif locationSelected == "Pharaoh's Dunes" then
  379.         teleport(CFrame.new(-4142.74609375, 46.71378326416, 262.05679321289))
  380.         elseif locationSelected == "Eruption Island" then
  381.         teleport(CFrame.new(3022.9311523438, 52.347640991211, 1323.74609375))
  382.         elseif locationSelected == "Monster's Borough" then
  383.         teleport(CFrame.new(-3211.9047851562, 41.850345611572, 2735.306640625))  
  384.         elseif locationSelected == "Suken Ship" then
  385.              for i, v in pairs(game.Workspace:GetChildren()) do
  386.                 if string.find(v.Name, "ShipModel") then
  387.                         teleport(v.HitBox.CFrame)
  388.                     break
  389.                  end
  390.               end                              
  391.     end
  392. end)
  393.  
  394. Section2:CreateLabel("Boats")
  395.  
  396. local Slider1 = Section2:CreateSlider("Boat Speed", 0,150,nil,true, function(Value)
  397.  for i, v in pairs(game.Workspace:GetChildren()) do
  398.         if v.Name == (game.Players.LocalPlayer.Name .. "'s Boat") then
  399.              v.Controller.VehicleSeat.MaxSpeed = tonumber(Value)
  400.          end
  401.     end  
  402. end)
  403.  
  404. local Button3 = Section2:CreateButton("Tp to Boat", function()
  405.     for i, v in pairs(game.Workspace:GetChildren()) do
  406.         if v.Name == (game.Players.LocalPlayer.Name .. "'s Boat") then
  407.              teleport(v.Controller.VehicleSeat.CFrame + Vector3.new(0, 3, 0))
  408.         end
  409.     end
  410. end)
  411. local Button4 = Section2:CreateButton("Remove Borders", function()
  412.     for i, v in pairs(game.Workspace.IgnoredByMouse.BoatBorders:GetChildren()) do
  413.         v:Destroy()
  414.     end
  415. end)  
  416.  
  417. Section2:CreateLabel("Pets")
  418.  
  419.  
  420. local Dropdown4 = Section2:CreateDropdown("Egg's", {"Royals","Normal","Ruby", "Void", "Silver", "Stone", "Gold"}, function(String)
  421.     eggs = String
  422. end)
  423.  
  424. local Button8 = Section2:CreateButton("Buy", function()
  425.     if eggs == "Royal" then
  426.         game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("royalegg")    
  427.         elseif eggs == "Normal" then
  428.         game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("normalegg")  
  429.         elseif eggs == "Ruby" then
  430.         game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("rubyegg")  
  431.         elseif eggs == "Void" then
  432.         game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("voidegg")
  433.         elseif eggs == "Silver" then
  434.         game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("silverchest")
  435.         elseif eggs == "Stone" then
  436.         game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("stonechest")    
  437.         elseif eggs == "Gold" then
  438.         game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("goldchest")            
  439.     end
  440. end)
  441.  
  442. Section2:CreateLabel("Misc")
  443.  
  444.  
  445. local Button8 = Section2:CreateButton("Instant ProximityPrompt", function()
  446. game:GetService("ProximityPromptService").PromptButtonHoldBegan:Connect(function(prompt)
  447.    prompt.HoldDuration = 0
  448. end)
  449. end)
  450.  
  451. local Button5 = Section2:CreateButton("Rejoins", function()
  452. tpservice:Teleport(game.PlaceId, plr)
  453. end)
  454.  
  455. local Button6 = Section2:CreateButton("Server Hop", function()
  456. switchServer()
  457. end)  
  458.  
  459. local Button7 = Section2:CreateButton("Discord", function()
  460. setclipboard("adgXmSMCUM")
  461. end)
  462.  
  463. local Toggle7 = Section2:CreateToggle("UI Toggle", nil, function(State)
  464.     Window:Toggle(State)
  465. end)
  466.  
  467. Toggle7:CreateKeybind(tostring(Config.Keybind):gsub("Enum.KeyCode.", ""), function(Key)
  468.     Config.Keybind = Enum.KeyCode[Key]
  469. end)    
  470. Toggle7:SetState(true)
  471.  
  472. EquipTool()
  473. game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(character)
  474.     EquipTool()
  475. end)
  476.  
  477. --Hi
Tags: Fish
Add Comment
Please, Sign In to add comment