Advertisement
VenoxComeback

atmaf

Apr 15th, 2025 (edited)
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1.  
  2. if (not game:IsLoaded()) then
  3. game.Loaded:Wait()
  4. task.wait(1)
  5. end
  6.  
  7. repeat task.wait(0.1) until (game:GetService("Players").LocalPlayer) and (game:GetService("Players").LocalPlayer.Character)
  8.  
  9. local Player = game:GetService("Players").LocalPlayer
  10. local Cashiers = workspace.Cashiers
  11. local Drop = workspace.Ignored.Drop
  12. local Dis = false
  13. local Broken = 0
  14. local StartTick = os.time()
  15.  
  16. _G.Disable = function()
  17. Dis = true
  18. game:GetService("RunService"):Set3dRenderingEnabled(true)
  19. setfpscap(60)
  20. end
  21.  
  22. Player.DevCameraOcclusionMode = Enum.DevCameraOcclusionMode.Invisicam
  23. Player.CameraMaxZoomDistance = 6
  24. Player.CameraMinZoomDistance = 6
  25.  
  26. pcall(function()
  27. local a = game:GetService("ReplicatedStorage").MainEvent
  28. local b = {"CHECKER_1", "TeleportDetect", "OneMoreTime"}
  29. local c
  30. c = hookmetamethod(game, "__namecall", function(...)
  31. local d = {...}
  32. local self = d[1]
  33. local e = getnamecallmethod()
  34. if e == "FireServer" and self == a and table.find(b, d[2]) then
  35. return
  36. end
  37. return c(...)
  38. end)
  39. end)
  40.  
  41. local Click = function(Part)
  42. local Input = game:GetService("VirtualInputManager")
  43. local Pos = workspace.Camera:WorldToScreenPoint(Part.Position)
  44. local T = os.time()
  45.  
  46. if (Part:GetAttribute("OriginalPos") == nil) then
  47. Part:SetAttribute("OriginalPos", Part.Position)
  48. end
  49.  
  50. repeat
  51. Part.CFrame = (workspace.Camera.CFrame + workspace.Camera.CFrame.LookVector * 1) * CFrame.Angles(90, 0, 0)
  52. Input:SendMouseButtonEvent(workspace.Camera.ViewportSize.X/2, workspace.Camera.ViewportSize.Y/2, 0, true, game, 1)
  53. task.wait()
  54. Input:SendMouseButtonEvent(workspace.Camera.ViewportSize.X/2, workspace.Camera.ViewportSize.Y/2, 0, false, game, 1)
  55. until (Part == nil) or (Part:FindFirstChild("ClickDetector") == nil) or (os.time()-T >= 2)
  56. end
  57.  
  58. local AntiSit = function(Char)
  59. task.wait(1)
  60. local Hum = Char:WaitForChild("Humanoid")
  61. Hum.Seated:Connect(function()
  62. warn("SITTING")
  63. Hum.Sit = false
  64. Hum:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
  65. task.wait(0.3)
  66. Hum.Jump = true
  67. end)
  68. end
  69.  
  70. local GetCash = function()
  71. local Found = {}
  72.  
  73. for i,v in pairs(Drop:GetChildren()) do
  74. if (v.Name == "MoneyDrop") then
  75. local Pos = nil
  76.  
  77. if (v:GetAttribute("OriginalPos") ~= nil) then
  78. Pos = v:GetAttribute("OriginalPos")
  79. else
  80. Pos = v.Position
  81. end
  82. if (Pos - Player.Character.HumanoidRootPart.Position).Magnitude <= 17 then
  83. Found[#Found+1] = v
  84. end
  85. end
  86. end
  87. return Found
  88. end
  89.  
  90. local GetCashier = function()
  91. for i,v in pairs(Cashiers:GetChildren()) do
  92. if (i == 15) and (Vector3.new(-625, 10, -286) - v.Head.Position).Magnitude <= 20 then
  93. v:MoveTo(Vector3.new(-622.948, 24, -286.52))
  94. for x,z in pairs(v:GetChildren()) do
  95. if (z:IsA("Part")) or (z:IsA("BasePart")) then
  96. z.CanCollide = false
  97. end
  98. end
  99. elseif (i == 16) and (Vector3.new(-625, 10, -286) - v.Head.Position).Magnitude <= 20 then
  100. v:MoveTo(Vector3.new(-629.948, 24, -286.52))
  101. for x,z in pairs(v:GetChildren()) do
  102. if (z:IsA("Part")) or (z:IsA("BasePart")) then
  103. z.CanCollide = false
  104. end
  105. end
  106. end
  107.  
  108. if (v.Humanoid.Health > 0) then
  109. return v
  110. end
  111. end
  112. return nil
  113. end
  114.  
  115. local To = function(CF)
  116. Player.Character.HumanoidRootPart.CFrame = CF
  117. Player.Character.HumanoidRootPart.Velocity = Vector3.new(0, 0, 0)
  118. end
  119.  
  120. task.spawn(function()
  121. while true and task.wait() do
  122. if (Player.Character == nil) or (Player.Character:FindFirstChild("FULLY_LOADED_CHAR") == nil) or (Dis == true) then
  123. return print("LET YOUR CHAR LOAD IN")
  124. end
  125.  
  126. local Cashier = nil
  127. repeat
  128. Cashier = GetCashier()
  129.  
  130. if (Player.Backpack:FindFirstChild("Combat") ~= nil) then
  131. Player.Backpack.Combat.Parent = Player.Character
  132. end
  133.  
  134. task.wait()
  135. until (Cashier ~= nil)
  136.  
  137. repeat
  138. To( (Cashier.Head.CFrame+Vector3.new(0, -2.5, 0)) * CFrame.Angles(math.rad(90), 0, 0))
  139. task.wait()
  140. Player.Character.Combat:Activate()
  141. until (Cashier.Humanoid.Health <= 0)
  142. Broken += 1
  143.  
  144. To(Cashier.Head.CFrame + Cashier.Head.CFrame.LookVector * Vector3.new(0, 2, 0))
  145.  
  146. for i,v in pairs(Player.Character:GetChildren()) do
  147. if (v:IsA("Tool")) then
  148. v.Parent = Player.Backpack
  149. end
  150. end
  151.  
  152. local Cash = GetCash()
  153.  
  154. for i,v in pairs(Cash) do
  155. Click(v)
  156. end
  157. end
  158. end)
  159.  
  160. local StartCash = Player.DataFolder.Currency.Value
  161. task.spawn(function()
  162. while true and task.wait(0.5) do
  163. print("Autofarm Running...")
  164. end
  165. end)
  166.  
  167. Player.Idled:Connect(function()
  168. for i = 1, 10 do
  169. game:GetService("VirtualUser"):Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  170. task.wait(0.2)
  171. game:GetService("VirtualUser"):Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  172. task.wait(0.2)
  173. end
  174. end)
  175.  
  176. pcall(function() UserSettings().GameSettings.MasterVolume = 0 end)
  177. pcall(function() settings().Rendering.QualityLevel = "Level01" end)
  178.  
  179. Player.CharacterAdded:Connect(AntiSit)
  180. task.spawn(function()
  181. task.wait(3)
  182. AntiSit(Player.Character)
  183. end)
  184.  
  185. for i = 1, 10 do
  186. setfpscap(_G.AutofarmSettings.Fps)
  187. task.wait(0.1)
  188. end
  189.  
  190. if (_G.AutofarmSettings.Saver == true) then
  191. game:GetService("RunService"):Set3dRenderingEnabled(false)
  192. else
  193. -- No UI, so this section is removed
  194. end
  195.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement