Advertisement
DylanD2003

Untitled

Oct 13th, 2017
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.57 KB | None | 0 0
  1. local Target = "DylanD2003" --Twitdoof does it the best, call me ;) 1- (843) 666 6666
  2. local Id = 1008038821 --Set your own custom sound id
  3. local Mp = game:GetService("Players")[Target]
  4. local Mpc = Mp.Character
  5. local Torso = Mpc.HumanoidRootPart.RootJoint
  6. local Ra = Mpc.Torso["Right Shoulder"]
  7. local La = Mpc.Torso["Left Shoulder"]
  8. local Rl = Mpc.Torso["Right Hip"]
  9. local Ll = Mpc.Torso["Left Hip"]
  10. local Down = false
  11.  
  12. Mpc.Animate.Disabled = true
  13. for k,v in ipairs(Mpc.Humanoid:GetPlayingAnimationTracks()) do
  14. v:Stop()
  15. end
  16. local Music = Instance.new("Sound", Mpc.Torso)
  17. Music.Looped = true
  18. Music.SoundId = "rbxassetid://"..tostring(Id)
  19. wait(1)
  20. Mpc.Animate.Disabled = true
  21. Music:Play()
  22.  
  23. local New = function(Object, Parent, Name, Data)
  24. local Object = Instance.new(Object)
  25. for Index, Value in pairs(Data or {}) do
  26. Object[Index] = Value
  27. end
  28. Object.Parent = Parent
  29. Object.Name = Name
  30. return Object
  31. end
  32.  
  33. while true do
  34. if Mpc == nil or Mpc.Parent ~= workspace then
  35. return
  36. end
  37.  
  38. --[[
  39. local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  40. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
  41. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  42. --]]
  43. --By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
  44. --die plz
  45. mouse = game.Players.LocalPlayer:GetMouse()
  46. function ragdoll()
  47. game.Players.LocalPlayer.Character.Archivable = true
  48. clone = game.Players.LocalPlayer.Character:Clone()
  49. clone.Parent = workspace
  50. for i,v in pairs(clone:GetChildren()) do
  51. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  52. v:destroy()
  53. end
  54. for i,p in pairs(v:GetChildren()) do
  55. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  56. p:destroy()
  57. end
  58. end
  59. end
  60. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  61. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  62. t:destroy()
  63. end
  64. end
  65. vel = Instance.new("BodyVelocity", clone.Torso)
  66. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  67. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  68. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=121559691"
  69. using = false
  70. hit = Instance.new("Sound", clone.Torso)
  71. hit.SoundId = "rbxassetid://546029423"
  72. hit.Volume = 5
  73. hit1 = Instance.new("Sound", clone.Torso)
  74. hit1.SoundId = "rbxassetid://138087186"
  75. hit1.Volume = 5
  76. hit2 = Instance.new("Sound", clone.Torso)
  77. hit2.SoundId = "rbxassetid://131237241"
  78. hit2.Volume = 5
  79. hit3 = Instance.new("Sound", clone.Torso)
  80. hit3.SoundId = "rbxassetid://278062209"
  81. hit3.Volume = 5
  82. hit3.TimePosition = 0.33
  83. ded = Instance.new("Sound", clone.Torso)
  84. ded.SoundId = "rbxassetid://906084456"
  85. ded.Volume = 10
  86. ded.TimePosition = 5
  87. local leftarm = clone:findFirstChild("Left Arm")
  88. local rightrm = clone:findFirstChild("Right Arm")
  89. local leftleg = clone:findFirstChild("Left Leg")
  90. local rightleg = clone:findFirstChild("Right Leg")
  91. local head = clone:findFirstChild("Head")
  92. local welding = Instance.new("Weld", clone.Torso)
  93. welding.Part0 = clone.Torso
  94. welding.Part1 = head
  95. welding.C0 = welding.C0 * CFrame.new(0,1.5,0)
  96. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  97. if g.ClassName == "Part" then
  98. g:destroy()
  99. end
  100. end
  101. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  102. if h.ClassName == "Accesory" then
  103. h:destroy()
  104. end
  105. end
  106. game.Workspace.CurrentCamera.CameraSubject = head
  107. if leftleg ~= nil then
  108. local glue = Instance.new("Glue", clone.Torso)
  109. glue.Part0 = clone.Torso
  110. glue.Part1 = leftleg
  111. glue.Name = "Left leg"
  112. local collider = Instance.new("Part", leftleg)
  113. collider.Position = Vector3.new(0,999,0)
  114. collider.Size = Vector3.new(1.7, 1, 1)
  115. collider.Shape = "Cylinder"
  116. local weld = Instance.new("Weld", collider)
  117. weld.Part0 = leftleg
  118. weld.Part1 = collider
  119. weld.C0 = CFrame.Angles(0, 0, 80)
  120. collider.TopSurface = "Smooth"
  121. collider.BottomSurface = "Smooth"
  122. collider.formFactor = "Symmetric"
  123. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  124. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  125. collider.Transparency = 1
  126. end
  127. ------------
  128. if rightleg ~= nil then
  129. local glue1 = Instance.new("Glue", clone.Torso)
  130. glue1.Part0 = clone.Torso
  131. glue1.Part1 = rightleg
  132. glue1.Name = "Right leg"
  133. local collider1 = Instance.new("Part", rightleg)
  134. collider1.Position = Vector3.new(0,999,0)
  135. collider1.Size = Vector3.new(1.7, 1, 1)
  136. collider1.Shape = "Cylinder"
  137. local weld1 = Instance.new("Weld", collider1)
  138. weld1.Part0 = rightleg
  139. weld1.Part1 = collider1
  140. weld1.C0 = CFrame.Angles(0, 0, 80)
  141. collider1.TopSurface = "Smooth"
  142. collider1.BottomSurface = "Smooth"
  143. collider1.formFactor = "Symmetric"
  144. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  145. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  146. collider1.Transparency = 1
  147. end
  148. ------------
  149. if rightrm ~= nil then
  150. local glue11 = Instance.new("Glue", clone.Torso)
  151. glue11.Part0 = clone.Torso
  152. glue11.Part1 = rightrm
  153. glue11.Name = "Right shoulder"
  154. local collider11 = Instance.new("Part", rightrm)
  155. collider11.Position = Vector3.new(0,9999,0)
  156. collider11.Size = Vector3.new(1.8,1,1)
  157. collider11.Shape = "Cylinder"
  158. local weld11 = Instance.new("Weld", collider11)
  159. weld11.Part0 = rightrm
  160. weld11.Part1 = collider11
  161. weld11.C0 = CFrame.Angles(0, 0, 80)
  162. collider11.TopSurface = "Smooth"
  163. collider11.BottomSurface = "Smooth"
  164. collider11.formFactor = "Symmetric"
  165. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  166. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  167. collider11.Transparency = 1
  168. end
  169. ------------
  170. if leftarm ~= nil then
  171. local glue111 = Instance.new("Glue", clone.Torso)
  172. glue111.Part0 = clone.Torso
  173. glue111.Part1 = leftarm
  174. glue111.Name = "Left shoulder"
  175. local collider111 = Instance.new("Part", leftarm)
  176. collider111.Position = Vector3.new(0,9999,0)
  177. collider111.Size = Vector3.new(1.8,1,1)
  178. collider111.Shape = "Cylinder"
  179. local weld111 = Instance.new("Weld", collider111)
  180. weld111.Part0 = leftarm
  181. weld111.Part1 = collider111
  182. weld111.C0 = CFrame.Angles(0, 0, 80)
  183. collider111.TopSurface = "Smooth"
  184. collider111.BottomSurface = "Smooth"
  185. collider111.formFactor = "Symmetric"
  186. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  187. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  188. collider111.Transparency = 1
  189. ----------------
  190. sensoring = Instance.new("Part", clone.Torso)
  191. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  192. sensoring.CanCollide = false
  193. sensoring.Position = clone.Torso.Position
  194. local welder = Instance.new("Weld", sensoring)
  195. welder.Part0 = clone.Torso
  196. welder.Part1 = sensoring
  197. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  198. sensoring.Transparency = 1
  199. -----------------
  200. sensoring1 = Instance.new("Part", clone.Torso)
  201. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  202. sensoring1.CanCollide = false
  203. sensoring1.Position = clone.Torso.Position
  204. local welder1 = Instance.new("Weld", sensoring)
  205. welder1.Part0 = clone.Torso
  206. welder1.Part1 = sensoring1
  207. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  208. sensoring1.Transparency = 1
  209. end
  210. clone.Name = game.Players.LocalPlayer.Character.Name.." (Ded ・ω・ )"
  211. ded:Play()
  212. vel:destroy()
  213. wait(0.5)
  214. local function touch()
  215. if not using then
  216. using = true
  217. local Math = math.random(1,4)
  218. if Math == 1 then
  219. hit:Play()
  220. end
  221. if Math == 2 then
  222. hit1:Play()
  223. end
  224. if Math == 3 then
  225. hit2:Play()
  226. end
  227. if Math == 4 then
  228. hit3:Play()
  229. end
  230. wait(0.1)
  231. using = false
  232. end
  233. end
  234. sensoring.Touched:connect(touch)
  235. sensoring1.Touched:connect(touch)
  236. wait(4.47)
  237. hit1.Volume = 0
  238. hit2.Volume = 0
  239. hit3.Volume = 0
  240. hit.Volume = 0
  241. end
  242.  
  243. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  244.  
  245. --di ent
  246.  
  247. if Down == true then
  248. Mpc.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, -0.642787576, 0.766044378, 0, 0.766044378, 0.642787576)
  249. Torso.C0 = CFrame.new(0, -0.565685511, 0.565685451, -1, 0, 0, 0, 0.819151998, 0.57357645, 0, 0.57357645, -0.819151998)
  250. Ra.C0 = CFrame.new(1, 0.5, 0, -0.640856445, 0.298836261, 0.70710665, 0.422618181, 0.906307697, 0, -0.640856206, 0.298836142, -0.707106829)
  251. La.C0 = CFrame.new(-1, 0.5, 0, -0.640856266, -0.298836112, -0.707106829, -0.42261821, 0.906307638, 1.1920929e-007, 0.640856326, 0.298836291, -0.70710665)
  252. Rl.C0 = CFrame.new(1, -1.00000024, -7.15255737e-007, 0, -0.173648179, 0.98480773, 0.906307578, 0.416197598, 0.0733868778, -0.422618181, 0.892538607, 0.157378644)
  253. Ll.C0 = CFrame.new(-1, -1.00000012, -4.76837158e-007, 0, 0.173648179, -0.98480773, -0.906307578, 0.416197598, 0.0733868778, 0.422618181, 0.892538607, 0.157378644)
  254. Down = false
  255. else
  256. Torso.C0 = CFrame.new(0, -0.680400848, 0.729515791, -1, 0, 0, 0, 0.906307518, 0.422618628, 0, 0.422618628, -0.906307518)
  257. Rl.C0 = CFrame.new(0.906030774, -1.00885236, -0.0330374241, 1.72189232e-007, -0.342020363, 0.939692497, 0.965925455, 0.243210346, 0.0885212049, -0.258818984, 0.907672882, 0.330366194)
  258. Ll.C0 = CFrame.new(-0.906030774, -1.00885236, -0.0330374241, 0, 0.342020094, -0.939692497, -0.965925455, 0.243210256, 0.088521257, 0.258819014, 0.907672822, 0.330365896)
  259. Down = true
  260. end
  261.  
  262. wait(0.125)
  263. for g,p in pairs(game:GetService("Players"):GetPlayers()) do
  264. if p.Name ~= "Twitdoof" then
  265. ypcall(function()
  266. if (Mpc.Torso.Position - p.Character.Torso.Position).magnitude <= 41 then
  267. p.Character.Torso["Right Shoulder"].C0 = CFrame.new(-1, 0.5)
  268. p.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1, 0.5)
  269. end
  270. end)
  271. end
  272. end
  273. wait(0.125)
  274. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement