Advertisement
Prephy

A clone

Oct 28th, 2020 (edited)
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. PL=owner
  2. PL:LoadCharacter()
  3.  
  4.  
  5. function cloneCharacter(character)
  6. character.Archivable = true
  7. local fake = character:clone()
  8. character.Archivable = false
  9. return fake
  10. end
  11.  
  12. local clone = cloneCharacter(game.Players.sprinkie22.Character)
  13. clone.Parent = workspace
  14. clone:MoveTo(Vector3.new(0, 5, 0))
  15.  
  16. PL.Character.HumanoidRootPart.CanCollide=true
  17.  
  18. local rootpart = PL.Character.HumanoidRootPart
  19. rootpart.Parent=clone
  20. PL.Character.Humanoid.Parent=clone
  21. PL.Character=clone
  22. clone.Humanoid:Destroy()
  23. PL.Character.Humanoid:Destroy()
  24. wait(1)
  25. local HUM = Instance.new("Humanoid",clone)
  26. Instance.new("Animator", HUM)
  27. Instance.new("HumanoidDescription", HUM)
  28. HUM.MaxHealth=math.huge
  29. HUM.Health=math.huge
  30. local ff = Instance.new("ForceField", clone)
  31. ff.Visible=false
  32. HUM.BreakJointsOnDeath=false
  33. wait(6)
  34. HUM:Destroy()
  35. wait(0.1)
  36. local hed = clone.Head
  37. --clone.Torso.Neck:Destroy()
  38. --local Neck = Instance.new("WeldConstraint", clone.Torso)
  39. --Neck.Part0 = hed
  40. --Neck.Part1 = clone.Torso
  41. local HUM = Instance.new("Humanoid",clone)
  42. Instance.new("Animator", HUM)
  43. Instance.new("HumanoidDescription", HUM)
  44. HUM.MaxHealth=inf
  45. HUM.Health=inf
  46. local ff = Instance.new("ForceField", clone)
  47. ff.Visible=false
  48. HUM.BreakJointsOnDeath=false
  49. HUM.Died:Connect(function(died)
  50. local HUM = Instance.new("Humanoid",clone)
  51. HUM.BreakJointsOnDeath=false
  52.  
  53. end)
  54.  
  55.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement