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