Advertisement
Reaokn

Fishing Simulator GUI

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