Advertisement
TakeMeHomeToThePlace

Dpaste

Apr 25th, 2024
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.57 KB | None | 0 0
  1. getgenv().Config = {}
  2.  
  3. local OrionLib = loadstring(game:HttpGet(("https://raw.githubusercontent.com/shlexware/Orion/main/source")))()
  4. local Window =
  5. OrionLib:MakeWindow({Name = "PS99ScriptOfficial Autofish", HidePremium = false, SaveConfig = false, ConfigFolder = "OrionTest"})
  6.  
  7. local Tab =
  8. Window:MakeTab(
  9. {
  10. Name = "Main",
  11. Icon = "rbxassetid://4483345998",
  12. PremiumOnly = false
  13. }
  14. )
  15.  
  16. local Tele =
  17. Window:MakeTab(
  18. {
  19. Name = "Teleport",
  20. Icon = "rbxassetid://4483345998",
  21. PremiumOnly = false
  22. }
  23. )
  24.  
  25. Tele:AddButton(
  26. {
  27. Name = "TP Fishing Area",
  28. Callback = function()
  29. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
  30. CFrame.new(-180.852783203125, 117.92350006103516, 5175.45703125)
  31. end
  32. }
  33. )
  34. Tab:AddToggle(
  35. {
  36. Name = "Auto Map",
  37. Default = false,
  38. Callback = function(m)
  39. Config.automap = m
  40. spawn(automap)
  41. end
  42. }
  43. )
  44.  
  45. Tab:AddToggle(
  46. {
  47. Name = "Auto Fish (Advanced)",
  48. Default = false,
  49. Callback = function(v)
  50. Config.autoFishA = v
  51. spawn(autoFishA)
  52. end
  53. }
  54. )
  55.  
  56. Tab:AddToggle(
  57. {
  58. Name = "Auto Mail (Huge, Shard, Gems)",
  59. Default = false,
  60. Callback = function(v)
  61. Config.autoMail = v
  62. spawn(autoMail)
  63. end
  64. }
  65. )
  66.  
  67. Tab:AddTextbox(
  68. {
  69. Name = "Username",
  70. Default = "",
  71. TextDisappear = false,
  72. Callback = function(user)
  73. username = user
  74. end
  75. }
  76. )
  77.  
  78. Tab:AddTextbox(
  79. {
  80. Name = "Shard Amount",
  81. Default = "",
  82. TextDisappear = false,
  83. Callback = function(shards)
  84. shardAmount = tonumber(shards)
  85. end
  86. }
  87. )
  88.  
  89. Tab:AddTextbox(
  90. {
  91. Name = "Gem Amount",
  92. Default = "",
  93. TextDisappear = false,
  94. Callback = function(gems)
  95. gemAmount = tonumber(gems)
  96. end
  97. }
  98. )
  99.  
  100. Tab:AddButton(
  101. {
  102. Name = "AntiAFK Jump",
  103. Callback = function()
  104. antiAFK()
  105. end
  106. }
  107. )
  108.  
  109. Tab:AddButton(
  110. {
  111. Name = "AntiAFK Normal",
  112. Callback = function()
  113. antiAFKN()
  114. end
  115. }
  116. )
  117.  
  118. Tab:AddButton(
  119. {
  120. Name = "Disable 3D Render",
  121. Callback = function()
  122. game:GetService("RunService"):Set3dRenderingEnabled(false)
  123. end
  124. }
  125. )
  126.  
  127. Tab:AddButton(
  128. {
  129. Name = "Enable 3D Render",
  130. Callback = function()
  131. game:GetService("RunService"):Set3dRenderingEnabled(true)
  132. end
  133. }
  134. )
  135.  
  136. OrionLib:Init()
  137.  
  138. function antiAFK()
  139. local VirtualInputManager = game:GetService("VirtualInputManager")
  140. while task.wait() do
  141. VirtualInputManager:SendKeyEvent(true, "Space", false, game)
  142. task.wait(.2)
  143. VirtualInputManager:SendKeyEvent(false, "Space", false, game)
  144. task.wait(300)
  145. end
  146. end
  147.  
  148. function antiAFKN()
  149. local vu = game:GetService("VirtualUser")
  150. game:GetService("Players").LocalPlayer.Idled:connect(
  151. function()
  152. vu:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  153. wait(1)
  154. vu:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  155. end
  156. )
  157. end
  158.  
  159. function autoFishA()
  160. while task.wait() and Config.autoFishA do
  161. local x = math.random(10, 20)
  162. local z = math.random(10, 20)
  163.  
  164. local argsCast = {
  165. [1] = "AdvancedFishing",
  166. [2] = "RequestCast",
  167. [3] = Vector3.new(1470.6005859375, 61.6249885559082, -4448.0107421875) + Vector3.new(x, 0, z)
  168. }
  169.  
  170. game:GetService("ReplicatedStorage").Network.Instancing_FireCustomFromClient:FireServer(unpack(argsCast))
  171. task.wait(3.5)
  172.  
  173. local argsReel = {
  174. [1] = "AdvancedFishing",
  175. [2] = "RequestReel"
  176. }
  177.  
  178. game:GetService("ReplicatedStorage").Network.Instancing_FireCustomFromClient:FireServer(unpack(argsReel))
  179. repeat
  180. task.wait()
  181.  
  182. local hasFishingLine = false
  183. for _, descendant in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  184. if descendant.Name == "FishingLine" then
  185. hasFishingLine = true
  186. break
  187. end
  188. end
  189.  
  190. if not hasFishingLine then
  191. break
  192. end
  193.  
  194. local argsClicked = {
  195. [1] = "AdvancedFishing",
  196. [2] = "Clicked"
  197. }
  198.  
  199. game:GetService("ReplicatedStorage").Network.Instancing_InvokeCustomFromClient:InvokeServer(
  200. unpack(argsClicked)
  201. )
  202. until not hasFishingLine
  203. task.wait()
  204. end
  205. end
  206.  
  207. function autoMail()
  208. while task.wait() and Config.autoMail do
  209. local saveModule = require(game:GetService("ReplicatedStorage").Library.Client.Save)
  210. local result = saveModule.Get()
  211.  
  212. local ms = result.Inventory.Misc
  213. for i, v in pairs(ms) do
  214. if v.id == "Magic Shard" then
  215. if v._am >= shardAmount then
  216. local args = {
  217. [1] = username,
  218. [2] = "Magic Shard",
  219. [3] = "Misc",
  220. [4] = i,
  221. [5] = v._am or 1
  222. }
  223. game:GetService("ReplicatedStorage").Network:FindFirstChild("Mailbox: Send"):InvokeServer(
  224. unpack(args)
  225. )
  226. end
  227. end
  228. end
  229.  
  230. task.wait(2)
  231.  
  232. local pet = result.Inventory.Pet
  233. for i, v in pairs(pet) do
  234. if v.id == "Huge Poseidon Corgi" then
  235. local args = {
  236. [1] = username,
  237. [2] = "Huge Poseidon Corgi",
  238. [3] = "Pet",
  239. [4] = i,
  240. [5] = v._am or 1
  241. }
  242. game:GetService("ReplicatedStorage").Network:FindFirstChild("Mailbox: Send"):InvokeServer(unpack(args))
  243. end
  244. end
  245.  
  246. task.wait(2)
  247.  
  248. local GetSave = function()
  249. return require(game.ReplicatedStorage.Library.Client.Save).Get()
  250. end
  251. for i, v in pairs(GetSave().Inventory.Currency) do
  252. if v.id == "Diamonds" then
  253. if v._am >= gemAmount then
  254. local args = {
  255. [1] = username,
  256. [2] = v.id,
  257. [3] = "Currency",
  258. [4] = i,
  259. [5] = gemAmount - 10000
  260. }
  261. game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Mailbox: Send"):InvokeServer(
  262. unpack(args)
  263. )
  264. end
  265. end
  266. task.wait(1)
  267. end
  268. end
  269. end
  270.  
  271. function Automap()
  272. while task.wait() and Config.automap do
  273. Options.Automap:SetValue(false)
  274.  
  275. game:GetService("VirtualInputManager"):SendKeyEvent(true, "Space", false, game)
  276. wait(.1)
  277. game:GetService("VirtualInputManager"):SendKeyEvent(false, "Space", false, game)
  278. end
  279. end
  280.  
  281. wait(.1)
  282. getgenv().Start = a
  283.  
  284. local Library = require(game:GetService("ReplicatedStorage").Library)
  285.  
  286. local Network = Library.Network
  287. local Balancing = Library.Balancing
  288. local Zones = Library.Directory.Zones
  289.  
  290. Library.PlayerPet.CalculateSpeedMultiplier = function(...)
  291. return 999999999
  292. end
  293.  
  294. while getgenv().Start do
  295. wait()
  296. pcall(
  297. function()
  298. local Zone, Zone_Info = Library["ZoneCmds"].GetMaxOwnedZone()
  299. local zone, info = Library["ZoneCmds"].GetNextZone()
  300. if zone and info then
  301. if Balancing.CalcGatePrice(info) <= Library["CurrencyCmds"].Get("Coins") then
  302. Network.Invoke("Zones_RequestPurchase", info.ZoneName)
  303. end
  304. end
  305. if Library["MapCmds"].GetCurrentZone() ~= Zone_Info._id or not Library["MapCmds"].IsInDottedBox() then
  306. if Zone_Info.ZoneFolder:FindFirstChild("INTERACT") then
  307. local Max, BreakZone
  308. for i, v in pairs(Zone_Info.ZoneFolder.INTERACT.BREAK_ZONES:GetChildren()) do
  309. if not Max then
  310. Max = v.Size.X * v.Size.Y * v.Size.Z
  311. end
  312. if not BreakZone then
  313. BreakZone = v
  314. end
  315.  
  316. if Max < v.Size.X * v.Size.Y * v.Size.Z then
  317. BreakZone = v
  318. end
  319. end
  320.  
  321. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = BreakZone.CFrame * CFrame.new(0, 10, 0)
  322. else
  323. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
  324. Zone_Info.ZoneFolder.PERSISTENT.Teleport.CFrame
  325. end
  326. end
  327. end
  328. )
  329. end
  330.  
  331. local GetNearestBreakable =
  332. getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.Scripts.GUIs["Auto Tapper"]).GetNearestBreakable
  333.  
  334. while wait() do
  335. pcall(
  336. function()
  337. local Breakable = GetNearestBreakable()
  338. if Breakable then
  339. Network.Fire("Breakables_PlayerDealDamage", Breakable.Name)
  340. end
  341. end
  342. )
  343. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement