Advertisement
f_dumbo

suicide

Dec 3rd, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.23 KB | None | 0 0
  1. mouse = game.Players.LocalPlayer:GetMouse()
  2. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 2000
  3. game.Players.LocalPlayer.Character.Humanoid.Health = 2000
  4. function sandbox(var,func)
  5. local env = getfenv(func)
  6. local newenv = setmetatable({},{
  7. __index = function(self,k)
  8. if k=="script" then
  9. return var
  10. else
  11. return env[k]
  12. end
  13. end,
  14. })
  15. setfenv(func,newenv)
  16. return func
  17. end
  18. cors = {}
  19. mas = Instance.new("Model",game:GetService("Lighting"))
  20. Part0 = Instance.new("Part")
  21. SpecialMesh1 = Instance.new("SpecialMesh")
  22. Part0.Name = "Gun"
  23. Part0.Parent = mas
  24. Part0.CanCollide = false
  25. Part0.Size = Vector3.new(0.970000505, 2.46999931, 0.380000055)
  26. Part0.CFrame = CFrame.new(-211.74501, 2.6168952, 37.920002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  27. Part0.Position = Vector3.new(-211.74501, 2.6168952, 37.920002)
  28. SpecialMesh1.Parent = Part0
  29. SpecialMesh1.MeshId = "rbxassetid://505563629"
  30. SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
  31. SpecialMesh1.TextureId = "rbxassetid://505563636"
  32. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  33. SpecialMesh1.Scale = Vector3.new(0.00499999989, 0.00499999989, 0.00499999989)
  34. for i,v in pairs(mas:GetChildren()) do
  35. v.Parent = game:GetService("Players").LocalPlayer.Character
  36. pcall(function() v:MakeJoints() end)
  37. end
  38. mas:Destroy()
  39. for i,v in pairs(cors) do
  40. spawn(function()
  41. pcall(v)
  42. end)
  43. end
  44. cankys = true
  45. weld = Instance.new("Weld", Part0)
  46. weld.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  47. weld.Part1 = Part0
  48. weld.C0 = CFrame.new(0.158004761, -1.63815379, -1.00455856, -5.79879307e-22, 9.29214533e-23, 1, -0.587791622, -0.809012473, -2.65673535e-22, 0.809012473, -0.587791622, 5.23747954e-22)
  49. function killyourself(key)
  50. if cankys then
  51. cankys = false
  52. if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then
  53. game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://1148787155"
  54. end
  55. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  56. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  57. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  58. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  59. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  60. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  61. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  62. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  63. for i = 0,2 , 0.02 do
  64. weld.C0 = weld.C0:lerp(CFrame.new(0.720336914, -0.258590698, -0.514060974, 0.409927189, 0.572569966, -0.710018694, 0.0567400455, 0.760912359, 0.646370947, 0.910354853, -0.305250764, 0.279430419),i)
  65. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.832244873, 0.405325174, -1.44667816, 0.719340205, -0.634600103, -0.28254649, -0.214658037, 0.183768019, -0.959245205, 0.660660148, 0.750674427, -0.00403028121),i)
  66. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.921920776, 0.294008493, -1.1861496, 0.88295126, 0.469464868, 6.12843053e-07, -0.0490720123, 0.0922940373, -0.994521856, -0.466893107, 0.878114343, 0.104528703),i)
  67. game:GetService("RunService").RenderStepped:wait()
  68. end
  69. script.Parent = nil
  70. function ragdoll()
  71. game.Players.LocalPlayer.Character.Archivable = true
  72. clone = game.Players.LocalPlayer.Character:Clone()
  73. clone.Parent = workspace
  74. for i,v in pairs(clone:GetChildren()) do
  75. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  76. v:destroy()
  77. end
  78. for i,p in pairs(v:GetChildren()) do
  79. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  80. p:destroy()
  81. end
  82. end
  83. end
  84. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  85. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  86. t:destroy()
  87. end
  88. end
  89. vel = Instance.new("BodyVelocity", clone.Torso)
  90. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  91. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  92. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=305296807"
  93. using = false
  94. hit = Instance.new("Sound", clone.Torso)
  95. hit.SoundId = "rbxassetid://260430060"
  96. hit.Volume = 0
  97. hit1 = Instance.new("Sound", clone.Torso)
  98. hit1.SoundId = "rbxassetid://138087186"
  99. hit1.Volume = 0
  100. hit2 = Instance.new("Sound", clone.Torso)
  101. hit2.SoundId = "rbxassetid://131237241"
  102. hit2.Volume = 0
  103. hit3 = Instance.new("Sound", clone.Torso)
  104. hit3.SoundId = "rbxassetid://278062209"
  105. hit3.Volume = 0
  106. hit3.TimePosition = 0.33
  107. ded = Instance.new("Sound", clone.Torso)
  108. ded.SoundId = "rbxassetid://304679846"
  109. ded.Volume = 10
  110. local leftarm = clone:findFirstChild("Left Arm")
  111. local rightrm = clone:findFirstChild("Right Arm")
  112. local leftleg = clone:findFirstChild("Left Leg")
  113. local rightleg = clone:findFirstChild("Right Leg")
  114. local head = clone:findFirstChild("Head")
  115. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  116. if g.ClassName == "Part" then
  117. g:destroy()
  118. end
  119. end
  120. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  121. if h.ClassName == "Accesory" then
  122. h:destroy()
  123. end
  124. end
  125. game.Workspace.CurrentCamera.CameraSubject = head
  126. if head then
  127. local attachment = Instance.new("Attachment", clone.Head)
  128. attachment.Position = Vector3.new(0, -0.5, 0)
  129. attachment.Name = "lol"
  130. attachment.Visible = false
  131. clone.Torso.NeckAttachment.Visible = false
  132. clone.Torso.NeckAttachment.Position = clone.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  133. local ball = Instance.new("BallSocketConstraint", clone)
  134. ball.Attachment0 = clone.Torso.NeckAttachment
  135. ball.Attachment1 = attachment
  136. ball.LimitsEnabled = true
  137. ball.TwistLimitsEnabled = true
  138. ball.UpperAngle = 90
  139. ball.Restitution = 0.5
  140. ball.TwistUpperAngle = 90
  141. ball.TwistLowerAngle = -90
  142. local collidepartofleftleg = Instance.new("Part", clone.Torso)
  143. collidepartofleftleg.Name = "Bone"
  144. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  145. collidepartofleftleg.Transparency = 1
  146. collidepartofleftleg:BreakJoints()
  147. local weeld = Instance.new("Weld", collidepartofleftleg)
  148. weeld.Part0 = collidepartofleftleg
  149. weeld.Part1 = clone["Head"]
  150. end
  151. if leftleg ~= nil then
  152. local glue = Instance.new("Glue", clone.Torso)
  153. glue.Part0 = clone.Torso
  154. glue.Part1 = leftleg
  155. glue.Name = "Left leg"
  156. local collider = Instance.new("Part", leftleg)
  157. collider.Position = Vector3.new(0,999,0)
  158. collider.Size = Vector3.new(1.5, 1, 1)
  159. collider.Shape = "Cylinder"
  160. local weld = Instance.new("Weld", collider)
  161. weld.Part0 = leftleg
  162. weld.Part1 = collider
  163. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  164. collider.TopSurface = "Smooth"
  165. collider.BottomSurface = "Smooth"
  166. collider.formFactor = "Symmetric"
  167. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  168. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  169. collider.Transparency = 1
  170. end
  171. ------------
  172. if rightleg ~= nil then
  173. local glue1 = Instance.new("Glue", clone.Torso)
  174. glue1.Part0 = clone.Torso
  175. glue1.Part1 = rightleg
  176. glue1.Name = "Right leg"
  177. local collider1 = Instance.new("Part", rightleg)
  178. collider1.Position = Vector3.new(0,999,0)
  179. collider1.Size = Vector3.new(1.5, 1, 1)
  180. collider1.Shape = "Cylinder"
  181. local weld1 = Instance.new("Weld", collider1)
  182. weld1.Part0 = rightleg
  183. weld1.Part1 = collider1
  184. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  185. collider1.TopSurface = "Smooth"
  186. collider1.BottomSurface = "Smooth"
  187. collider1.formFactor = "Symmetric"
  188. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  189. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  190. collider1.Transparency = 1
  191. end
  192. ------------
  193. if rightrm ~= nil then
  194. local glue11 = Instance.new("Glue", clone.Torso)
  195. glue11.Part0 = clone.Torso
  196. glue11.Part1 = rightrm
  197. glue11.Name = "Right shoulder"
  198. local collider11 = Instance.new("Part", rightrm)
  199. collider11.Position = Vector3.new(0,9999,0)
  200. collider11.Size = Vector3.new(1.5,1,1)
  201. collider11.Shape = "Cylinder"
  202. local weld11 = Instance.new("Weld", collider11)
  203. weld11.Part0 = rightrm
  204. weld11.Part1 = collider11
  205. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  206. collider11.TopSurface = "Smooth"
  207. collider11.BottomSurface = "Smooth"
  208. collider11.formFactor = "Symmetric"
  209. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  210. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  211. collider11.Transparency = 1
  212. end
  213. ------------
  214. if leftarm ~= nil then
  215. local glue111 = Instance.new("Glue", clone.Torso)
  216. glue111.Part0 = clone.Torso
  217. glue111.Part1 = leftarm
  218. glue111.Name = "Left shoulder"
  219. local collider111 = Instance.new("Part", leftarm)
  220. collider111.Position = Vector3.new(0,9999,0)
  221. collider111.Size = Vector3.new(1.5,1,1)
  222. collider111.Shape = "Cylinder"
  223. local weld111 = Instance.new("Weld", collider111)
  224. weld111.Part0 = leftarm
  225. weld111.Part1 = collider111
  226. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  227. collider111.TopSurface = "Smooth"
  228. collider111.BottomSurface = "Smooth"
  229. collider111.formFactor = "Symmetric"
  230. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  231. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  232. collider111.Transparency = 1
  233. ----------------
  234. sensoring = Instance.new("Part", clone.Torso)
  235. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  236. sensoring.CanCollide = false
  237. sensoring.Position = clone.Torso.Position
  238. local welder = Instance.new("Weld", sensoring)
  239. welder.Part0 = clone.Torso
  240. welder.Part1 = sensoring
  241. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  242. sensoring.Transparency = 1
  243. -----------------
  244. sensoring1 = Instance.new("Part", clone.Torso)
  245. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  246. sensoring1.CanCollide = false
  247. sensoring1.Position = clone.Torso.Position
  248. local welder1 = Instance.new("Weld", sensoring)
  249. welder1.Part0 = clone.Torso
  250. welder1.Part1 = sensoring1
  251. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  252. sensoring1.Transparency = 1
  253. end
  254. clone.Name = game.Players.LocalPlayer.Character.Name..
  255. ded:Play()
  256. vel:destroy()
  257. wait(0.5)
  258. local function touch()
  259. if not using then
  260. using = true
  261. local Math = math.random(1,4)
  262. if Math == 1 then
  263. hit:Play()
  264. end
  265. if Math == 2 then
  266. hit1:Play()
  267. end
  268. if Math == 3 then
  269. hit2:Play()
  270. end
  271. if Math == 4 then
  272. hit3:Play()
  273. end
  274. wait(0.1)
  275. using = false
  276. end
  277. end
  278. sensoring.Touched:connect(touch)
  279. sensoring1.Touched:connect(touch)
  280. while true do
  281. clone.Head.CanCollide = false
  282. game:GetService("RunService").Stepped:wait()
  283. end
  284. end
  285.  
  286. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  287.  
  288. --di ent
  289. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  290. end
  291. end
  292. mouse.Button1Down:connect(killyourself)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement