1. _G.Enabled = true
  2. local function bypasscooldown()
  3. game:GetService("ProximityPromptService").PromptButtonHoldBegan:Connect(
  4. function(prompt)
  5. prompt.HoldDuration = 0
  6. end
  7. )
  8. end
  9. while _G.Enabled do
  10. task.wait(.5)
  11. local player = game:GetService("Players").LocalPlayer
  12. local chests = {}
  13. for _, v in pairs(game:GetService("Workspace").chests:GetChildren()) do
  14. if v:IsA("Part") then
  15. table.insert(chests, v)
  16. end
  17. end
  18. for _, v in pairs(game:GetService("Workspace"):GetChildren()) do
  19. if string.sub(v.Name, -2) == "-p" then
  20. table.insert(chests, v)
  21. end
  22. end
  23. if #chests > 0 then
  24. local chest = chests[math.random(#chests)]
  25. for i = 1, 10 do
  26. game:GetService("VirtualInputManager"):SendKeyEvent(true, "E", false, nil)
  27. task.wait()
  28. game:GetService("VirtualInputManager"):SendKeyEvent(false, "E", false, nil)
  29. end
  30. player.Character.HumanoidRootPart.CFrame = CFrame.new(chest.Position + Vector3.new(0, 4, 0))
  31. workspace.FallenPartsDestroyHeight = 0 / 0
  32. bypasscooldown()
  33. end
  34. end