Advertisement
BINO2002

Untitled

Nov 27th, 2018
19,236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. local root = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  2. local function collect(folder)
  3. for _,part in ipairs(folder:GetChildren()) do
  4. if part.Parent then
  5. root.CFrame = part.CFrame
  6. wait(0.5)
  7. end
  8. end
  9. end
  10. collect(workspace.TreasureCollectibles)
  11. collect(workspace.Treasures)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement