TheUnknownDiscord

kill

Dec 21st, 2021 (edited)
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.28 KB | None | 0 0
  1. owner.Character.Archivable = true
  2. local Character = owner.Character:Clone()
  3. Character.Parent = workspace
  4. Character.Humanoid.Health = 0
  5. if Character:findFirstChild("Health").ClassName == "Script" then
  6. Character:findFirstChild("Health").Disabled = true
  7. end
  8. game:GetService("Debris"):AddItem(Character,120)
  9. owner.Character.Archivable = false
  10. coroutine.wrap(function()
  11. for i,v in pairs(owner.Character:GetDescendants()) do
  12. pcall(function()
  13. if v ~= owner.Character.Humanoid then
  14. if v ~= owner.Character then
  15. v.Parent = nil
  16. end
  17. end
  18. end)
  19. end
  20. end)()
  21. local limbcollider = Instance.new("Part", Character:findFirstChild("Right Arm"))
  22. limbcollider.Size = Vector3.new(1.4,1,1)
  23. limbcollider.Transparency = 1
  24. limbcollider.Name = "LimbCollider"
  25. local limbcolliderweld = Instance.new("Weld", limbcollider)
  26. limbcolliderweld.Part0 = Character:findFirstChild("Right Arm")
  27. limbcolliderweld.Part1 = limbcollider
  28. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  29. local limbcollider2 = Instance.new("Part", Character:findFirstChild("Left Arm"))
  30. limbcollider2.Size = Vector3.new(1.4,1,1)
  31. limbcollider2.Transparency = 1
  32. limbcollider2.Name = "LimbCollider"
  33. local limbcolliderweld2 = Instance.new("Weld", limbcollider2)
  34. limbcolliderweld2.Part0 = Character:findFirstChild("Left Arm")
  35. limbcolliderweld2.Part1 = limbcollider2
  36. limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  37. local limbcollider3 = Instance.new("Part", Character.Head)
  38. limbcollider3.Size = Vector3.new(0.5,0.5,0.5)
  39. limbcollider3.Shape = "Ball"
  40. limbcollider3.Transparency = 1
  41. limbcollider3.Name = "LimbCollider"
  42. local limbcolliderweld = Instance.new("Weld", limbcollider3)
  43. limbcolliderweld.Part0 = Character.Head
  44. limbcolliderweld.Part1 = limbcollider3
  45. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  46. local density = 1
  47. local friction = 1
  48. local elasticity = 2
  49. local frictionWeight = 1
  50. local elasticityWeight = 5
  51. local mass = 0
  52. local physProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)
  53. for i,v in pairs(Character:GetDescendants()) do
  54. pcall(function()
  55. if v:IsA("Motor6D") then
  56. v.Enabled = false
  57. end
  58. end)
  59. end
  60. function the()
  61. local Socket = Instance.new("BallSocketConstraint")
  62. local a1 = Instance.new("Attachment")
  63. local a2 = Instance.new("Attachment")
  64. a1.Parent = Character["Left Arm"]
  65. a2.Parent = Character.Torso
  66. Socket.Parent = Character["Left Arm"]
  67. Socket.Attachment0 = a1
  68. Socket.Attachment1 = a2
  69. a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.5,0)
  70. a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(-1.5,0.5,0)
  71. Socket.LimitsEnabled = true
  72. end
  73. function the5()
  74. local Socket = Instance.new("BallSocketConstraint")
  75. local a1 = Instance.new("Attachment")
  76. local a2 = Instance.new("Attachment")
  77. a1.Parent = Character["Left Leg"]
  78. a2.Parent = Character.Torso
  79. Socket.Parent = Character["Left Leg"]
  80. Socket.Attachment0 = a1
  81. Socket.Attachment1 = a2
  82. a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.75,0)
  83. a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(-0.5,-1.25,0)
  84. Socket.LimitsEnabled = true
  85. end
  86. function the6()
  87. local Socket = Instance.new("BallSocketConstraint")
  88. local a1 = Instance.new("Attachment")
  89. local a2 = Instance.new("Attachment")
  90. a1.Parent = Character["Right Leg"]
  91. a2.Parent = Character.Torso
  92. Socket.Parent = Character["Right Leg"]
  93. Socket.Attachment0 = a1
  94. Socket.Attachment1 = a2
  95. Socket.LimitsEnabled = true
  96. a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.75,0)
  97. a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(0.5,-1.25,0)
  98. local limbcollider = Instance.new("Part", Character:findFirstChild("Right Leg"))
  99. limbcollider.Size = Vector3.new(1.4,1,1)
  100. limbcollider.Transparency = 1
  101. limbcollider.Name = "LimbCollider"
  102. local limbcolliderweld = Instance.new("Weld", limbcollider)
  103. limbcolliderweld.Part0 = Character:findFirstChild("Right Leg")
  104. limbcolliderweld.Part1 = limbcollider
  105. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  106. local limbcollider2 = Instance.new("Part", Character:findFirstChild("Left Leg"))
  107. limbcollider2.Size = Vector3.new(1.4,1,1)
  108. limbcollider2.Transparency = 1
  109. limbcollider2.Name = "LimbCollider"
  110. local limbcolliderweld2 = Instance.new("Weld", limbcollider2)
  111. limbcolliderweld2.Part0 = Character:findFirstChild("Left Leg")
  112. limbcolliderweld2.Part1 = limbcollider2
  113. limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  114. end
  115. function the4()
  116. local Socket = Instance.new("BallSocketConstraint")
  117. local a1 = Instance.new("Attachment")
  118. local a2 = Instance.new("Attachment")
  119. a1.Parent = Character.HumanoidRootPart
  120. a2.Parent = Character.Torso
  121. Socket.Parent = Character.HumanoidRootPart
  122. Socket.Attachment0 = a1
  123. Socket.Attachment1 = a2
  124. a1.WorldCFrame = a1.Parent.CFrame
  125. a2.WorldCFrame = a1.Parent.CFrame
  126. Socket.LimitsEnabled = true
  127. end
  128. function the3()
  129. local Socket = Instance.new("BallSocketConstraint")
  130. local a1 = Instance.new("Attachment")
  131. local a2 = Instance.new("Attachment")
  132. a1.Parent = Character.Head
  133. a2.Parent = Character.Torso
  134. Socket.Parent = Character.Head
  135. Socket.Attachment0 = a1
  136. Socket.Attachment1 = a2
  137. a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,-0.5,0)
  138. a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(0,1.0625,0)
  139. Socket.TwistLimitsEnabled = true
  140. Socket.LimitsEnabled = true
  141. end
  142. function the2()
  143. local Socket = Instance.new("BallSocketConstraint")
  144. local a1 = Instance.new("Attachment")
  145. local a2 = Instance.new("Attachment")
  146. a1.Parent = Character["Right Arm"]
  147. a2.Parent = Character.Torso
  148. Socket.Parent = Character["Right Arm"]
  149. Socket.Attachment0 = a1
  150. Socket.Attachment1 = a2
  151. a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(0,0.5,0)
  152. a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(1.5,0.5,0)
  153. Socket.LimitsEnabled = true
  154. end
  155. the()
  156. the2()
  157. the3()
  158. the4()
  159. the5()
  160. the6()
  161. Character.Humanoid.RequiresNeck = false
  162. Character.Humanoid.PlatformStand = true
  163. for i,v in pairs(Character:GetDescendants()) do
  164. if v:IsA("Part") then
  165. local nocollide = Instance.new("NoCollisionConstraint",Character.HumanoidRootPart)
  166. nocollide.Part0 = v
  167. nocollide.Part1 = Character.HumanoidRootPart
  168. v.CustomPhysicalProperties = physProperties
  169. end
  170. end
  171. headshotids = {6837727169, 6837727725, 6837726415,6837724677,6837689373,6837725727}
  172. local bodyhit = Instance.new("Sound", Character.Torso)
  173. bodyhit.SoundId = "rbxassetid://220025741"
  174. bodyhit.Volume = 2
  175. coroutine.wrap(function()
  176. while true do
  177. pcall(function()
  178. while Character.Torso.Velocity.y >= -10 do
  179. task.wait()
  180. end
  181. while Character.Torso.Velocity.y < -10 do
  182. task.wait()
  183. end
  184. local rand = math.random(1,#headshotids)
  185. bodyhit.SoundId = "rbxassetid://"..headshotids[rand]
  186. bodyhit.TimePosition = 0.2
  187. bodyhit:Play()
  188. bodyhit.Ended:Wait(0.0625)
  189. end)
  190. end
  191. end)()
Add Comment
Please, Sign In to add comment