Advertisement
dahpiglz

Untitled

Jun 4th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. player = game.Players.LocalPlayer
  2. character = player.Character
  3.  
  4. character.Parent = game.Workspace.Camera
  5.  
  6. oldvisual = nil
  7.  
  8. while true do
  9. wait(0.1)
  10. if oldvisual ~= nil then
  11. oldvisual:Destroy()
  12. end
  13. local visual = Instance.new("Model")
  14. visual.Name = player.Name
  15.  
  16. for i,v in pairs(character:GetChildren()) do
  17. local visualpart = v:Clone()
  18. visualpart.Parent = visual
  19. if visualpart:IsA("BasePart") then
  20. visualpart.Anchored = true
  21. visualpart.CanCollide = false
  22. end
  23. end
  24. visual.Parent = game.Workspace
  25. oldvisual = visual
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement