Advertisement
jayrock3401

Untitled

Mar 15th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. --Credit to orca101 for stealing this script :D
  2. Character = script.Parent
  3. Humanoid = Character.Humanoid
  4. Torso = Character.Torso
  5.  
  6. function OnDeath()
  7. print("Death")
  8. Humanoid.Parent = nil
  9. if Torso then
  10. local Head = Character:FindFirstChild("Head")
  11. if Head then
  12. local Neck = Instance.new("Weld")
  13. Neck.Name = "Neck"
  14. Neck.Part0 = Torso
  15. Neck.Part1 = Head
  16. Neck.C0 = CFrame.new(0, 1.5, 0)
  17. Neck.C1 = CFrame.new()
  18. Neck.Parent = Torso
  19. end
  20. local Limb = Character:FindFirstChild("Right Arm")
  21. if Limb then
  22.  
  23. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  24. local Joint = Instance.new("Glue")
  25. Joint.Name = "RightShoulder"
  26. Joint.Part0 = Torso
  27. Joint.Part1 = Limb
  28. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  29. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  30. Joint.Parent = Torso
  31.  
  32. local B = Instance.new("Part")
  33. B.TopSurface = 0
  34. B.BottomSurface = 0
  35. B.formFactor = "Symmetric"
  36. B.Size = Vector3.new(1, 1, 1)
  37. B.Transparency = 1
  38. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  39. B.Parent = Character
  40. local W = Instance.new("Weld")
  41. W.Part0 = Limb
  42. W.Part1 = B
  43. W.C0 = CFrame.new(0, -0.5, 0)
  44. W.Parent = Limb
  45.  
  46. end
  47. local Limb = Character:FindFirstChild("Left Arm")
  48. if Limb then
  49.  
  50. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  51. local Joint = Instance.new("Glue")
  52. Joint.Name = "LeftShoulder"
  53. Joint.Part0 = Torso
  54. Joint.Part1 = Limb
  55. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  56. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  57. Joint.Parent = Torso
  58.  
  59. local B = Instance.new("Part")
  60. B.TopSurface = 0
  61. B.BottomSurface = 0
  62. B.formFactor = "Symmetric"
  63. B.Size = Vector3.new(1, 1, 1)
  64. B.Transparency = 1
  65. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  66. B.Parent = Character
  67. local W = Instance.new("Weld")
  68. W.Part0 = Limb
  69. W.Part1 = B
  70. W.C0 = CFrame.new(0, -0.5, 0)
  71. W.Parent = Limb
  72.  
  73. end
  74. local Limb = Character:FindFirstChild("Right Leg")
  75. if Limb then
  76.  
  77. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  78. local Joint = Instance.new("Glue")
  79. Joint.Name = "RightHip"
  80. Joint.Part0 = Torso
  81. Joint.Part1 = Limb
  82. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  83. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  84. Joint.Parent = Torso
  85.  
  86. local B = Instance.new("Part")
  87. B.TopSurface = 0
  88. B.BottomSurface = 0
  89. B.formFactor = "Symmetric"
  90. B.Size = Vector3.new(1, 1, 1)
  91. B.Transparency = 1
  92. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  93. B.Parent = Character
  94. local W = Instance.new("Weld")
  95. W.Part0 = Limb
  96. W.Part1 = B
  97. W.C0 = CFrame.new(0, -0.5, 0)
  98. W.Parent = Limb
  99.  
  100. end
  101. local Limb = Character:FindFirstChild("Left Leg")
  102. if Limb then
  103.  
  104. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  105. local Joint = Instance.new("Glue")
  106. Joint.Name = "LeftHip"
  107. Joint.Part0 = Torso
  108. Joint.Part1 = Limb
  109. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  110. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  111. Joint.Parent = Torso
  112.  
  113. local B = Instance.new("Part")
  114. B.TopSurface = 0
  115. B.BottomSurface = 0
  116. B.formFactor = "Symmetric"
  117. B.Size = Vector3.new(1, 1, 1)
  118. B.Transparency = 1
  119. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  120. B.Parent = Character
  121. local W = Instance.new("Weld")
  122. W.Part0 = Limb
  123. W.Part1 = B
  124. W.C0 = CFrame.new(0, -0.5, 0)
  125. W.Parent = Limb
  126.  
  127. end
  128. --[
  129. local Bar = Instance.new("Part")
  130. Bar.TopSurface = 0
  131. Bar.BottomSurface = 0
  132. Bar.formFactor = "Symmetric"
  133. Bar.Size = Vector3.new(1, 1, 1)
  134. Bar.Transparency = 1
  135. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  136. Bar.Parent = Character
  137. local Weld = Instance.new("Weld")
  138. Weld.Part0 = Torso
  139. Weld.Part1 = Bar
  140. Weld.C0 = CFrame.new(0, 0.5, 0)
  141. Weld.Parent = Torso
  142. --]]
  143.  
  144. wait(1)
  145. print(Character["Right Arm"].CanCollide)
  146. end
  147. end
  148.  
  149. Humanoid.Died:connect(OnDeath)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement