tripono

rag2

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