Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. pcall(function ()
  2.  
  3. while wait() do
  4.  
  5. for _,v in pairs(game.Workspace.Scenery.Chests.ChestObjects:GetChildren()) do
  6.  
  7. for _,b in pairs(v:GetChildren()) do
  8.  
  9. if b.ClassName =='Part' or b.ClassName =='MeshPart' then
  10.  
  11. b.CanCollide = false
  12.  
  13. b.Transparency = 1
  14.  
  15. for _,c in pairs(b:GetChildren()) do
  16.  
  17. if c.Name ~= 'TouchInterest' then
  18.  
  19. c:Destroy()
  20.  
  21. end;end
  22.  
  23. b.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  24.  
  25. end;end;end
  26. end;end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement