Advertisement
zephpsian

Untitled

Sep 21st, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. [code]local TableOfChests = {}
  2.  
  3.  
  4.  
  5. for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  6.  
  7. if v.Name == "Chest" then
  8.  
  9. TableOfChests[#TableOfChests + 1] = v
  10.  
  11. end
  12.  
  13. end
  14.  
  15. wait(1)
  16.  
  17. for i = 1, #TableOfChests do
  18.  
  19. if TableOfChests[i] then
  20.  
  21. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = TableOfChests[i].CFrame
  22.  
  23. end
  24.  
  25. wait(3)
  26. end[/code]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement