Advertisement
GodNecromancers

Fishing simulator script

Apr 22nd, 2022
3,004
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.98 KB | None | 0 0
  1. -- Subscribe :)
  2.  
  3. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua')))()
  4. local RunService = game:GetService("RunService")
  5. local player = game.Players.LocalPlayer
  6. local hum = player.Character.HumanoidRootPart
  7. local mouse = player:GetMouse()
  8. local tpservice= game:GetService("TeleportService")
  9.  
  10. local ToolsCache = game:GetService("ReplicatedStorage").ToolsCache[player.UserId]
  11. local plrTools
  12. local bLocation
  13. local fuckMonster
  14. local fuckMobby
  15. local autoSell
  16. local autoChest
  17. local autoCaught
  18.  
  19. -- Credits To Charwar for Server Hop
  20. local PlaceID = game.PlaceId
  21. local AllIDs = {}
  22. local foundAnything = ""
  23. local actualHour = os.date("!*t").hour
  24. local Deleted = false
  25. local File = pcall(function()
  26. AllIDs = game:GetService('HttpService'):JSONDecode(readfile("NotSameServers.json"))
  27. end)
  28. if not File then
  29. table.insert(AllIDs, actualHour)
  30. writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
  31. end
  32.  
  33.  
  34. -- Server Hop
  35. function TPReturner()
  36. local Site;
  37. if foundAnything == "" then
  38. Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100'))
  39. else
  40. Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100&cursor=' .. foundAnything))
  41. end
  42. local ID = ""
  43. if Site.nextPageCursor and Site.nextPageCursor ~= "null" and Site.nextPageCursor ~= nil then
  44. foundAnything = Site.nextPageCursor
  45. end
  46. local num = 0;
  47. for i,v in pairs(Site.data) do
  48. local Possible = true
  49. ID = tostring(v.id)
  50. if tonumber(v.maxPlayers) > tonumber(v.playing) then
  51. for _,Existing in pairs(AllIDs) do
  52. if num ~= 0 then
  53. if ID == tostring(Existing) then
  54. Possible = false
  55. end
  56. else
  57. if tonumber(actualHour) ~= tonumber(Existing) then
  58. local delFile = pcall(function()
  59. delfile("NotSameServers.json")
  60. AllIDs = {}
  61. table.insert(AllIDs, actualHour)
  62. end)
  63. end
  64. end
  65. num = num + 1
  66. end
  67. if Possible == true then
  68. table.insert(AllIDs, ID)
  69. wait()
  70. pcall(function()
  71. writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
  72. wait()
  73. game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceID, ID, game.Players.LocalPlayer)
  74. end)
  75. wait(4)
  76. end
  77. end
  78. end
  79. end
  80.  
  81. function switchServer()
  82. while wait() do
  83. pcall(function()
  84. TPReturner()
  85. if foundAnything ~= "" then
  86. TPReturner()
  87. end
  88. end)
  89. end
  90. end
  91.  
  92.  
  93. -- Teleportion system by [...] Open source script from RobloxScripts.com
  94. function teleport(loc)
  95. bLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  96. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  97. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  98. end
  99. wait()
  100. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = loc
  101. end
  102.  
  103. -- Get Tools Name (Just hidden the tool in replicatedstorage, savageeeee but characte win)
  104. for i, getTools in pairs(player.Character:GetChildren()) do
  105. if getTools:IsA("Tool") and getTools:FindFirstChild("GripC1") then
  106. plrTools = getTools.Name
  107. end
  108. end
  109.  
  110. print(plrTools)
  111.  
  112. local function fireproximityprompt(Obj, Amount, Skip)
  113. if Obj.ClassName == "ProximityPrompt" then
  114. Amount = Amount or 1
  115. local PromptTime = Obj.HoldDuration
  116. if Skip then
  117. Obj.HoldDuration = 0
  118. end
  119. for i = 1, Amount do
  120. Obj:InputHoldBegin()
  121. if not Skip then
  122. wait(Obj.HoldDuration)
  123. end
  124. Obj:InputHoldEnd()
  125. end
  126. Obj.HoldDuration = PromptTime
  127. else
  128. error("userdata<ProximityPrompt> expected")
  129. end
  130. end
  131.  
  132. _G.MainColor = Color3.fromRGB(255,255,255);
  133. _G.MainTextColor = Color3.fromRGB(69,69,69);
  134.  
  135. _G.SecondaryColor = Color3.fromRGB(255,255,255);
  136.  
  137. _G.ButtonColor = Color3.fromRGB(255,255,255);
  138. _G.ToggleColor = Color3.fromRGB(255,255,255);
  139. _G.SliderColor = Color3.fromRGB(255,255,255);
  140. _G.TertiaryColor = Color3.fromRGB(34, 34, 34);
  141. _G.DraggerCircleColor = Color3.fromRGB(255,255,255);
  142. _G.PointerColor = Color3.fromRGB(34, 34, 34);
  143.  
  144. local w = library:CreateWindow("Utilities") -- Creates the window
  145.  
  146. local b = w:CreateFolder("°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°")
  147.  
  148.  
  149.  
  150. b:Button("Caught",function()
  151. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.FishCaught:FireServer()
  152. end)
  153.  
  154. b:Button("Sell",function()
  155. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.processGameItemSold:InvokeServer("SellEverything")
  156. end)
  157.  
  158. b:Button("Remove Fog",function()
  159. game.Lighting.FogEnd = 1000000
  160. game.Lighting.GlobalLighting:Destroy()
  161. game.Lighting.Atmosphere:Destroy()
  162. end)
  163.  
  164. local hh = library:CreateWindow("Teleport") -- Creates the window
  165.  
  166. local h = hh:CreateFolder("•••••••••••Store•••••••••••••")
  167. local i = hh:CreateFolder("•••••••••••Island•••••••••••••")
  168.  
  169.  
  170. local enterBoat = true
  171. h:Button("Boat Store",function()
  172. if enterBoat == true then
  173. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("BoatShopInterior", "Inside")
  174. enterBoat = false
  175. else
  176. enterBoat = true
  177. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("BoatShopInterior","MainEntrance")
  178. end
  179. end)
  180.  
  181. local enterTavern = true
  182. h:Button("Raygan's Tavern",function()
  183. if enterTavern == true then
  184. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("TavernInterior", "Inside")
  185. enterTavern = false
  186. else
  187. enterTavern = true
  188. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("TavernInterior","MainEntrance")
  189. end
  190. end)
  191.  
  192. local enterSupplies = true
  193. h:Button("Supplies Store",function()
  194. if enterSupplies == true then
  195. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("SuppliesStoreInterior", "Inside")
  196. enterSupplies = false
  197. else
  198. enterSupplies = true
  199. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("SuppliesStoreInterior","MainEntrance")
  200. end
  201. end)
  202.  
  203. local enterPets = true
  204. h:Button("Pets Store",function()
  205. if enterPets == true then
  206. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("PetShop", "MainEntrance")
  207. enterPets = false
  208. else
  209. enterPets = true
  210. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.EnterDoor:InvokeServer("PetShop","MainExit")
  211. end
  212. end)
  213.  
  214. h:Button("Suken Ship",function()
  215. for i, v in pairs(game.Workspace:GetChildren()) do
  216. if string.find(v.Name, "ShipModel") then
  217. teleport(v.HitBox.CFrame)
  218. break
  219. end
  220. end
  221. end)
  222.  
  223. i:Button("Port Jackson",function()
  224. teleport(CFrame.new(1.8703980445862, 53.57190322876, -188.37982177734))
  225. end)
  226.  
  227. i:Button("Ancient Shores",function()
  228. teleport(CFrame.new(-2436.431640625, 43.564971923828, -1683.4526367188))
  229. end)
  230.  
  231. i:Button("Shadow Isles",function()
  232. teleport(CFrame.new(2196.9926757812, 43.491630554199, -2216.4543457031))
  233. end)
  234.  
  235. i:Button("Pharaoh's Dunes",function()
  236. teleport(CFrame.new(-4142.74609375, 46.71378326416, 262.05679321289))
  237. end)
  238.  
  239. i:Button("Eruption Island",function()
  240. teleport(CFrame.new(3022.9311523438, 52.347640991211, 1323.74609375))
  241. end)
  242.  
  243. i:Button("Monster's Borough",function()
  244. teleport(CFrame.new(-3211.9047851562, 41.850345611572, 2735.306640625))
  245. end)
  246.  
  247. local Window2 = library:CreateWindow("Farm")
  248. local c = Window2:CreateFolder("°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°")
  249.  
  250. c:Toggle("Kill Monster",function(bool)
  251. shared.toggle = bool
  252. if shared.toggle == true then
  253. fuckMonster = RunService.Stepped:Connect(function()
  254. for i, v in pairs(game.Workspace:GetChildren()) do
  255. if v:FindFirstChild("Health") and v:FindFirstChild("IsSeaMonster") and v.Name == "GreatWhiteShark" or v.Name == "BigGreatWhiteShark" or v.Name == "KillerWhale" or v.Name == "NeonGreatWhiteShark" then
  256. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  257.  
  258.  
  259. for i, getTools in pairs(player.Character:GetChildren()) do
  260. if getTools:IsA("Tool") and getTools:FindFirstChild("GripC1") then
  261. plrTools = getTools.Name
  262. end
  263. end
  264.  
  265. teleport(v.HumanoidRootPart.CFrame + Vector3.new(0, 30, 0))
  266. wait(0.25)
  267. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.MonsterHit:FireServer(workspace[v.Name], tostring(plrTools), true)
  268. break
  269. elseif not game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  270.  
  271. break
  272. end
  273. end
  274. end
  275. end)
  276. else
  277. fuckMonster:Disconnect()
  278. teleport(CFrame.new(1.8703980445862, 53.57190322876, -188.37982177734))
  279. end
  280. end)
  281.  
  282. c:Toggle("Kill Mobby",function(bool)
  283. shared.toggle = bool
  284. if shared.toggle == true then
  285. fuckMobby = RunService.Stepped:Connect(function()
  286. for i, v in pairs(game.Workspace:GetChildren()) do
  287. if v:FindFirstChild("Health") and v:FindFirstChild("IsSeaMonster") and v.Name == "MobyWood" then
  288. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  289.  
  290.  
  291. for i, getTools in pairs(player.Character:GetChildren()) do
  292. if getTools:IsA("Tool") and getTools:FindFirstChild("GripC1") then
  293. plrTools = getTools.Name
  294. end
  295. end
  296.  
  297. teleport(v.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0))
  298. wait(0.25)
  299. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.MonsterHit:FireServer(workspace[v.Name], tostring(plrTools), true)
  300. break
  301. elseif not game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  302.  
  303. break
  304. end
  305. end
  306. end
  307. end)
  308. else
  309. fuckMobby:Disconnect()
  310. teleport(CFrame.new(1.8703980445862, 53.57190322876, -188.37982177734))
  311. end
  312. end)
  313.  
  314. c:Toggle("Auto Caught",function(bool)
  315. shared.toggle = bool
  316. if shared.toggle == true then
  317.  
  318.  
  319. autoCaught = coroutine.wrap(function()
  320. while true and shared.toggle == true do
  321. wait(2.6)
  322. warn("Caught")
  323. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.FishCaught:FireServer()
  324. end
  325. end)()
  326.  
  327. else
  328. autoCaught:Disconnect()
  329. teleport(CFrame.new(1.8703980445862, 53.57190322876, -188.37982177734))
  330. end
  331. end)
  332.  
  333. c:Toggle("Auto Sell",function(bool)
  334. shared.toggle = bool
  335. if shared.toggle == true then
  336. autoSell = RunService.Stepped:Connect(function()
  337. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.processGameItemSold:InvokeServer("SellEverything")
  338. end)
  339. else
  340. autoSell:Disconnect()
  341.  
  342. end
  343. end)
  344.  
  345. c:Toggle("Auto Map Chest",function(bool)
  346. shared.toggle = bool
  347. if shared.toggle == true then
  348. autoChest = RunService.Stepped:Connect(function()
  349.  
  350. for i, v in pairs(game.Workspace.RandomChests:GetChildren()) do
  351. if v:IsA("Model") then
  352. teleport(v.HumanoidRootPart.CFrame + Vector3.new(0, 0, 0))
  353. wait(0.25)
  354. fireproximityprompt(v.HumanoidRootPart.ProximityPrompt)
  355. end
  356. end
  357. end)
  358. else
  359. autoChest:Disconnect()
  360. teleport(CFrame.new(1.8703980445862, 53.57190322876, -188.37982177734))
  361. end
  362. end)
  363.  
  364.  
  365. local Window3 = library:CreateWindow("Boat");
  366. local d = Window3:CreateFolder("°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°")
  367.  
  368. d:Slider("Speed",{
  369. min = 10; -- min value of the slider
  370. max = 400; -- max value of the slider
  371. precise = true; -- max 2 decimals
  372. },function(value)
  373. for i, v in pairs(game.Workspace:GetChildren()) do
  374. if v.Name == (game.Players.LocalPlayer.Name .. "'s Boat") then
  375. v.Controller.VehicleSeat.MaxSpeed = tonumber(value)
  376. v.TakeDamage:Destroy()
  377. end
  378. end
  379. end)
  380.  
  381.  
  382. d:Button("Remove Borders",function()
  383. for i, v in pairs(game.Workspace.IgnoredByMouse.BoatBorders:GetChildren()) do
  384. v:Destroy()
  385. end
  386. end)
  387. d:Button("Tp to Boat",function()
  388. for i, v in pairs(game.Workspace:GetChildren()) do
  389. if v.Name == (game.Players.LocalPlayer.Name .. "'s Boat") then
  390. teleport(v.Controller.VehicleSeat.CFrame + Vector3.new(0, 3, 0))
  391. end
  392. end
  393. end)
  394.  
  395.  
  396.  
  397. local Window4 = library:CreateWindow("Unboxing");
  398. local e = Window4:CreateFolder("°°°°°°°°°°°Eggs°°°°°°°°°°°°°°°°°°°°°°")
  399. local f = Window4:CreateFolder("°°°°°°°°°°°Roads°°°°°°°°°°°°°°°")
  400. e:Button("Royal",function()
  401. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("royalegg")
  402. end)
  403. e:Button("Normal",function()
  404. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("normalegg")
  405. end)
  406. e:Button("Ruby",function()
  407. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("rubyegg")
  408. end)
  409. e:Button("Void",function()
  410. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("voidegg")
  411. end)
  412.  
  413. f:Button("Silver",function()
  414. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("silverchest")
  415. end)
  416. f:Button("Stone",function()
  417. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("stonechest")
  418. end)
  419. f:Button("Gold",function()
  420. game:GetService("ReplicatedStorage").CloudFrameShared.DataStreams.OpenLootboxFunction:InvokeServer("goldchest")
  421. end)
  422.  
  423. local Window666 = library:CreateWindow("Misc");
  424. local g = Window666:CreateFolder("°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°")
  425. local toggleTp = false
  426.  
  427. g:Button("Click Teleport (E)",function()
  428. if toggleTp == false then
  429. toggleTp = true
  430. else
  431. toggleTp = false
  432. end
  433.  
  434.  
  435. mouse.KeyDown:connect(function(key)
  436. if key == "e" then
  437. if mouse.Target then
  438. if toggleTp == true then
  439. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  440. end
  441. end
  442. end
  443. end)
  444.  
  445.  
  446.  
  447. end)
  448.  
  449. g:Button("Rejoins",function()
  450. tpservice:Teleport(game.PlaceId, plr)
  451. end)
  452.  
  453. g:Button("Server Hop",function()
  454. switchServer()
  455. end)
  456.  
  457. g:Button("Discord",function()
  458. setclipboard("HUnTFaE4H6")
  459. end)
  460.  
  461. g:DestroyGui()
  462.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement