1. pcall(
  2. function()
  3. local function renderSteppedWait(waitTime)
  4. local now = os.clock()
  5. while true do
  6. if (os.clock() - now) >= waitTime then
  7. break
  8. end
  9. renderStepped:Wait()
  10. end
  11. end
  12. end
  13. )
  14. _G.RenderSteppedToggle = true
  15. game:GetService("RunService").Stepped:connect(
  16. function()
  17. if _G.RenderSteppedToggle then
  18. pcall(
  19. function()
  20. for i, v in pairs(game:GetService("Workspace").Chests:GetDescendants()) do
  21. if v.Name == "Root" then
  22. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  23. end
  24. end
  25. end
  26. )
  27. renderStepped:Wait(1)
  28. end
  29. end
  30. )
  31. game:GetService("RunService").Stepped:connect(
  32. function()
  33. if _G.RenderSteppedToggle then
  34. pcall(
  35. function()
  36. game:service("VirtualInputManager"):SendKeyEvent(true, "G", false, game)
  37. end
  38. )
  39. end
  40. end
  41. )