Advertisement
Animescapetower

Humanoid thingy

Mar 28th, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.34 KB | None | 0 0
  1. playername = game.Players.LocalPlayer.Name
  2. workspace[playername].Humanoid:Destroy()
  3. e = Instance.new("Humanoid")
  4. e.Health = 100
  5. e.MaxHealth = 100
  6. e.JumpPower = 50
  7. e.HipHeight = 0
  8. e.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOff
  9. e.RigType = Enum.HumanoidRigType.R6
  10. e.Parent = workspace[playername]
  11. for c = 1,1 do
  12.  
  13.  
  14.  
  15. meme = workspace
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. wait(0.1)
  23. workspace[playername].Humanoid.Health = "Inf"
  24. workspace[playername].Humanoid.MaxHealth = "Inf"
  25. workspace[playername].Humanoid.WalkSpeed = 52
  26.  
  27. end
  28.  
  29. --[[ This may take time, use this script in your own scripts just to add a ragdoll whenever you die, works for only r6 people
  30.  
  31. ]]
  32. wait(0.5)
  33. HUMANOID = game.Players.LocalPlayer.Character.Humanoid
  34. wait()
  35. if HUMANOID.RigType ~= Enum.HumanoidRigType.R6 then
  36. game.Debris:AddItem(script,1)
  37. else
  38. wait()
  39. function getAttachment0(attachmentName)
  40. for _,child in next,script.Parent:GetChildren() do
  41. local attachment = child:FindFirstChild(attachmentName)
  42. if attachment then
  43. return attachment
  44. end
  45. end
  46. end
  47. HUMANOID.Died:Connect(function(var)
  48. sound = Instance.new("Sound")
  49. sound.Volume = 3
  50. sound.Looped = false
  51. sound.SoundId = "https://web.roblox.com/library/917372662"
  52. sound.Parent = workspace
  53. sound:Play()
  54. local removeHRP = true
  55. local head = HUMANOID.Parent.Head
  56. local leftarm = HUMANOID.Parent["Left Arm"]
  57. local leftleg = HUMANOID.Parent["Left Leg"]
  58. local rightleg = HUMANOID.Parent["Right Leg"]
  59. local rightarm = HUMANOID.Parent["Right Arm"]
  60. local torso = HUMANOID.Parent.Torso
  61. local root =HUMANOID.Parent.HumanoidRootPart
  62. if removeHRP == true then
  63. root:Destroy()
  64. end
  65. local rootA =Instance.new("Attachment")
  66. local HeadA = Instance.new("Attachment")
  67. local LeftArmA = Instance.new("Attachment")
  68. local LeftLegA = Instance.new("Attachment")
  69. local RightArmA = Instance.new("Attachment")
  70. local RightLegA = Instance.new("Attachment")
  71. local TorsoA = Instance.new("Attachment")
  72. local TorsoA1 = Instance.new("Attachment")
  73. local TorsoA2 = Instance.new("Attachment")
  74. local TorsoA3 = Instance.new("Attachment")
  75. local TorsoA4 = Instance.new("Attachment")
  76. local TorsoA5 = Instance.new("Attachment")
  77. function set1()
  78. HeadA.Name = "HeadA"
  79. HeadA.Parent = head
  80. HeadA.Position = Vector3.new(0, -0.5, 0)
  81. HeadA.Rotation = Vector3.new(0, 0, 0)
  82. HeadA.Axis = Vector3.new(1, 0, 0)
  83. HeadA.SecondaryAxis = Vector3.new(0, 1, 0)
  84. LeftArmA.Name = "LeftArmA"
  85. LeftArmA.Parent = leftarm
  86. LeftArmA.Position = Vector3.new(0.5, 1, 0)
  87. LeftArmA.Rotation = Vector3.new(0, 0, 0)
  88. LeftArmA.Axis = Vector3.new(1, 0, 0)
  89. LeftArmA.SecondaryAxis = Vector3.new(0, 1, 0)
  90. LeftLegA.Name = "LeftLegA"
  91. LeftLegA.Parent = leftleg
  92. LeftLegA.Position = Vector3.new(0, 1, 0)
  93. LeftLegA.Rotation = Vector3.new(0, 0, 0)
  94. LeftLegA.Axis = Vector3.new(1, 0, 0)
  95. LeftLegA.SecondaryAxis = Vector3.new(0, 1, 0)
  96. RightArmA.Name = "RightArmA"
  97. RightArmA.Parent = rightarm
  98. RightArmA.Position = Vector3.new(-0.5, 1, 0)
  99. RightArmA.Rotation = Vector3.new(0, 0, 0)
  100. RightArmA.Axis = Vector3.new(1, 0, 0)
  101. RightArmA.SecondaryAxis = Vector3.new(0, 1, 0)
  102. RightLegA.Name = "RightLegA"
  103. RightLegA.Parent = rightleg
  104. RightLegA.Position = Vector3.new(0, 1, 0)
  105. RightLegA.Rotation = Vector3.new(0, 0, 0)
  106. RightLegA.Axis = Vector3.new(1, 0, 0)
  107. RightLegA.SecondaryAxis = Vector3.new(0, 1, 0)
  108. rootA.Name= "rootA"
  109. rootA.Parent = root
  110. rootA.Position = Vector3.new(0, 0, 0)
  111. rootA.Rotation = Vector3.new(0, 90, 0)
  112. rootA.Axis = Vector3.new(0, 0, -1)
  113. rootA.SecondaryAxis = Vector3.new(0, 1, 0)
  114. end
  115. function set2()
  116. TorsoA.Name = "TorsoA"
  117. TorsoA.Parent = torso
  118. TorsoA.Position = Vector3.new(0.5, -1, 0)
  119. TorsoA.Rotation = Vector3.new(0, 0, 0)
  120. TorsoA.Axis = Vector3.new(1, 0, 0)
  121. TorsoA.SecondaryAxis = Vector3.new(0, 1, 0)
  122. TorsoA1.Name = "TorsoA1"
  123. TorsoA1.Parent = torso
  124. TorsoA1.Position = Vector3.new(-0.5, -1, 0)
  125. TorsoA1.Rotation = Vector3.new(0, 0, 0)
  126. TorsoA1.Axis = Vector3.new(1, 0, 0)
  127. TorsoA1.SecondaryAxis = Vector3.new(0, 1, 0)
  128. TorsoA2.Name = "TorsoA2"
  129. TorsoA2.Parent = torso
  130. TorsoA2.Position = Vector3.new(-1, 1, 0)
  131. TorsoA2.Rotation = Vector3.new(0, 0, 0)
  132. TorsoA2.Axis = Vector3.new(1, 0, 0)
  133. TorsoA2.SecondaryAxis = Vector3.new(0, 1, 0)
  134. TorsoA3.Name = "TorsoA3"
  135. TorsoA3.Parent = torso
  136. TorsoA3.Position = Vector3.new(1, 1, 0)
  137. TorsoA3.Rotation = Vector3.new(0, 0, 0)
  138. TorsoA3.Axis = Vector3.new(1, 0, 0)
  139. TorsoA3.SecondaryAxis = Vector3.new(0, 1, 0)
  140. TorsoA4.Name = "TorsoA4"
  141. TorsoA4.Parent = torso
  142. TorsoA4.Position = Vector3.new(0, 1, 0)
  143. TorsoA4.Rotation = Vector3.new(0, 0, 0)
  144. TorsoA4.Axis = Vector3.new(1, 0, 0)
  145. TorsoA4.SecondaryAxis = Vector3.new(0, 1, 0)
  146. TorsoA5.Name = "TorsoA5"
  147. TorsoA5.Parent = torso
  148. TorsoA5.Position = Vector3.new(0, 0, 0)
  149. TorsoA5.Rotation = Vector3.new(0, 90, 0)
  150. TorsoA5.Axis = Vector3.new(0, 0, -1)
  151. TorsoA5.SecondaryAxis = Vector3.new(0, 1, 0)
  152. end
  153. function set3()
  154. end
  155. spawn(set1);
  156. spawn(set2);
  157. local HA = Instance.new("HingeConstraint")
  158. HA.Parent = head
  159. HA.Attachment0 = HeadA
  160. HA.Attachment1 = TorsoA4
  161. HA.Enabled = true
  162. HA.LimitsEnabled=true
  163. HA.LowerAngle=0
  164. HA.UpperAngle=0
  165. local LAT = Instance.new("BallSocketConstraint")
  166. LAT.Parent = leftarm
  167. LAT.Attachment0 = LeftArmA
  168. LAT.Attachment1 = TorsoA2
  169. LAT.Enabled = true
  170. LAT.LimitsEnabled=true
  171. LAT.UpperAngle=90
  172. local RAT = Instance.new("BallSocketConstraint")
  173. RAT.Parent = rightarm
  174. RAT.Attachment0 = RightArmA
  175. RAT.Attachment1 = TorsoA3
  176. RAT.Enabled = true
  177. RAT.LimitsEnabled=true
  178. RAT.UpperAngle=90
  179. local HA = Instance.new("BallSocketConstraint")
  180. HA.Parent = head
  181. HA.Attachment0 = HeadA
  182. HA.Attachment1 = TorsoA4
  183. HA.Enabled = true
  184. local TLL = Instance.new("BallSocketConstraint")
  185. TLL.Parent = torso
  186. TLL.Attachment0 = TorsoA1
  187. TLL.Attachment1 = LeftLegA
  188. TLL.Enabled = true
  189. TLL.LimitsEnabled=true
  190. TLL.UpperAngle=90
  191. local TRL = Instance.new("BallSocketConstraint")
  192. TRL.Parent = torso
  193. TRL.Attachment0 = TorsoA
  194. TRL.Attachment1 = RightLegA
  195. TRL.Enabled = true
  196. TRL.LimitsEnabled=true
  197. TRL.UpperAngle=90
  198. local RTA = Instance.new("BallSocketConstraint")
  199. RTA.Parent = root
  200. RTA.Attachment0 = rootA
  201. RTA.Attachment1 = TorsoA5
  202. RTA.Enabled = true
  203. RTA.LimitsEnabled=true
  204. RTA.UpperAngle=0
  205. head.Velocity = head.CFrame.lookVector*30
  206.  
  207. for _,child in next,script.Parent:GetChildren() do
  208. if child:IsA("Accoutrement") then
  209. for _,part in next,child:GetChildren() do
  210. if part:IsA("BasePart") then
  211. part.Parent = script.Parent
  212. child:remove()
  213. local attachment1 = part:FindFirstChildOfClass("Attachment")
  214. local attachment0 = getAttachment0(attachment1.Name)
  215. if attachment0 and attachment1 then
  216. local constraint = Instance.new("HingeConstraint")
  217. constraint.Attachment0 = attachment0
  218. constraint.Attachment1 = attachment1
  219. constraint.LimitsEnabled = true
  220. constraint.UpperAngle = 0
  221. constraint.LowerAngle = 0
  222. constraint.Parent = script.Parent
  223. wait(4)
  224. sound:Destroy()
  225. end
  226. end
  227. end
  228. end
  229. end
  230. end)
  231. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement