Advertisement
Robertano123

fishing simulator

Mar 29th, 2020
3,055
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.29 KB | None | 0 0
  1. --To Do List
  2. --Sunken Ships are named 'ShipModel' then an integer.
  3. --Add Fly
  4. --Add Auto Fish with fish detection
  5. --Add Auto Shark
  6. --Add Shark ESP
  7. --Add Sunken Ship ESP
  8. --Add Auto Quest Complete
  9. --Add Legendary and Mythic Only Mode through Hook Function
  10. --Add Collect Daily Chests
  11. --Monster's Borough
  12. --Location 1: -3331.9873, 84.9329681, 2672.59546
  13. --Location 2: -3361.08521, 116.190727, 2824.31201
  14. --Location 3: -3106.71753, 40.5118103, 2906.54956
  15. --Location 4: -883.169434, 44.9942093, 3060.43579
  16. --Ancient Shores
  17. --Location 1: -2426.84131, 110.925598, -2122.33936
  18. --Change Auto Sell to use SellEverything function instead
  19. --Fix Speed when Swimming at Ocean Top
  20. --Add Auto Chest Collect that works for both sunken ships and daily chests
  21. --Complete Auto Ship
  22. --Change Sell All Below Legendary to Toggle for Both Auto Sell and Auto Any Kill
  23.  
  24. --Completed To Do List
  25. --Add Level Barrier Removal
  26. --Add Boat Barrier Removal
  27. --Fix Anti-AFK
  28. --Add in Gamepass Toggle
  29. --Add Respawn Where Died
  30. --Add Teleport to Boat
  31. --Add Boat Menu; Torque, Max Speed, Turn Speed;
  32. --Add Player Menu; Jump Power, Walk Speed;
  33. --Edit Level Barrier Removal to detect if sitting in boat and unsit
  34. --Add Teleport to Shops
  35. --Add Teleport to Caster
  36. --Add Teleport to Player
  37. --Add Teleport to Fish Aquarium
  38. --Add Backup Location Data with Button
  39. --Add Teleport to Islands
  40.  
  41. --Debug Print
  42. local currVersion = "v1.4"
  43.  
  44. _G.fishdebug = true
  45. function dprint(str)
  46. if _G.fishdebug then
  47. game:GetService('TestService'):Message("[Fish Sim GUI] "..str)
  48. end
  49. end
  50.  
  51. --Load GUI
  52. local library = loadstring(game:HttpGet("https://pastebin.com/raw/djhHQFXz", true))()
  53. dprint("GUI Library Loaded")
  54. local fishGui = library:CreateWindow('Fish Sim ' .. currVersion)
  55. dprint("GUI Window Created")
  56. local mainGui = library:CreateWindow('Main')
  57. dprint("Main Window Created")
  58. local teleGui = library:CreateWindow('Teleport')
  59. dprint("Teleport Window Created")
  60. local debugGui = library:CreateWindow('Debug')
  61. dprint("Debug Window Created")
  62.  
  63. --Global Variables
  64. local inputService = game:GetService("UserInputService")
  65. dprint("User Input Service Variable Loaded")
  66. local boundSpace = game.Workspace.IgnoredByMouse
  67. dprint("Bound Space Workspace Loaded")
  68. local playerList = game:GetService("Players")
  69. dprint("Player List Variable Loaded")
  70. local plr = playerList.LocalPlayer
  71. dprint("Local Player Variable Loaded")
  72. local hrp = plr.Character.HumanoidRootPart
  73. dprint("HumanoidRootPart Variable Loaded")
  74. local mse = plr:GetMouse()
  75. dprint("Mouse Variable Loaded")
  76. local lastLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  77. dprint("Set Last Location at Spawn")
  78.  
  79. --Debug Functions
  80.  
  81. --Rejoin Function
  82. local bRejoin = debugGui:Button("Rejoin", function()
  83. game:GetService('TeleportService'):Teleport(game.PlaceId)
  84. dprint("bRejoin Clicked")
  85. end)
  86.  
  87. --Force Start (NOT WORKING)
  88. --[[
  89. local bForceStart = debugGui:Button("Force Start",
  90. function()
  91.  
  92. end
  93. )
  94. ]]
  95.  
  96. --Unload Script (NOT WORKING)
  97. --[[
  98. local bUnload = debugGui:Button("Unload",
  99. function()
  100. script:Remove()
  101. end
  102. )
  103. ]]
  104.  
  105. --Disable Console Game Warnings (NOT WORKING)
  106. --[[
  107. local tWarn = debugGui:Toggle("Disable Warn", {flag = "tWarn"})
  108. local warnHook = hookfunction(warn,
  109. function(...)
  110. if debugGui.flags.tWarn then
  111. return
  112. else
  113. return warnHook(...)
  114. end
  115. end
  116. )
  117. ]]
  118.  
  119. --Click to Teleport Function
  120. local tCtrl = debugGui:Toggle("Ctrl-TP", {flag = "ctrlTp"})
  121.  
  122. function cCtrlTp()
  123. inputService.InputBegan:Connect(function(input)
  124. if inputService:IsKeyDown(Enum.KeyCode.LeftControl) and debugGui.flags.ctrlTp then
  125. if mse.Target then
  126. hrp.CFrame = CFrame.new(mse.Hit.x, mse.Hit.y + 3, mse.Hit.z)
  127. dprint("Teleported to "..mse.Hit.x.." , "..mse.Hit.y.." , "..mse.Hit.z)
  128. end
  129. end
  130. end)
  131. end
  132.  
  133. cCtrlTp()
  134.  
  135. --Anti AFK
  136. local tAfk = debugGui:Toggle("Anti-AFK", {flag = "fAntiAfk"})
  137.  
  138. function antiAfk()
  139. local VirtualUser = game:GetService('VirtualUser')
  140. game:GetService("Players").LocalPlayer.Idled:connect(function()
  141. if debugGui.flags.fAntiAfk then
  142. VirtualUser:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  143. wait(3)
  144. VirtualUser:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  145. dprint("Anti-AFK Script Active")
  146. end
  147. end)
  148. end
  149.  
  150. antiAfk()
  151.  
  152. --NoClip
  153. local tNoClip = debugGui:Toggle("NoClip", {flag = "fNoClip"})
  154. local tNoClipToggle = false
  155.  
  156. debugGui:Bind("NoClip Bind", {
  157. flag = "dNoClip";
  158. kbonly = true;
  159. default = Enum.KeyCode.V;
  160. }, function()
  161. if debugGui.flags.fNoClip then
  162. tNoClipToggle = not tNoClipToggle
  163. dprint("NoClip Toggled: "..tostring(tNoClipToggle))
  164. end
  165. end)
  166.  
  167. game:getService("RunService"):BindToRenderStep("",0,function()
  168. if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") and debugGui.flags.fNoClip then return end
  169.  
  170. if debugGui.flags.fNoClip and tNoClipToggle then
  171. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  172. dprint("NoClip Activated")
  173. end
  174. end)
  175.  
  176.  
  177. --Main Window Functions
  178.  
  179. fishGui:Section('Client Sided')
  180. dprint("Client Sided Section Created")
  181.  
  182. --Toggle Game Passes (Client Sided)
  183. local bGamePasses = fishGui:Button("Toggle All Gamepasses", function()
  184. for i, v in pairs(plr.LocalData.Gamepasses:GetChildren()) do
  185. v.Value = not v.Value
  186. end
  187. dprint("Gamepasses Toggled")
  188. end)
  189.  
  190. fishGui:Section('Barriers')
  191. dprint("Barrier Section Created")
  192.  
  193. --Level Barrier Removal
  194. local bLvlBar = fishGui:Button("Remove Level Barriers", function()
  195. for i, v in pairs(boundSpace.LockedAreas:GetDescendants()) do
  196. v:Destroy()
  197. end
  198. dprint("Level Barriers Removed")
  199. end)
  200.  
  201. --Boat Barrier Removal
  202. local bBoatBar = fishGui:Button("Remove Boat Barriers", function()
  203. for i, v in pairs(boundSpace.BoatBorders:GetDescendants()) do
  204. v:Destroy()
  205. end
  206. dprint("Boat Barriers Removed")
  207. end)
  208.  
  209. fishGui:Section('Character')
  210. dprint("Character Section Created")
  211.  
  212. --Character and Boat Status
  213. local tRespawn = fishGui:Toggle("Respawn Where Died", {flag = "fRespawn"})
  214. dprint("fRespawn Status: "..tostring(fishGui.flags.fRespawn))
  215.  
  216. --WalkSpeed Changer
  217. local xSpeed = fishGui:Box("Speed (16/23)", {
  218. flag = "ws";
  219. type = 'number';
  220. }, function(new)
  221. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(new)
  222. dprint("WalkSpeed set to "..new)
  223. end)
  224.  
  225. --JumpPower Changer
  226. local xJump = fishGui:Box("Jump (50)", {
  227. flag = "jp";
  228. type = 'number';
  229. }, function(new)
  230. game.Players.LocalPlayer.Character.Humanoid.JumpPower = tonumber(new)
  231. dprint("JumpPower set to "..new)
  232. end)
  233.  
  234. fishGui:Section('Boat')
  235. dprint("Boat Section Created")
  236.  
  237. --BoatSpeed Changer
  238. local xBoat = fishGui:Box("Speed", {
  239. flag = "bs";
  240. type = 'number';
  241. }, function(new)
  242. for i, v in pairs(game.Workspace:GetChildren()) do
  243. dprint("Current Object Selected: "..v.Name)
  244. if v.Name == (game.Players.LocalPlayer.Name.."'s Boat") then
  245. dprint("Boat Selected: "..v.Name)
  246. v.Controller.VehicleSeat.MaxSpeed = tonumber(new)
  247. dprint("BoatSpeed set to "..new)
  248. break
  249. end
  250. end
  251. end)
  252.  
  253. --Teleport to Boat
  254. local bToBoat = fishGui:Button("Teleport to Boat", function()
  255. for i, v in pairs(game.Workspace:GetChildren()) do
  256. dprint("Current Object Selected: "..v.Name)
  257. if v.Name == (game.Players.LocalPlayer.Name.."'s Boat") then
  258. lastLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  259. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  260. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  261. end
  262. wait()
  263. local coord = v.Controller.VehicleSeat.CFrame
  264. dprint("Boat Selected: "..v.Name)
  265. hrp.CFrame = CFrame.new(coord.x,coord.y + 3,coord.z)
  266. dprint("Teleported to Coordinates: "..tostring(hrp.CFrame))
  267. break
  268. end
  269. end
  270. end)
  271.  
  272.  
  273. --Teleport Functions
  274.  
  275. --Last Location Teleport
  276. local bReturn = teleGui:Button("Return to Last Location",
  277. function()
  278. if lastLocation ~= nil then
  279. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = lastLocation
  280. end
  281. end
  282. )
  283.  
  284. --Master Teleport Search
  285.  
  286. local masterLocations = {
  287. --Port Jackson
  288. PortJacksonDocks = Vector3.new(56.7393608, 41.4751053, -63.380661),
  289. Aquarium = Vector3.new(-71.4487915, 55.8237305, 77.1413193),
  290. BoatShop = Vector3.new(-3.54861736, 46.9481888, -107.122681),
  291. SupplyShop = Vector3.new(2.20014167, 53.5718613, 11.437911),
  292. PortJacksonCaster = Vector3.new(-52.98069, 54.567421, -20.777195),
  293. QuestTavern = Vector3.new(-114.295792, 54.1254578, -67.9122925),
  294. Rodney = Vector3.new(-105.481873, 54.1767731, -10.4815578),
  295. CoinChests = Vector3.new(-53.1726341, 52.9375458, 13.6784639),
  296. PortJacksonPoperson = Vector3.new(-76.9964676, 50.4331894, -132.130676),
  297.  
  298. --Volcano Island
  299. VolcanoIslandDocks = Vector3.new(2815.75854, 41.5044899, 1470.11658),
  300. VolcanoIslandCaster = Vector3.new(2971.24414, 45.0137711, 1409.98901),
  301. VolcanoIslandObby = Vector3.new(3162.37256, 48.9485931, 1512.08679),
  302. VolcanoIslandObbyEnd = Vector3.new(48146.2109, 2162.26001, 13683.6201),
  303. VolcanoIslandPoperson = Vector3.new(3185.36279, 47.8058777, 1239.24707),
  304. VolcanoIslandQuest = Vector3.new(3091.27783, 180.46051, 1799.91833),
  305.  
  306. --Shadow Isles
  307. ShadowIslesDocks = Vector3.new(2189.79932, 42.294281, -2260.20508),
  308. ShadowIslesPoperson = Vector3.new(2198.46167, 43.0711288, -2222.51172),
  309. ShadowIslesCave = Vector3.new(2144.77222, 50.0127106, -2270.18164),
  310. ShadowIslesCasper = Vector3.new(2128.79346, 188.23761, -2222.95239),
  311. ShadowIslesFirePlace = Vector3.new(2128.79346, 188.23761, -2222.95239),
  312. ShadowIslesBombLocation = Vector3.new(2066.40381, 194.53775, -2432.69336),
  313.  
  314. --Ancient Shores
  315. AncientShoresDocks = Vector3.new(-2244.64795, 42.2645645, -1716.90173),
  316. AncientShoresCasper = Vector3.new(-2582.82251, 51.214386, -1796.34143),
  317. AncientShoresGiant = Vector3.new(-2392.20386, 110.919983, -2110.41602),
  318. AncientShoresQuest1 = Vector3.new(-2625.92065, 162.517609, -2124.42725),
  319. AncientShoresQuest2 = Vector3.new(-2852.25513, 74.7504883, -2232.0437),
  320. AncientShoresQuest3 = Vector3.new(-2517.18921, 123.897522, -1611.0531),
  321. AncientShoresRiver = Vector3.new(-2427.65845, 45.6136932, -1902.73279),
  322.  
  323. --Monster's Borough
  324. MonsterBoroughDocks = Vector3.new(-3200.25781, 41.6784821, 2732.46777),
  325.  
  326. }
  327.  
  328. teleGui:SearchBox("Master Teleport Search", {
  329. location = shared;
  330. flag = "mTeleports";
  331. list= {
  332. "Aquarium";
  333. "Port Jackson's Docks";
  334. "Boat Shop";
  335. "Supply Shop";
  336. "Port Jackson's Caster";
  337. "Quest Tavern";
  338. "Rodney";
  339. "Coin Chests";
  340. "Port Jackson's Poperson";
  341. "Volcano Island's Docks";
  342. "Volcano Island's Caster";
  343. "Volcano Island's Obby";
  344. "Volcano Island's Obby End";
  345. "Volcano Island's Poperson";
  346. "Volcano Island's Quest";
  347. "Shadow Isles' Docks";
  348. "Shadow Isles' Poperson";
  349. "Shadow Isles' Cave";
  350. "Shadow Isles' Casper";
  351. "Shadow Isles' Fire Place";
  352. "Shadow Isles' Bomb Location";
  353. "Ancient Shores' Docks";
  354. "Ancient Shores' Casper";
  355. "Ancient Shores' Giant";
  356. "Ancient Shores' Quest 1";
  357. "Ancient Shores' Quest 2";
  358. "Ancient Shores' Quest 3";
  359. "Ancient Shores' River";
  360. "Monster's Borough Docks";
  361. }
  362. },
  363. function(new)
  364. lastLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  365. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  366. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  367. end
  368. wait()
  369. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(masterLocations[new:gsub("'s",""):gsub(" ",""):gsub("'","")])
  370. dprint("Teleported to " .. new)
  371. end
  372. )
  373.  
  374. teleGui:Section('Port Jackson')
  375. dprint("Port Jackson Teleport Section Created")
  376.  
  377. teleGui:Dropdown("Port Jackson Teleports", {
  378. location = shared;
  379. flag = "pjTeleports";
  380. list = {
  381. "Aquarium";
  382. "Port Jackson's Docks";
  383. "Boat Shop";
  384. "Supply Shop";
  385. "Port Jackson's Caster";
  386. "Quest Tavern";
  387. "Rodney";
  388. "Coin Chests";
  389. "Port Jackson's Poperson";
  390. }
  391. }, function(new)
  392. lastLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  393. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  394. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  395. end
  396. wait()
  397. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(masterLocations[new:gsub("'s",""):gsub(" ",""):gsub("'","")])
  398. dprint("Teleported to " .. new)
  399. end)
  400.  
  401. teleGui:Section('Volcano Island')
  402. dprint("Volcano Island Teleport Section Created")
  403.  
  404. teleGui:Dropdown("Volcano Island Teleports", {
  405. location = shared;
  406. flag = "viTeleports";
  407. list = {
  408. "Volcano Island's Docks";
  409. "Volcano Island's Caster";
  410. "Volcano Island's Obby";
  411. "Volcano Island's Obby End";
  412. "Volcano Island's Poperson";
  413. "Volcano Island's Quest";
  414. }
  415. }, function(new)
  416. lastLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  417. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  418. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  419. end
  420. wait()
  421. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(masterLocations[new:gsub("'s",""):gsub(" ",""):gsub("'","")])
  422. dprint("Teleported to " .. new)
  423. end)
  424.  
  425. teleGui:Section('Shadow Isles')
  426. dprint("Shadow Isles Teleport Section Created")
  427.  
  428. teleGui:Dropdown("Shadow Isles Teleports", {
  429. location = shared;
  430. flag = "siTeleports";
  431. list = {
  432. "Shadow Isles' Docks";
  433. "Shadow Isles' Poperson";
  434. "Shadow Isles' Cave";
  435. "Shadow Isles' Casper";
  436. "Shadow Isles' Fire Place";
  437. "Shadow Isles' Bomb Location";
  438. }
  439. }, function(new)
  440. lastLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  441. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  442. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  443. end
  444. wait()
  445. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(masterLocations[new:gsub("'s",""):gsub(" ",""):gsub("'","")])
  446. dprint("Teleported to " .. new)
  447. end)
  448.  
  449. teleGui:Section('Ancient Shores')
  450. dprint("Ancient Shores Teleport Section Created")
  451.  
  452. teleGui:Dropdown("Ancient Shores Teleports", {
  453. location = shared;
  454. flag = "asTeleports";
  455. list = {
  456. "Ancient Shores' Docks";
  457. "Ancient Shores' Casper";
  458. "Ancient Shores' Giant";
  459. "Ancient Shores' Quest 1";
  460. "Ancient Shores' Quest 2";
  461. "Ancient Shores' Quest 3";
  462. "Ancient Shores' River";
  463. }
  464. }, function(new)
  465. lastLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  466. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  467. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  468. end
  469. wait()
  470. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(masterLocations[new:gsub("'s",""):gsub(" ",""):gsub("'","")])
  471. dprint("Teleported to " .. new)
  472. end)
  473.  
  474. teleGui:Section("Monster's Borough")
  475. dprint("Monster's Borough Teleport Section Created")
  476.  
  477. teleGui:Dropdown("Monster's Borough Teleports", {
  478. location = shared;
  479. flag = "mbTeleports";
  480. list = {
  481. "Monster's Borough Docks";
  482. }
  483. }, function(new)
  484. lastLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  485. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  486. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  487. end
  488. wait()
  489. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(masterLocations[new:gsub("'s",""):gsub(" ",""):gsub("'","")])
  490. dprint("Teleported to " .. new)
  491. end)
  492.  
  493.  
  494.  
  495. --Main Functions
  496.  
  497. --Auto Fish Delay
  498. local minDelay = 3
  499. local maxDelay = 7
  500. local xMinDelay = mainGui:Box("Min Delay (3)", {
  501. flag = "mindf";
  502. type = 'number';
  503. }, function(new)
  504. minDelay = tonumber(new)
  505. dprint("Minimum Auto Fish Delay set to " .. new)
  506. end)
  507.  
  508. local xMaxDelay = mainGui:Box("Max Delay (7)", {
  509. flag = "maxdf";
  510. type = 'number';
  511. }, function(new)
  512. maxDelay = tonumber(new)
  513. dprint("Maximum Auto Fish Delay set to " .. new)
  514. end)
  515.  
  516. --Catch Fish
  517. local bCatchFish = mainGui:Button("Catch Fish",
  518. function()
  519. game.ReplicatedStorage.CloudClientResources.Communication.Events.FishedDone:FireServer()
  520. end
  521. )
  522.  
  523. --Auto Fish
  524. local tAutoFish = mainGui:Toggle("Auto Fish", {flag = "fAutoFish"})
  525.  
  526. _G.fishAuto = false
  527. _G.fishWaitTime = math.random(minDelay, maxDelay)
  528. dprint("Global Auto Fish Boolean created")
  529. loadstring(game:HttpGet("https://pastebin.com/raw/AtqDXgmq", true))()
  530.  
  531. plr.Character.ChildAdded:Connect(function()
  532. _G.fishAuto = mainGui.flags.fAutoFish
  533. dprint("Global Auto Fish Boolean set to " .. tostring(mainGui.flags.fAutoFish))
  534. end)
  535. plr.Character.ChildRemoved:Connect(function()
  536. _G.fishAuto = mainGui.flags.fAutoFish
  537. dprint("Global Auto Fish Boolean set to " .. tostring(mainGui.flags.fAutoFish))
  538. end)
  539.  
  540. --Sell All
  541. local bSellAll = mainGui:Button("Sell All",
  542. function()
  543. game.ReplicatedStorage.CloudClientResources.Communication.Functions.SellEverything:InvokeServer()
  544. end
  545. )
  546.  
  547. --Sell All Below Legendary
  548. local bSellAllBelowLegendary = mainGui:Button("Sell All Below Legendary",
  549. function()
  550. for i, v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  551. if not v:FindFirstChild("Hold") then
  552. if v.RarityLevel.Value < 5 then
  553. dprint("Selling All Below Legendary: " .. v.Name)
  554. game.ReplicatedStorage.CloudClientResources.Communication.Functions.SellItem:InvokeServer(v.Name, 1)
  555. end
  556. end
  557. wait(0.010)
  558. end
  559. end
  560. )
  561.  
  562. --Auto Sell
  563. local tAutoSell = mainGui:Toggle("Auto Sell", {flag = "fAutoSell"})
  564.  
  565. plr.Backpack.ChildAdded:Connect(function()
  566. if mainGui.flags.fAutoSell then
  567. game.ReplicatedStorage.CloudClientResources.Communication.Functions.SellEverything:InvokeServer()
  568. --[[
  569. for i, v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  570. if not v:FindFirstChild("Hold") then
  571. dprint("Selling " .. v.Name)
  572. game.ReplicatedStorage.CloudClientResources.Communication.Functions.SellItem:InvokeServer(v.Name, 1)
  573. end
  574. wait(1)
  575. end
  576. ]]
  577. end
  578. end)
  579.  
  580. plr.CharacterAdded:Connect(function()
  581. local bp = Player:WaitForChild('Backpack')
  582. bp.ChildAdded:connect(function()
  583. if mainGui.flags.fAutoSell then
  584. game.ReplicatedStorage.CloudClientResources.Communication.Functions.SellEverything:InvokeServer()
  585. --[[
  586. for i, v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
  587. print(v.Name)
  588. if string.find(v.Name, "fish") or string.find(v.Name, "Fish") then
  589. print("Selling " .. v.Name)
  590. game.ReplicatedStorage.CloudClientResources.Communication.Functions.SellItem:InvokeServer(v.Name, 1)
  591. end
  592. wait(1)
  593. end
  594. ]]
  595. end
  596. end)
  597. end)
  598.  
  599. --Kill Shark
  600. local prevLocation
  601. local bKillShark = mainGui:Button("Kill Shark",
  602. function()
  603. dprint("Kill Shark Pressed.")
  604. for i, v in pairs(game.Workspace:GetChildren()) do
  605. if v:FindFirstChild("Health") and v:FindFirstChild("IsSeaMonster") and v.Name == "GreatWhiteShark" then
  606. prevLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  607. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  608. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  609. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  610. end
  611. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new(0, 0, 0)
  612. wait(0.25)
  613. game.ReplicatedStorage.CloudClientResources.Communication.Events.DamageSeaMonster:FireServer(v, v.Health, true)
  614. wait(0.5)
  615. dprint("Sent Game Damage to Shark")
  616. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = prevLocation
  617. break
  618. elseif game.Players.LocalPlayer:FindFirstChild("Backpack") then
  619. for p, q in pairs(game.Players.LocalPlayer:FindFirstChild("Backpack"):GetChildren()) do
  620. if q:FindFirstChild("Damage") then
  621. q.Parent = game.Players.LocalPlayer.Character
  622. end
  623. end
  624. end
  625. end
  626. end
  627. end
  628. )
  629.  
  630. --Kill Orca
  631. local prevLocation
  632. local bKillOrca = mainGui:Button("Kill Orca",
  633. function()
  634. dprint("Kill Any Pressed.")
  635. for i, v in pairs(game.Workspace:GetChildren()) do
  636. if v:FindFirstChild("Health") and v:FindFirstChild("IsSeaMonster") and v.Name == "KillerWhale" then
  637. prevLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  638. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  639. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  640. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  641. end
  642. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new(0, 0, 0)
  643. wait(0.25)
  644. game.ReplicatedStorage.CloudClientResources.Communication.Events.DamageSeaMonster:FireServer(v, v.Health, true)
  645. wait(0.5)
  646. dprint("Sent Game Damage to Shark")
  647. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = prevLocation
  648. break
  649. elseif game.Players.LocalPlayer:FindFirstChild("Backpack") then
  650. for p, q in pairs(game.Players.LocalPlayer:FindFirstChild("Backpack"):GetChildren()) do
  651. if q:FindFirstChild("Damage") then
  652. q.Parent = game.Players.LocalPlayer.Character
  653. end
  654. end
  655. end
  656. end
  657. end
  658. end
  659. )
  660.  
  661. --Kill Any
  662. local prevLocation
  663. local bKillAny = mainGui:Button("Kill Any",
  664. function()
  665. dprint("Kill Any Pressed.")
  666. for i, v in pairs(game.Workspace:GetChildren()) do
  667. if v:FindFirstChild("Health") and v:FindFirstChild("IsSeaMonster") then
  668. prevLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  669. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  670. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  671. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  672. end
  673. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new(0, 0, 0)
  674. wait(0.25)
  675. game.ReplicatedStorage.CloudClientResources.Communication.Events.DamageSeaMonster:FireServer(v, v.Health, true)
  676. wait(0.5)
  677. dprint("Sent Game Damage to Shark")
  678. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = prevLocation
  679. break
  680. elseif game.Players.LocalPlayer:FindFirstChild("Backpack") then
  681. for p, q in pairs(game.Players.LocalPlayer:FindFirstChild("Backpack"):GetChildren()) do
  682. if q:FindFirstChild("Damage") then
  683. q.Parent = game.Players.LocalPlayer.Character
  684. end
  685. end
  686. end
  687. end
  688. end
  689. end
  690. )
  691.  
  692. --Auto Any Kill
  693. local runOnce = true
  694. local delayAuto = 7
  695. local tAutoAnyKill = mainGui:Toggle("Auto Any Kill", {flag = "tAutoAnyKill"})
  696. game.Workspace.ChildAdded:Connect(
  697. function ()
  698. if runOnce then
  699. runOnce = false
  700. for i, v in pairs(game.Workspace:GetChildren()) do
  701. if v:FindFirstChild("Health") and v:FindFirstChild("IsSeaMonster") and mainGui.flags.tAutoAnyKill then
  702. prevLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  703. if #game.Players.LocalPlayer:FindFirstChild("Backpack"):GetChildren() + 1 >= game.Players.LocalPlayer.Character:FindFirstChildOfClass("Model").Spaces.Value and mainGui.flags.fAutoSell then
  704. dprint("Max Bag Space: " .. game.Players.LocalPlayer.Character:FindFirstChildOfClass("Model").Spaces.Value)
  705. dprint("Current Bag Holding: " .. #game.Players.LocalPlayer:FindFirstChild("Backpack"):GetChildren())
  706. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-52.98069, 54.567421, -20.777195)
  707. wait(1)
  708. game.ReplicatedStorage.CloudClientResources.Communication.Functions.SellEverything:InvokeServer()
  709. wait(2)
  710. end
  711. dprint("Auto Any Kill - Last Location Saved As: " .. tostring(prevLocation))
  712. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  713. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  714. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  715. end
  716. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new(0, 0, 0)
  717. wait(0.25)
  718. game.ReplicatedStorage.CloudClientResources.Communication.Events.DamageSeaMonster:FireServer(v, v.Health, true)
  719. wait(0.5)
  720. dprint("Sent Game Damage to Sea Monster")
  721. elseif game.Players.LocalPlayer:FindFirstChild("Backpack") then
  722. for p, q in pairs(game.Players.LocalPlayer:FindFirstChild("Backpack"):GetChildren()) do
  723. if q:FindFirstChild("Damage") then
  724. q.Parent = game.Players.LocalPlayer.Character
  725. end
  726. end
  727. end
  728. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = prevLocation
  729. dprint("Auto Any Kill - Last Location Loaded To: " .. tostring(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame))
  730. wait(delayAuto)
  731. end
  732. end
  733. runOnce = true
  734. end
  735. end
  736. )
  737.  
  738. --Teleport to Sunken Ship
  739. local bToShip = mainGui:Button("Teleport to Sunken Ship",
  740. function()
  741. for i, v in pairs(game.Workspace:GetChildren()) do
  742. if string.find(v.Name, "ShipModel") then
  743. local newFrame = v.HitBox.CFrame
  744. lastLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  745. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  746. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  747. end
  748. wait()
  749. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = newFrame
  750. dprint("Teleported to Sunken Ship")
  751. return
  752. end
  753. end
  754. dprint("No Sunken Ships Found!")
  755. return
  756. end
  757. )
  758.  
  759. --Auto Ship
  760. local tToShip = mainGui:Toggle("Auto Ship", {flag = "tToShip"})
  761. game.Workspace.ChildAdded:Connect(
  762. function(child)
  763. if string.find(child.Name, "ShipModel") then
  764. if mainGui.flags.tToShip then
  765. dprint("Ship Model Name: " .. child.Name)
  766. local newFrame = child:WaitForChild("HitBox").CFrame
  767. lastLocation = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  768. if game.Players.LocalPlayer.Character.Humanoid.Sit then
  769. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  770. end
  771. wait()
  772. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = newFrame
  773. dprint("Teleported to Sunken Ship")
  774. return
  775. end
  776. end
  777. end
  778. )
  779.  
  780.  
  781. --Character Status
  782. game.Players.LocalPlayer.Character.Humanoid.Died:Connect(function()
  783. --Death Check
  784. dprint("Character Dead")
  785. local vRestore = hrp.CFrame
  786. local lastLocation = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  787. dprint("Character Death Location Saved")
  788. dprint("Respawn on Death is "..tostring(fishGui.flags.fRespawn))
  789.  
  790. --Respawn Check
  791. plr.CharacterAdded:wait()
  792. repeat wait() until plr.Character:FindFirstChild("HumanoidRootPart")
  793. dprint("Character Respawned")
  794.  
  795. inputService = game:GetService("UserInputService")
  796. dprint("User Input Service Variable Loaded After Death")
  797. playerList = game:GetService("Players")
  798. dprint("Player List Variable Loaded After Death")
  799. plr = playerList.LocalPlayer
  800. dprint("Local Player Variable Loaded After Death")
  801. hrp = plr.Character.HumanoidRootPart
  802. dprint("HumanoidRootPart Variable Loaded After Death")
  803. mse = plr:GetMouse()
  804. dprint("Mouse Variable Loaded After Death")
  805.  
  806.  
  807. cCtrlTp()
  808. dprint("After Death CtrlTP Loaded")
  809.  
  810.  
  811. antiAfk()
  812. dprint("After Death Anti-AFK Loaded")
  813.  
  814. if fishGui.flags.fRespawn then
  815. hrp.CFrame = vRestore
  816. dprint("Character Death Location Loaded")
  817. end
  818. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement