Advertisement
DylanD2003

Untitled

Sep 30th, 2017
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.88 KB | None | 0 0
  1. --Suicide Injection by DMS use to KMS at cringey things
  2. local OKOKOKOKOKAYY = function(f,scri)
  3. local oldenv = getfenv(f)
  4. local newenv = setmetatable({}, {
  5. __index = function(_, k)
  6. if k:lower() == 'script' then
  7. return scri
  8. else
  9. return oldenv[k]
  10. end
  11. end
  12. })
  13. setfenv(f, newenv)
  14. ypcall(function() f() end)
  15. end
  16. cors = {}
  17. o1 = Instance.new("Tool")
  18. o1.Name = "SUICIDE INJECTION"
  19. o2 = Instance.new("BoolValue")
  20. o2.Name = "Empty"
  21. o2.Parent = o1
  22. o3 = Instance.new("Script")
  23. o3.Name = "InjectScript"
  24. o3.Parent = o1
  25. table.insert(cors,coroutine.create(function()
  26. wait()
  27. OKOKOKOKOKAYY(function()
  28. up=Vector3.new(-0.3, -1, 0.3)
  29. pos=Vector3.new(0.9, 2, 1.5)
  30.  
  31. up2=Vector3.new(0, 1, 0)
  32. pos2=Vector3.new(0, 0, 0)
  33.  
  34. enabled = true
  35. function onActivated()
  36.  
  37. if not enabled then
  38. return
  39. end
  40.  
  41. enabled = false
  42.  
  43. if script.Parent.Empty.Value==true then return end
  44.  
  45. local tool=script.Parent
  46. tool.GripPos=pos
  47. tool.GripUp=up
  48.  
  49. local f=tool.Formula.Mesh
  50. local h=tool.Handle.Mesh
  51. local pc=tool.PushCap.Mesh
  52. local ps=tool.PushShaft.Mesh
  53.  
  54. f.Offset=Vector3.new(0,0.03,0)
  55. f.Scale=Vector3.new(0.1,0.85,0.1)
  56. h.Offset=Vector3.new(0,0.05,0)
  57. pc.Offset=Vector3.new(0,0.05,0)
  58. ps.Offset=Vector3.new(0,0.05,0)
  59.  
  60. wait(2)
  61.  
  62. f.Offset=Vector3.new(0,0.06,0)
  63. f.Scale=Vector3.new(0.1,0.65,0.1)
  64. h.Offset=Vector3.new(0,0.1,0)
  65. pc.Offset=Vector3.new(0,0.1,0)
  66. ps.Offset=Vector3.new(0,0.1,0)
  67.  
  68. wait(0.1)
  69.  
  70. f.Offset=Vector3.new(0,0.12,0)
  71. f.Scale=Vector3.new(0.1,0.45,0.1)
  72. h.Offset=Vector3.new(0,0.2,0)
  73. pc.Offset=Vector3.new(0,0.2,0)
  74. ps.Offset=Vector3.new(0,0.2,0)
  75.  
  76. wait(0.1)
  77.  
  78. f.Offset=Vector3.new(0,0.12,0)
  79. f.Scale=Vector3.new(0.1,0.35,0.1)
  80. h.Offset=Vector3.new(0,0.25,0)
  81. pc.Offset=Vector3.new(0,0.25,0)
  82. ps.Offset=Vector3.new(0,0.25,0)
  83.  
  84. wait(0.1)
  85.  
  86. f.Offset=Vector3.new(0,0.15,0)
  87. f.Scale=Vector3.new(0.1,0.25,0.1)
  88. h.Offset=Vector3.new(0,0.3,0)
  89. pc.Offset=Vector3.new(0,0.3,0)
  90. ps.Offset=Vector3.new(0,0.3,0)
  91.  
  92. wait(0.1)
  93.  
  94. f.Offset=Vector3.new(0,0.18,0)
  95. f.Scale=Vector3.new(0.1,0.1,0.1)
  96. h.Offset=Vector3.new(0,0.35,0)
  97. pc.Offset=Vector3.new(0,0.35,0)
  98. ps.Offset=Vector3.new(0,0.35,0)
  99.  
  100. local vPlayer=game.Players:GetPlayerFromCharacter(tool.Parent)
  101. local vCharacter=vPlayer.Character
  102. effect=tool.EffectScript:clone()
  103. effect.Disabled=false
  104. effect.Parent=vCharacter
  105.  
  106. wait(2)
  107.  
  108. tool.GripPos=pos2
  109. tool.GripUp=up2
  110. tool.Empty.Value=true
  111.  
  112. tool:Remove()
  113.  
  114. enabled = true
  115. end
  116.  
  117.  
  118. function onEquipped()
  119. print("Equipped")
  120. end
  121.  
  122.  
  123. script.Parent.Activated:connect(onActivated)
  124. script.Parent.Equipped:connect(onEquipped)
  125.  
  126. end,o3)
  127. end))
  128. o4 = Instance.new("Script")
  129. o4.Name = "Weld"
  130. o4.Parent = o1
  131. table.insert(cors,coroutine.create(function()
  132. wait()
  133. OKOKOKOKOKAYY(function()
  134. function Weld(x,y)
  135. local W = Instance.new("Weld")
  136. W.Part0 = x
  137. W.Part1 = y
  138. local CJ = CFrame.new(x.Position)
  139. local C0 = x.CFrame:inverse()*CJ
  140. local C1 = y.CFrame:inverse()*CJ
  141. W.C0 = C0
  142. W.C1 = C1
  143. W.Parent = x
  144. end
  145.  
  146. function Get(A)
  147. if A.className == "Part" then
  148. Weld(script.Parent.Handle, A)
  149. A.Anchored = false
  150. else
  151. local C = A:GetChildren()
  152. for i=1, #C do
  153. Get(C[i])
  154. end
  155. end
  156. end
  157.  
  158. function Finale()
  159. Get(script.Parent)
  160. end
  161.  
  162. script.Parent.Equipped:connect(Finale)
  163. script.Parent.Unequipped:connect(Finale)
  164. Finale()
  165.  
  166. end,o4)
  167. end))
  168. o5 = Instance.new("Part")
  169. o5.Name = "Formula"
  170. o5.Parent = o1
  171. o5.Material = Enum.Material.SmoothPlastic
  172. o5.BrickColor = BrickColor.new("Really black")
  173. o5.Position = Vector3.new(-2.1499331, 1.06992102, -9.41993618)
  174. o5.Rotation = Vector3.new(1.5841415e-005, 3.47741479e-006, 7.81266226e-006)
  175. o5.RotVelocity = Vector3.new(-0.00437547965, 0.0193220861, 0.00486824289)
  176. o5.Velocity = Vector3.new(-0.00265986705, -0.0060943896, -0.00308997836)
  177. o5.CFrame = CFrame.new(-2.1499331, 1.06992102, -9.41993618, 0.999993086, -1.36355737e-007, 6.06923365e-008, 1.43114647e-007, 1, -2.7648295e-007, -6.02702883e-008, 2.83237881e-007, 0.999993086)
  178. o5.FormFactor = Enum.FormFactor.Plate
  179. o5.Size = Vector3.new(1, 0.400000006, 1)
  180. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  181. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  182. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  183. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  184. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  185. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  186. o5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  187. o6 = Instance.new("CylinderMesh")
  188. o6.Parent = o5
  189. o6.Scale = Vector3.new(0.100000001, 1, 0.100000001)
  190. o7 = Instance.new("Part")
  191. o7.Name = "Handle"
  192. o7.Parent = o1
  193. o7.Material = Enum.Material.SmoothPlastic
  194. o7.BrickColor = BrickColor.new("Mid gray")
  195. o7.Reflectance = 0.30000001192093
  196. o7.Position = Vector3.new(-2.14991784, 0.20000726, -9.41995144)
  197. o7.Rotation = Vector3.new(1.58480834e-005, 3.47871628e-006, 7.81609742e-006)
  198. o7.CFrame = CFrame.new(-2.14991784, 0.20000726, -9.41995144, 0.999993026, -1.36415679e-007, 6.07150525e-008, 1.43229272e-007, 1, -2.76599309e-007, -6.03221153e-008, 2.83470712e-007, 0.999993026)
  199. o7.FormFactor = Enum.FormFactor.Plate
  200. o7.Size = Vector3.new(1, 0.400000006, 1)
  201. o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  202. o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  203. o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  204. o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  205. o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  206. o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  207. o7.Color = Color3.new(0.803922, 0.803922, 0.803922)
  208. o8 = Instance.new("CylinderMesh")
  209. o8.Parent = o7
  210. o8.Scale = Vector3.new(0.300000012, 0.100000001, 0.300000012)
  211. o9 = Instance.new("Weld")
  212. o9.Parent = o7
  213. o10 = Instance.new("Weld")
  214. o10.Parent = o7
  215. o11 = Instance.new("Weld")
  216. o11.Parent = o7
  217. o12 = Instance.new("Weld")
  218. o12.Parent = o7
  219. o13 = Instance.new("Weld")
  220. o13.Parent = o7
  221. o14 = Instance.new("Weld")
  222. o14.Parent = o7
  223. o15 = Instance.new("Weld")
  224. o15.Parent = o7
  225. o15.Part0 = o7
  226. o15.Part1 = o53
  227. o16 = Instance.new("Weld")
  228. o16.Parent = o7
  229. o16.Part0 = o7
  230. o16.Part1 = o7
  231. o17 = Instance.new("Weld")
  232. o17.Parent = o7
  233. o17.Part0 = o7
  234. o17.Part1 = o51
  235. o18 = Instance.new("Weld")
  236. o18.Parent = o7
  237. o18.Part0 = o7
  238. o18.Part1 = o49
  239. o19 = Instance.new("Weld")
  240. o19.Parent = o7
  241. o19.Part0 = o7
  242. o19.Part1 = o47
  243. o20 = Instance.new("Weld")
  244. o20.Parent = o7
  245. o20.Part0 = o7
  246. o20.Part1 = o7
  247. o21 = Instance.new("Weld")
  248. o21.Parent = o7
  249. o21.Part0 = o7
  250. o21.Part1 = o7
  251. o22 = Instance.new("Weld")
  252. o22.Parent = o7
  253. o22.Part0 = o7
  254. o22.Part1 = o7
  255. o23 = Instance.new("Weld")
  256. o23.Parent = o7
  257. o23.Part0 = o7
  258. o23.Part1 = o7
  259. o24 = Instance.new("Weld")
  260. o24.Parent = o7
  261. o24.Part0 = o7
  262. o24.Part1 = o7
  263. o25 = Instance.new("Weld")
  264. o25.Parent = o7
  265. o25.Part0 = o7
  266. o25.Part1 = o7
  267. o26 = Instance.new("Weld")
  268. o26.Parent = o7
  269. o26.Part0 = o7
  270. o26.Part1 = o7
  271. o27 = Instance.new("Weld")
  272. o27.Parent = o7
  273. o27.Part0 = o7
  274. o27.Part1 = o7
  275. o28 = Instance.new("Weld")
  276. o28.Parent = o7
  277. o28.Part0 = o7
  278. o28.Part1 = o7
  279. o29 = Instance.new("Weld")
  280. o29.Parent = o7
  281. o29.Part0 = o7
  282. o29.Part1 = o7
  283. o30 = Instance.new("Weld")
  284. o30.Parent = o7
  285. o30.Part0 = o7
  286. o30.Part1 = o7
  287. o31 = Instance.new("Weld")
  288. o31.Parent = o7
  289. o31.Part0 = o7
  290. o31.Part1 = o7
  291. o32 = Instance.new("Weld")
  292. o32.Parent = o7
  293. o32.Part0 = o7
  294. o32.Part1 = o7
  295. o33 = Instance.new("Weld")
  296. o33.Parent = o7
  297. o33.Part0 = o7
  298. o33.Part1 = o7
  299. o34 = Instance.new("Weld")
  300. o34.Parent = o7
  301. o34.Part0 = o7
  302. o34.Part1 = o7
  303. o35 = Instance.new("Weld")
  304. o35.Parent = o7
  305. o35.Part0 = o7
  306. o35.Part1 = o7
  307. o36 = Instance.new("Weld")
  308. o36.Parent = o7
  309. o36.Part0 = o7
  310. o36.Part1 = o7
  311. o37 = Instance.new("Weld")
  312. o37.Parent = o7
  313. o37.Part0 = o7
  314. o37.Part1 = o7
  315. o38 = Instance.new("Weld")
  316. o38.Parent = o7
  317. o38.Part0 = o7
  318. o38.Part1 = o7
  319. o39 = Instance.new("Weld")
  320. o39.Parent = o7
  321. o39.Part0 = o7
  322. o39.Part1 = o7
  323. o40 = Instance.new("Weld")
  324. o40.Parent = o7
  325. o40.Part0 = o7
  326. o40.Part1 = o7
  327. o41 = Instance.new("Weld")
  328. o41.Parent = o7
  329. o41.Part0 = o7
  330. o41.Part1 = o7
  331. o42 = Instance.new("Weld")
  332. o42.Parent = o7
  333. o42.Part0 = o7
  334. o42.Part1 = o7
  335. o43 = Instance.new("Weld")
  336. o43.Parent = o7
  337. o43.Part0 = o7
  338. o43.Part1 = o7
  339. o44 = Instance.new("Sound")
  340. o44.Name = "DrinkSound"
  341. o44.Parent = o7
  342. o44.SoundId = "http://www.roblox.com/asset/?id=610705812"
  343. o44.Volume = 1
  344. o44.PlayOnRemove = true
  345. o45 = Instance.new("Sound")
  346. o45.Name = "OpenSound"
  347. o45.Parent = o7
  348. o45.SoundId = "rbxasset://sounds/swoosh.wav"
  349. o45.Volume = 1
  350. o47 = Instance.new("Part")
  351. o47.Name = "Needle"
  352. o47.Parent = o1
  353. o47.Material = Enum.Material.SmoothPlastic
  354. o47.BrickColor = BrickColor.new("Light stone grey")
  355. o47.Reflectance = 1
  356. o47.Position = Vector3.new(-2.14990282, 1.42000914, -9.41995144)
  357. o47.Rotation = Vector3.new(1.58414132e-005, 3.47725677e-006, 7.81286417e-006)
  358. o47.CFrame = CFrame.new(-2.14990282, 1.42000914, -9.41995144, 0.999992907, -1.36359233e-007, 6.06895796e-008, 1.43285703e-007, 1, -2.76482865e-007, -6.0347574e-008, 2.83587127e-007, 0.999992907)
  359. o47.FormFactor = Enum.FormFactor.Plate
  360. o47.Size = Vector3.new(1, 0.400000006, 1)
  361. o47.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  362. o47.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  363. o47.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  364. o47.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  365. o47.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  366. o47.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  367. o47.Color = Color3.new(0.898039, 0.894118, 0.87451)
  368. o48 = Instance.new("SpecialMesh")
  369. o48.Parent = o47
  370. o48.Scale = Vector3.new(0.0199999996, 1, 0.0199999996)
  371. o49 = Instance.new("Part")
  372. o49.Name = "PushCap"
  373. o49.Parent = o1
  374. o49.Material = Enum.Material.SmoothPlastic
  375. o49.BrickColor = BrickColor.new("Mid gray")
  376. o49.Reflectance = 0.30000001192093
  377. o49.Position = Vector3.new(-2.14991784, 0.870007753, -9.41995144)
  378. o49.Rotation = Vector3.new(1.58414132e-005, 3.44432351e-006, 7.81286508e-006)
  379. o49.CFrame = CFrame.new(-2.14991784, 0.870007753, -9.41995144, 0.999992847, -1.36359233e-007, 6.0114786e-008, 1.43292368e-007, 0.99999994, -2.76482865e-007, -6.09259985e-008, 2.83470683e-007, 0.999992907)
  380. o49.FormFactor = Enum.FormFactor.Plate
  381. o49.Size = Vector3.new(1, 0.400000006, 1)
  382. o49.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  383. o49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  384. o49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  385. o49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  386. o49.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  387. o49.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  388. o49.Color = Color3.new(0.803922, 0.803922, 0.803922)
  389. o50 = Instance.new("CylinderMesh")
  390. o50.Parent = o49
  391. o50.Scale = Vector3.new(0.119999997, 0.0500000007, 0.119999997)
  392. o51 = Instance.new("Part")
  393. o51.Name = "PushShaft"
  394. o51.Parent = o1
  395. o51.Material = Enum.Material.SmoothPlastic
  396. o51.BrickColor = BrickColor.new("Mid gray")
  397. o51.Reflectance = 0.30000001192093
  398. o51.Position = Vector3.new(-2.14990258, 0.530008614, -9.41993618)
  399. o51.Rotation = Vector3.new(1.58480834e-005, 3.48017466e-006, 7.81119707e-006)
  400. o51.CFrame = CFrame.new(-2.14990258, 0.530008614, -9.41993618, 0.999992847, -1.36330129e-007, 6.07405042e-008, 1.43322112e-007, 1, -2.76599252e-007, -6.03039112e-008, 2.83587127e-007, 0.999992847)
  401. o51.FormFactor = Enum.FormFactor.Plate
  402. o51.Size = Vector3.new(1, 0.400000006, 1)
  403. o51.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  404. o51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  405. o51.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  406. o51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  407. o51.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  408. o51.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  409. o51.Color = Color3.new(0.803922, 0.803922, 0.803922)
  410. o52 = Instance.new("CylinderMesh")
  411. o52.Parent = o51
  412. o52.Scale = Vector3.new(0.0799999982, 1.70000005, 0.0799999982)
  413. o53 = Instance.new("Part")
  414. o53.Name = "Tube"
  415. o53.Parent = o1
  416. o53.Material = Enum.Material.SmoothPlastic
  417. o53.Reflectance = 0.20000000298023
  418. o53.Transparency = 0.40000000596046
  419. o53.Position = Vector3.new(-2.1499331, 0.940007985, -9.41993618)
  420. o53.Rotation = Vector3.new(1.58547537e-005, 3.47955051e-006, 7.81766357e-006)
  421. o53.CFrame = CFrame.new(-2.1499331, 0.940007985, -9.41993618, 0.999993086, -1.36443035e-007, 6.07296116e-008, 1.43201945e-007, 1, -2.76715753e-007, -6.03075705e-008, 2.83470712e-007, 0.999993086)
  422. o53.FormFactor = Enum.FormFactor.Plate
  423. o53.Size = Vector3.new(1, 0.400000006, 1)
  424. o53.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  425. o53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  426. o53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  427. o53.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  428. o53.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  429. o53.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  430. o54 = Instance.new("SpecialMesh")
  431. o54.Parent = o53
  432. o54.Scale = Vector3.new(0.200000003, 1.79999995, 0.200000003)
  433. o55 = Instance.new("Script")
  434. o55.Name = "HealScript"
  435. o55.Parent = o1
  436. table.insert(cors,coroutine.create(function()
  437. wait()
  438. OKOKOKOKOKAYY(function()
  439. Tool = script.Parent
  440.  
  441. local field = nil
  442.  
  443. function Heal()
  444.  
  445.  
  446.  
  447. local vCharacter = Tool.Parent
  448.  
  449. local childs = vCharacter:GetChildren()
  450.  
  451. local colors = {}
  452.  
  453. for i=1,#childs do
  454. if (childs[i].className == "Part") then
  455. colors[i] = childs[i].BrickColor
  456. childs[i].BrickColor = BrickColor.new(1)
  457. end
  458. end
  459.  
  460. wait(1) -- W8 for meeee!
  461.  
  462. local human = vCharacter:FindFirstChild("Humanoid")
  463. if (human ~= nil) then
  464. human.Health = 0
  465. end
  466.  
  467. for i=1,#childs do
  468. if (childs[i].className == "Part") then
  469. childs[i].BrickColor = colors[i]
  470. end
  471. end
  472.  
  473.  
  474. end
  475.  
  476.  
  477.  
  478. Tool.Enabled = true
  479. function onActivated()
  480.  
  481. if not Tool.Enabled then
  482. return
  483. end
  484.  
  485. Tool.Enabled = false
  486.  
  487. Heal()
  488.  
  489. Tool.Parent = nil
  490. end
  491.  
  492.  
  493. script.Parent.Activated:connect(onActivated)
  494.  
  495.  
  496.  
  497.  
  498. end,o55)
  499. end))
  500. o56 = Instance.new("LocalScript")
  501. o56.Name = "Local Gui"
  502. o56.Parent = o1
  503. table.insert(cors,coroutine.create(function()
  504. wait()
  505. OKOKOKOKOKAYY(function()
  506. local Tool = script.Parent;
  507.  
  508. enabled = true
  509. function onButton1Down(mouse)
  510. if not enabled then
  511. return
  512. end
  513.  
  514. enabled = false
  515. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  516.  
  517. wait(.5)
  518. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  519. enabled = true
  520.  
  521. end
  522.  
  523. --[[
  524. local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  525. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
  526. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  527. --]]
  528. --By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
  529. --die plz
  530. mouse = game.Players.LocalPlayer:GetMouse()
  531. function ragdoll()
  532. game.Players.LocalPlayer.Character.Archivable = true
  533. clone = game.Players.LocalPlayer.Character:Clone()
  534. clone.Parent = workspace
  535. for i,v in pairs(clone:GetChildren()) do
  536. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  537. v:destroy()
  538. end
  539. for i,p in pairs(v:GetChildren()) do
  540. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  541. p:destroy()
  542. end
  543. end
  544. end
  545. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  546. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  547. t:destroy()
  548. end
  549. end
  550. vel = Instance.new("BodyVelocity", clone.Torso)
  551. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  552. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  553. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=1079575709"
  554. using = false
  555. hit = Instance.new("Sound", clone.Torso)
  556. hit.SoundId = "rbxassetid://546029423"
  557. hit.Volume = 5
  558. hit1 = Instance.new("Sound", clone.Torso)
  559. hit1.SoundId = "rbxassetid://138087186"
  560. hit1.Volume = 5
  561. hit2 = Instance.new("Sound", clone.Torso)
  562. hit2.SoundId = "rbxassetid://131237241"
  563. hit2.Volume = 5
  564. hit3 = Instance.new("Sound", clone.Torso)
  565. hit3.SoundId = "rbxassetid://278062209"
  566. hit3.Volume = 5
  567. hit3.TimePosition = 0
  568. ded = Instance.new("Sound", clone.Torso)
  569. ded.SoundId = "rbxassetid://825514164"
  570. ded.Volume = 2
  571. ded.TimePosition = 39
  572. local leftarm = clone:findFirstChild("Left Arm")
  573. local rightrm = clone:findFirstChild("Right Arm")
  574. local leftleg = clone:findFirstChild("Left Leg")
  575. local rightleg = clone:findFirstChild("Right Leg")
  576. local head = clone:findFirstChild("Head")
  577. local welding = Instance.new("Weld", clone.Torso)
  578. welding.Part0 = clone.Torso
  579. welding.Part1 = head
  580. welding.C0 = welding.C0 * CFrame.new(0,1.5,0)
  581. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  582. if g.ClassName == "Part" then
  583. g:destroy()
  584. end
  585. end
  586. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  587. if h.ClassName == "Accesory" then
  588. h:destroy()
  589. end
  590. end
  591. game.Workspace.CurrentCamera.CameraSubject = head
  592. if leftleg ~= nil then
  593. local glue = Instance.new("Glue", clone.Torso)
  594. glue.Part0 = clone.Torso
  595. glue.Part1 = leftleg
  596. glue.Name = "Left leg"
  597. local collider = Instance.new("Part", leftleg)
  598. collider.Position = Vector3.new(0,999,0)
  599. collider.Size = Vector3.new(1.7, 1, 1)
  600. collider.Shape = "Cylinder"
  601. local weld = Instance.new("Weld", collider)
  602. weld.Part0 = leftleg
  603. weld.Part1 = collider
  604. weld.C0 = CFrame.Angles(0, 0, 80)
  605. collider.TopSurface = "Smooth"
  606. collider.BottomSurface = "Smooth"
  607. collider.formFactor = "Symmetric"
  608. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  609. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  610. collider.Transparency = 1
  611. end
  612. ------------
  613. if rightleg ~= nil then
  614. local glue1 = Instance.new("Glue", clone.Torso)
  615. glue1.Part0 = clone.Torso
  616. glue1.Part1 = rightleg
  617. glue1.Name = "Right leg"
  618. local collider1 = Instance.new("Part", rightleg)
  619. collider1.Position = Vector3.new(0,999,0)
  620. collider1.Size = Vector3.new(1.7, 1, 1)
  621. collider1.Shape = "Cylinder"
  622. local weld1 = Instance.new("Weld", collider1)
  623. weld1.Part0 = rightleg
  624. weld1.Part1 = collider1
  625. weld1.C0 = CFrame.Angles(0, 0, 80)
  626. collider1.TopSurface = "Smooth"
  627. collider1.BottomSurface = "Smooth"
  628. collider1.formFactor = "Symmetric"
  629. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  630. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  631. collider1.Transparency = 1
  632. end
  633. ------------
  634. if rightrm ~= nil then
  635. local glue11 = Instance.new("Glue", clone.Torso)
  636. glue11.Part0 = clone.Torso
  637. glue11.Part1 = rightrm
  638. glue11.Name = "Right shoulder"
  639. local collider11 = Instance.new("Part", rightrm)
  640. collider11.Position = Vector3.new(0,9999,0)
  641. collider11.Size = Vector3.new(1.8,1,1)
  642. collider11.Shape = "Cylinder"
  643. local weld11 = Instance.new("Weld", collider11)
  644. weld11.Part0 = rightrm
  645. weld11.Part1 = collider11
  646. weld11.C0 = CFrame.Angles(0, 0, 80)
  647. collider11.TopSurface = "Smooth"
  648. collider11.BottomSurface = "Smooth"
  649. collider11.formFactor = "Symmetric"
  650. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  651. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  652. collider11.Transparency = 1
  653. end
  654. ------------
  655. if leftarm ~= nil then
  656. local glue111 = Instance.new("Glue", clone.Torso)
  657. glue111.Part0 = clone.Torso
  658. glue111.Part1 = leftarm
  659. glue111.Name = "Left shoulder"
  660. local collider111 = Instance.new("Part", leftarm)
  661. collider111.Position = Vector3.new(0,9999,0)
  662. collider111.Size = Vector3.new(1.8,1,1)
  663. collider111.Shape = "Cylinder"
  664. local weld111 = Instance.new("Weld", collider111)
  665. weld111.Part0 = leftarm
  666. weld111.Part1 = collider111
  667. weld111.C0 = CFrame.Angles(0, 0, 80)
  668. collider111.TopSurface = "Smooth"
  669. collider111.BottomSurface = "Smooth"
  670. collider111.formFactor = "Symmetric"
  671. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  672. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  673. collider111.Transparency = 1
  674. ----------------
  675. sensoring = Instance.new("Part", clone.Torso)
  676. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  677. sensoring.CanCollide = false
  678. sensoring.Position = clone.Torso.Position
  679. local welder = Instance.new("Weld", sensoring)
  680. welder.Part0 = clone.Torso
  681. welder.Part1 = sensoring
  682. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  683. sensoring.Transparency = 1
  684. -----------------
  685. sensoring1 = Instance.new("Part", clone.Torso)
  686. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  687. sensoring1.CanCollide = false
  688. sensoring1.Position = clone.Torso.Position
  689. local welder1 = Instance.new("Weld", sensoring)
  690. welder1.Part0 = clone.Torso
  691. welder1.Part1 = sensoring1
  692. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  693. sensoring1.Transparency = 1
  694. end
  695. clone.Name = game.Players.LocalPlayer.Character.Name.." (Dead)"
  696. ded:Play()
  697. vel:destroy()
  698. wait(0.5)
  699. local function touch()
  700. if not using then
  701. using = true
  702. local Math = math.random(1,4)
  703. if Math == 1 then
  704. hit:Play()
  705. end
  706. if Math == 2 then
  707. hit1:Play()
  708. end
  709. if Math == 3 then
  710. hit2:Play()
  711. end
  712. if Math == 4 then
  713. hit3:Play()
  714. end
  715. wait(0.1)
  716. using = false
  717. end
  718. end
  719. sensoring.Touched:connect(touch)
  720. sensoring1.Touched:connect(touch)
  721. wait(4.47)
  722. hit1.Volume = 0
  723. hit2.Volume = 0
  724. hit3.Volume = 0
  725. hit.Volume = 0
  726. end
  727.  
  728. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  729.  
  730. --di ent
  731.  
  732. function onEquippedLocal(mouse)
  733.  
  734. if mouse == nil then
  735. print("Mouse not found")
  736. return
  737. end
  738.  
  739. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  740. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  741. end
  742.  
  743.  
  744. Tool.Equipped:connect(onEquippedLocal)
  745.  
  746. end,o56)
  747. end))
  748. o1.Parent = game.Players.LocalPlayer.Backpack
  749. for i=1,#cors do
  750. coroutine.resume(cors[i])
  751. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement