Advertisement
spacemonkey3591

Died

Jun 17th, 2017
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.50 KB | None | 0 0
  1. --By Rufus14 (i forgot to add creditz cuz som1 could steal it xdxd)
  2. mouse = game.Players.LocalPlayer:GetMouse()
  3. kysing = false
  4. gun = Instance.new("Part", game.Players.LocalPlayer.Character)
  5. gun.Size = Vector3.new(0.5, 1, 2)
  6. gun.CanCollide = false
  7. gun:BreakJoints()
  8. gun.Transparency = 0
  9. weld = Instance.new("Weld", gun)
  10. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  11. weld.Part1 = gun
  12. weld.C0 = weld.C0 * CFrame.new(-0.2,-1.45,-0.25) * CFrame.Angles(0,2.5,0.5)
  13. leel = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  14. leel.SoundId = "rbxassetid://0"
  15. leel.Volume = 10
  16. mesh = Instance.new("SpecialMesh", gun)
  17. mesh.MeshId = "rbxassetid://623102664"
  18. mesh.TextureId = "rbxassetid://623102879"
  19. mesh.Scale = Vector3.new(0.01,0.01,0.01)
  20. function kysplz(key)
  21. if key == "q" then
  22. if not kysing then
  23. kysing = true
  24. leel:Play()
  25. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  26. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  27. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  28. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  29. rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  30. for i = 1,2 do
  31. wait()
  32. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
  33. end
  34. for i = 1,4 do
  35. wait()
  36. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.2)
  37. end
  38. for i = 1,4 do
  39. wait()
  40. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.2)
  41. end
  42. for i = 1,2 do
  43. wait()
  44. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
  45. end
  46. wait(4)
  47. leel:Stop()
  48. local shot = Instance.new("Sound", gun)
  49. shot.SoundId = "rbxassetid://139593133"
  50. shot.Volume = 10
  51. shot:Play()
  52. game.Players.LocalPlayer.Character.Head.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -7
  53. game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -30
  54. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  55. end
  56. end
  57. end
  58. --0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0
  59. --0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0
  60. --[[
  61. local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  62. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
  63. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  64. --]]
  65. --By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
  66. --die plz
  67. mouse = game.Players.LocalPlayer:GetMouse()
  68. function ragdoll()
  69.  
  70. game.Players.LocalPlayer.Character.Archivable = true
  71. clone = game.Players.LocalPlayer.Character:Clone()
  72. clone.Parent = workspace
  73. for i,v in pairs(clone:GetChildren()) do
  74. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  75. v:destroy()
  76. end
  77. for i,p in pairs(v:GetChildren()) do
  78. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  79. p:destroy()
  80. end
  81. end
  82. end
  83. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  84. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  85. t:destroy()
  86. end
  87. end
  88. vel = Instance.new("BodyVelocity", clone.Torso)
  89. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  90. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  91. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
  92. using = false
  93. hit = Instance.new("Sound", clone.Torso)
  94. hit.SoundId = "rbxassetid://260430060"
  95. hit.Volume = 5
  96. hit1 = Instance.new("Sound", clone.Torso)
  97. hit1.SoundId = "rbxassetid://138087186"
  98. hit1.Volume = 5
  99. hit2 = Instance.new("Sound", clone.Torso)
  100. hit2.SoundId = "rbxassetid://131237241"
  101. hit2.Volume = 5
  102. hit3 = Instance.new("Sound", clone.Torso)
  103. hit3.SoundId = "rbxassetid://278062209"
  104. hit3.Volume = 5
  105. hit3.TimePosition = 0.33
  106. ded = Instance.new("Sound", clone.Torso)
  107. ded.SoundId = "rbxassetid://418892870"
  108. ded.Volume = 5
  109. local leftarm = clone:findFirstChild("Left Arm")
  110. local rightrm = clone:findFirstChild("Right Arm")
  111. local leftleg = clone:findFirstChild("Left Leg")
  112. local rightleg = clone:findFirstChild("Right Leg")
  113. local head = clone:findFirstChild("Head")
  114. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  115. if g.ClassName == "Part" then
  116. g:destroy()
  117. end
  118. end
  119. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  120. if h.ClassName == "Accesory" then
  121. h:destroy()
  122. end
  123. end
  124. game.Workspace.CurrentCamera.CameraSubject = head
  125. if head ~= nil then
  126. local glue13 = Instance.new("Glue", clone.Torso)
  127. glue13.Part0 = clone.Torso
  128. glue13.Part1 = head
  129. glue13.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  130. glue13.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  131. local collider13 = Instance.new("Part", head)
  132. collider13.Position = Vector3.new(0,999,0)
  133. collider13.Size = Vector3.new(0.5, 0.9, 0.9)
  134. collider13.Shape = "Cylinder"
  135. collider13.Transparency = 1
  136. local weld = Instance.new("Weld", collider13)
  137. weld.Part0 = head
  138. weld.Part1 = collider13
  139. weld.C0 = weld.C0 * CFrame.new(0,0.2,0) * CFrame.Angles(0, 0, 80)
  140. collider13.TopSurface = "Smooth"
  141. collider13.BottomSurface = "Smooth"
  142. collider13.formFactor = "Symmetric"
  143. end
  144. if leftleg ~= nil then
  145. local glue = Instance.new("Glue", clone.Torso)
  146. glue.Part0 = clone.Torso
  147. glue.Part1 = leftleg
  148. glue.Name = "Left leg"
  149. local collider = Instance.new("Part", leftleg)
  150. collider.Position = Vector3.new(0,999,0)
  151. collider.Size = Vector3.new(1.7, 1, 1)
  152. collider.Shape = "Cylinder"
  153. local weld = Instance.new("Weld", collider)
  154. weld.Part0 = leftleg
  155. weld.Part1 = collider
  156. weld.C0 = CFrame.Angles(0, 0, 80)
  157. collider.TopSurface = "Smooth"
  158. collider.BottomSurface = "Smooth"
  159. collider.formFactor = "Symmetric"
  160. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  161. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  162. collider.Transparency = 1
  163. end
  164. ------------
  165. if rightleg ~= nil then
  166. local glue1 = Instance.new("Glue", clone.Torso)
  167. glue1.Part0 = clone.Torso
  168. glue1.Part1 = rightleg
  169. glue1.Name = "Right leg"
  170. local collider1 = Instance.new("Part", rightleg)
  171. collider1.Position = Vector3.new(0,999,0)
  172. collider1.Size = Vector3.new(1.7, 1, 1)
  173. collider1.Shape = "Cylinder"
  174. local weld1 = Instance.new("Weld", collider1)
  175. weld1.Part0 = rightleg
  176. weld1.Part1 = collider1
  177. weld1.C0 = CFrame.Angles(0, 0, 80)
  178. collider1.TopSurface = "Smooth"
  179. collider1.BottomSurface = "Smooth"
  180. collider1.formFactor = "Symmetric"
  181. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  182. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  183. collider1.Transparency = 1
  184. end
  185. ------------
  186. if rightrm ~= nil then
  187. local glue11 = Instance.new("Glue", clone.Torso)
  188. glue11.Part0 = clone.Torso
  189. glue11.Part1 = rightrm
  190. glue11.Name = "Right shoulder"
  191. local collider11 = Instance.new("Part", rightrm)
  192. collider11.Position = Vector3.new(0,9999,0)
  193. collider11.Size = Vector3.new(1.8,1,1)
  194. collider11.Shape = "Cylinder"
  195. local weld11 = Instance.new("Weld", collider11)
  196. weld11.Part0 = rightrm
  197. weld11.Part1 = collider11
  198. weld11.C0 = CFrame.Angles(0, 0, 80)
  199. collider11.TopSurface = "Smooth"
  200. collider11.BottomSurface = "Smooth"
  201. collider11.formFactor = "Symmetric"
  202. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  203. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  204. collider11.Transparency = 1
  205. end
  206. ------------
  207. if leftarm ~= nil then
  208. local glue111 = Instance.new("Glue", clone.Torso)
  209. glue111.Part0 = clone.Torso
  210. glue111.Part1 = leftarm
  211. glue111.Name = "Left shoulder"
  212. local collider111 = Instance.new("Part", leftarm)
  213. collider111.Position = Vector3.new(0,9999,0)
  214. collider111.Size = Vector3.new(1.8,1,1)
  215. collider111.Shape = "Cylinder"
  216. local weld111 = Instance.new("Weld", collider111)
  217. weld111.Part0 = leftarm
  218. weld111.Part1 = collider111
  219. weld111.C0 = CFrame.Angles(0, 0, 80)
  220. collider111.TopSurface = "Smooth"
  221. collider111.BottomSurface = "Smooth"
  222. collider111.formFactor = "Symmetric"
  223. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  224. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  225. collider111.Transparency = 1
  226. ----------------
  227. sensoring = Instance.new("Part", clone.Torso)
  228. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  229. sensoring.CanCollide = false
  230. sensoring.Position = clone.Torso.Position
  231. local welder = Instance.new("Weld", sensoring)
  232. welder.Part0 = clone.Torso
  233. welder.Part1 = sensoring
  234. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  235. sensoring.Transparency = 1
  236. -----------------
  237. sensoring1 = Instance.new("Part", clone.Torso)
  238. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  239. sensoring1.CanCollide = false
  240. sensoring1.Position = clone.Torso.Position
  241. local welder1 = Instance.new("Weld", sensoring)
  242. welder1.Part0 = clone.Torso
  243. welder1.Part1 = sensoring1
  244. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  245. sensoring1.Transparency = 1
  246. end
  247. clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)"
  248. ded:Play()
  249. vel:destroy()
  250. wait(0.5)
  251. local function touch()
  252. if not using then
  253. using = true
  254. local Math = math.random(1,4)
  255. if Math == 1 then
  256. hit:Play()
  257. end
  258. if Math == 2 then
  259. hit1:Play()
  260. end
  261. if Math == 3 then
  262. hit2:Play()
  263. end
  264. if Math == 4 then
  265. hit3:Play()
  266. end
  267. wait(0.1)
  268. using = false
  269. end
  270. end
  271. sensoring.Touched:connect(touch)
  272. sensoring1.Touched:connect(touch)
  273. wait(4.47)
  274. hit1.Volume = 0
  275. hit2.Volume = 0
  276. hit3.Volume = 0
  277. hit.Volume = 0
  278. end
  279.  
  280. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  281.  
  282. --di ent
  283. mouse.KeyDown:connect(kysplz)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement