Advertisement
Synpase_X

fakechar hat dupe reanimation

Jul 8th, 2023 (edited)
767
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.41 KB | None | 0 0
  1.  
  2. sethiddenproperty(game.Players.LocalPlayer,"MaximumSimulationRadius",math.huge)
  3. sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",1.0000000331814e+32)
  4.  
  5. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
  6. if v:IsA("BasePart") then--and v.Name ~="HumanoidRootPart" then
  7. game:GetService("RunService").Heartbeat:connect(function()
  8. v.Velocity = Vector3.new(0,-25.05,0)
  9. wait(0.5)
  10. end)
  11. end
  12. end
  13.  
  14. local char = workspace[game.Players.LocalPlayer.Name]
  15. char.Archivable = true
  16.  
  17. local fakechar = char:Clone()
  18. fakechar.Name = 'clone'
  19. fakechar.Parent = char
  20. fakechar.Head.face.Transparency = 1
  21.  
  22. local connections = {}
  23.  
  24. function create(part, parent, p, r)
  25. part.AccessoryWeld:Remove()
  26. Instance.new("Attachment",part)
  27. Instance.new("AlignPosition",part)
  28. Instance.new("AlignOrientation",part)
  29. Instance.new("Attachment",parent)
  30. part.AlignPosition.Attachment0 = part.Attachment
  31. part.AlignOrientation.Attachment0 = part.Attachment
  32. part.AlignPosition.Attachment1 = parent.Attachment
  33. part.AlignOrientation.Attachment1 = parent.Attachment
  34. part.Attachment.Position = p
  35. part.Attachment.Orientation = r
  36. part.AlignPosition.MaxForce = 999999999
  37. part.AlignPosition.MaxVelocity = math.huge
  38. part.AlignPosition.ReactionForceEnabled = false
  39. part.AlignPosition.Responsiveness = math.huge
  40. part.AlignOrientation.Responsiveness = 200
  41. part.AlignPosition.RigidityEnabled = false
  42. part.AlignOrientation.MaxTorque = 999999999
  43. end
  44.  
  45. local hats = {
  46. Torso = char:FindFirstChild('Hat1').Handle,
  47. Torso1 = char:FindFirstChild('Robloxclassicred').Handle,
  48. LeftArm = char:FindFirstChild('Pink Hair').Handle,
  49. RightArm = char:FindFirstChild('Pal Hair').Handle,
  50. LeftLeg = char:FindFirstChild('Kate Hair').Handle,
  51. RightLeg = char:FindFirstChild('LavanderHair').Handle
  52. }
  53.  
  54. function rmesh(HatName)
  55. for _,mesh in next, workspace[game.Players.LocalPlayer.Name][HatName]:GetDescendants() do
  56. if mesh:IsA("Mesh") or mesh:IsA("SpecialMesh") then
  57. mesh:Remove()
  58. end
  59. end
  60. end
  61.  
  62. game:GetService('RunService').Heartbeat:connect(function()
  63.     hats.Torso.Velocity = Vector3.new(30,0,0)
  64.     hats.Torso1.Velocity = Vector3.new(30,0,0)
  65.     hats.LeftArm.Velocity = Vector3.new(30,0,0)
  66.     hats.RightArm.Velocity = Vector3.new(30,0,0)
  67.     hats.LeftLeg.Velocity = Vector3.new(30,0,0)
  68.     hats.RightLeg.Velocity = Vector3.new(30,0,0)
  69. end)
  70.  
  71. table.insert(connections, game:GetService('RunService').Stepped:Connect(function()
  72. fakechar.Torso.CanCollide = false
  73. fakechar.Head.CanCollide = false
  74. end))
  75.  
  76.  
  77. create(hats.Torso, fakechar['Torso'], Vector3.new(.5,0,0), Vector3.new(90,0,0))
  78. create(hats.Torso1, fakechar['Torso'], Vector3.new(-.5,0,0), Vector3.new(90,0,0))
  79. create(hats.LeftArm, fakechar['Left Arm'], Vector3.new(), Vector3.new(90,0,0))
  80. create(hats.RightArm, fakechar['Right Arm'], Vector3.new(), Vector3.new(90,0,0))
  81. create(hats.LeftLeg, fakechar['Left Leg'], Vector3.new(), Vector3.new(90,0,0))
  82. create(hats.RightLeg, fakechar['Right Leg'], Vector3.new(), Vector3.new(90,0,0))
  83.  
  84. rmesh('Hat1')
  85. rmesh('Robloxclassicred')
  86. rmesh('Pink Hair')
  87. rmesh('Pal Hair')
  88. rmesh('Kate Hair')
  89. rmesh('LavanderHair')
  90.  
  91. local kill = false
  92.  
  93. for i,v in next, fakechar:GetDescendants() do
  94. if v:IsA("BasePart") then
  95. v.Transparency = 1
  96. end
  97. end
  98.  
  99. fakechar.Humanoid.Died:Connect(function()
  100.    game.Players.LocalPlayer.Character = char
  101.    char:BreakJoints()
  102.    fakechar:Destroy()
  103. kill = true
  104.  
  105. game.Players.LocalPlayer.Character = fakechar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement