Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local char = game:GetService("Players").LocalPlayer.Character
- local function collect(folder)
- for _,part in ipairs(folder:GetChildren()) do
- if part.Parent then
- char:MoveTo(part.Position)
- wait(0.5)
- end
- end
- end
- collect(workspace.TreasureCollectibles)
- collect(workspace.Treasures)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement