Advertisement
dahpiglz

Untitled

Oct 29th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2.  
  3. player.Character.Parent = game.Workspace.Camera
  4. print(player.Character.Parent.Name)
  5.  
  6. for i,v in pairs(player.Character:GetChildren()) do
  7. if v.ClassName == ("Part") then
  8. v.Transparency = 1
  9. end
  10. end
  11.  
  12. m1 = Instance.new("Model")
  13. m1.Parent = game.Workspace
  14.  
  15. while true do
  16. for i,v in pairs(player.Character:GetChildren()) do
  17. if v.ClassName == ("Part") then
  18. local p = v:Clone()
  19. p.CanCollide = false
  20. --p.Anchored = true
  21. if p.Name ~= ("HumanoidRootPart") then
  22. p.Transparency = 0
  23. end
  24. p.Parent = m1
  25. end
  26. end
  27. wait(0.01)
  28. m1:ClearAllChildren()
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement