Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local AutoChest = true
- task.spawn(function()
- while AutoChest do
- local hrp = game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- if hrp then
- for _, chest in ipairs(workspace.CornMaze.Chests:GetChildren()) do
- if not AutoChest then
- break
- end
- local part = chest:FindFirstChildWhichIsA("BasePart", true)
- if part then
- hrp.CFrame = part.CFrame + Vector3.new(0, 3, 0)
- task.wait(0.5)
- end
- end
- end
- task.wait(1)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment