Advertisement
DylanD2003

Untitled

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