draxe55

dahoodp90farm

Jun 18th, 2021
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.28 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. plr.Character.Humanoid:UnequipTools()
  3. if not plr.Backpack:FindFirstChild("[P90]") then repeat wait() plr.Character.HumanoidRootPart.CFrame = game.Workspace.Ignored.Shop["[P90] - $1000"].Head.CFrame fireclickdetector(Workspace.Ignored.Shop["[P90] - $1000"].ClickDetector) until plr.Backpack:FindFirstChild("[P90]") end
  4. plr.Character.Humanoid:EquipTool(plr.Backpack["[P90]"])
  5. local gun = plr.Character:FindFirstChildOfClass("Tool")
  6. gun.Name = "poggers"
  7.  
  8. repeat wait() until plr.Character:FindFirstChild("FULLY_LOADED_CHAR")
  9. --SEAT DESTRUCTIONNNNN
  10. for i,v in pairs(game.Workspace:GetDescendants()) do
  11. if v:IsA("Seat") then
  12. v:Destroy()
  13. end
  14. end
  15. --anti tp anticheat
  16. function DeleteAntiCheat()
  17. for i,v in pairs(plr.Character:GetChildren()) do
  18. if v.ClassName == "Script" and v.Name ~= "Health" then
  19. v:Destroy()
  20. end
  21. end
  22. end
  23.  
  24. plr.CharacterAdded:Connect(function(character)
  25. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("FULLY_LOADED_CHAR")
  26. DeleteAntiCheat()
  27. wait(1)
  28. reset = false
  29. end)
  30. DeleteAntiCheat()
  31. --respawn
  32. local reset = false
  33. spawn(function()
  34. while wait() do
  35. pcall(function()if plr.Character.Humanoid.Health <= 0 then reset = true end end)
  36. end
  37. end)
  38. --antiafk
  39. game:GetService("Players").LocalPlayer.Idled:connect(function()
  40. game:GetService("VirtualUser"):Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  41. wait(1)
  42. game:GetService("VirtualUser"):Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  43. end)
  44. --network ownership
  45. game:GetService('RunService').Stepped:connect(function()
  46. pcall(function()plr.Character.Humanoid:ChangeState(11)end)
  47. setsimulationradius(math.huge)
  48. end)
  49.  
  50. while wait(0.5) do
  51. for i,v in pairs(game.Workspace.Cashiers:GetChildren()) do
  52. if v.Humanoid.Health > 0 then
  53. spawn(function()
  54. while v.Humanoid.Health > 0 do
  55. wait()
  56. pcall(function()plr.Character.HumanoidRootPart.CFrame = v.Head.CFrame * CFrame.new(0.3, -3.7, 3.4)end)
  57. end
  58. end)
  59. repeat
  60. pcall(function()plr.Character.Humanoid:EquipTool(plr.Backpack.poggers)end)
  61. wait(0.5)
  62. if gun.Ammo.Value == 0 then
  63. if plr.DataFolder.Inventory["[P90]"].Value == "0" then
  64. repeat wait()
  65. plr.Character.HumanoidRootPart.CFrame = game.Workspace.Ignored.Shop["120 [P90 Ammo] - $60"].Head.CFrame
  66. fireclickdetector(Workspace.Ignored.Shop["120 [P90 Ammo] - $60"].ClickDetector)
  67. plr.Character.Humanoid:UnequipTools()
  68. until tonumber(plr.DataFolder.Inventory["[P90]"].Value) >= 1000
  69. else
  70. game.ReplicatedStorage.MainEvent:FireServer("Reload", gun)
  71. repeat wait() until gun.Ammo ~= 0
  72. end
  73. else
  74. pcall(function()
  75. game.ReplicatedStorage.MainEvent:FireServer("UpdateMousePos", v.Head.Position)
  76. wait()
  77. gun:Activate()
  78. repeat wait() until v.Humanoid.Health <= 0 or gun.Ammo.Value == 0
  79. gun:Deactivate()
  80. wait(0.1)
  81. end)
  82. end
  83. wait(0.1)
  84. until v.Humanoid.Health <= 0
  85.  
  86. for ii,vv in pairs(game.Workspace.Ignored.Drop:GetChildren()) do
  87. wait(0.2)
  88. if vv.Name ~= "MoneyDrop" then continue end
  89. if (plr.Character.HumanoidRootPart.Position - vv.Position).Magnitude > 25 then continue end
  90. vv.Name = "Grabbing"
  91. vv.Anchored = true
  92. while game.Workspace.Ignored.Drop:FindFirstChild("Grabbing") do
  93. wait()
  94. pcall(function()
  95. plr.character.HumanoidRootPart.CFrame = vv.CFrame
  96. if not reset then fireclickdetector(vv.ClickDetector) end
  97. end)
  98. end
  99. end
  100. end
  101. end
  102. end
Advertisement
Add Comment
Please, Sign In to add comment