Advertisement
-----------------

gore bomb reupload

May 11th, 2021
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.19 KB | None | 0 0
  1. local bomb = Instance.new("Tool")
  2. local core = Instance.new("Part")
  3. bomb.Name = "Bomb"
  4. bomb.Parent = owner['Backpack']
  5. core.Name = "Handle"
  6. core.Parent = bomb
  7. core.Position = Vector3.new(-10.8200016, 1.08002317, -6.27999926)
  8. core.Shape = Enum.PartType.Ball
  9. core.Size = Vector3.new(2,2,2)
  10. core.CanCollide = true
  11. core.Anchored = false
  12. core.Locked = true
  13. core.Material = Enum.Material.Neon
  14. core.brickColor = BrickColor.new("Shamrock")
  15.  
  16. local plr = owner
  17. local char = plr.Character
  18. local torso = char:FindFirstChild("Torso")
  19. local rootpart = char:FindFirstChild("HumanoidRootPart")
  20. local hum = char:FindFirstChildOfClass("Humanoid")
  21. if not char then warn("Character is missing.") return end
  22.  
  23. local alerted = false
  24. local exploded = false
  25. local dropped = false
  26.  
  27. local gores = {3739335007,3929462189,3737268126,3739335394,206082273,4953187368,4953187704} -- 3739364168
  28.  
  29. local ticking = Instance.new("Sound")
  30. ticking.SoundId = 'rbxassetid://300473653'
  31. ticking.Volume = 0.5
  32. ticking.Parent = core
  33.  
  34. local explosion = Instance.new("Sound")
  35. explosion.SoundId = 'rbxassetid://142070127'
  36. explosion.Volume = 1
  37. explosion.Parent = core
  38.  
  39. bomb.Activated:Connect(function()
  40. if not dropped then else return end
  41. dropped = true
  42. core.Name = ''
  43. core.Parent = workspace
  44. bomb:Destroy()
  45. core.CanCollide = true
  46. alert()
  47. end)
  48.  
  49. function Ragdoll(targchar,headless,insta)
  50. local pc = targchar
  51. local pc_torso
  52. for _,obj in pairs(pc:GetDescendants()) do
  53. obj.Archivable = true
  54. if obj:IsA("BasePart") or obj:IsA("UnionOperation") then
  55. obj.Massless = true
  56. obj.Locked = true
  57. obj.CanCollide = true
  58. end
  59. end
  60. if pc ~= nil then
  61. local hum = pc:FindFirstChild'Humanoid'
  62. local LArm = pc:FindFirstChild'Left Arm'
  63. local RArm = pc:FindFirstChild'Right Arm'
  64. local LLeg = pc:FindFirstChild'Left Leg'
  65. local RLeg = pc:FindFirstChild'Right Leg'
  66. local torso = pc:FindFirstChild'Torso'
  67. local head = pc:FindFirstChild'Head'
  68.  
  69.  
  70. local LUA = pc:FindFirstChild'LeftUpperArm'
  71. local LLA = pc:FindFirstChild'LeftLowerArm'
  72. local LH = pc:FindFirstChild'LeftHand'
  73.  
  74. local RUA = pc:FindFirstChild'RightUpperArm'
  75. local RLA = pc:FindFirstChild'RightLowerArm'
  76. local RH = pc:FindFirstChild'RightHand'
  77.  
  78. local LUL = pc:FindFirstChild'LeftUpperLeg'
  79. local LLL = pc:FindFirstChild'LeftLowerLeg'
  80. local LF = pc:FindFirstChild'LeftFoot'
  81.  
  82. local RUL = pc:FindFirstChild'RightUpperLeg'
  83. local RLL = pc:FindFirstChild'RightLowerLeg'
  84. local RF = pc:FindFirstChild'RightFoot'
  85.  
  86. local UT = pc:FindFirstChild'UpperTorso'
  87. local LT = pc:FindFirstChild'LowerTorso'
  88.  
  89. if hum and LArm and RArm and LLeg and RLeg and head then
  90. pc_torso = torso
  91. hum.BreakJointsOnDeath = false
  92. if insta then
  93. if hum.RigType==Enum.HumanoidRigType.R6 then
  94. for _,v in pairs(torso:GetDescendants()) do
  95. if v:IsA('Motor6D') or v:IsA('Motor') or v:IsA('Weld') then
  96. v:Destroy()
  97. end
  98. end
  99. local vis = false
  100. local vis2 = false
  101. if not LArm:FindFirstChild('Dismembered') then
  102. local at1 = Instance.new("Attachment")
  103. at1.Parent = torso
  104. at1.Visible = vis
  105. at1.Orientation = torso.Orientation + Vector3.new(0,180,0)
  106. at1.Position = Vector3.new(-1,1,0)
  107.  
  108. local at1p2 = Instance.new("Attachment")
  109. at1p2.Parent = LArm
  110. at1p2.Visible = vis
  111. at1p2.Orientation = LArm.Orientation + Vector3.new(0,180,0)
  112. at1p2.Position = Vector3.new(.5,1,0)
  113.  
  114. local bis = Instance.new("BallSocketConstraint")
  115. bis.Parent = LArm
  116. bis.Attachment0 = at1
  117. bis.Attachment1 = at1p2
  118. bis.LimitsEnabled = true
  119. bis.UpperAngle = 15
  120. bis.Visible = vis2
  121. bis.TwistLimitsEnabled = true
  122. bis.UpperAngle = -45
  123. bis.TwistLowerAngle = -45
  124. end
  125. if not RArm:FindFirstChild('Dismembered') then
  126. local at2 = Instance.new("Attachment")
  127. at2.Parent = torso
  128. at2.Visible = vis
  129. at2.Orientation = torso.Orientation + Vector3.new(0,0,0)
  130. at2.Position = Vector3.new(1,1,0)
  131.  
  132. local at2p2 = Instance.new("Attachment")
  133. at2p2.Parent = RArm
  134. at2p2.Visible = vis
  135. at2p2.Orientation = RArm.Orientation + Vector3.new(0,0,0)
  136. at2p2.Position = Vector3.new(-.5,1,0)
  137.  
  138. local bis2 = Instance.new("BallSocketConstraint")
  139. bis2.Parent = RArm
  140. bis2.Attachment0 = at2
  141. bis2.Attachment1 = at2p2
  142. bis2.LimitsEnabled = true
  143. bis2.UpperAngle = 15
  144. bis2.Visible = vis2
  145. bis2.TwistLimitsEnabled = true
  146. bis2.UpperAngle = -45
  147. bis2.TwistLowerAngle = -45
  148. end
  149. if not RLeg:FindFirstChild('Dismembered') then
  150. local at3 = Instance.new("Attachment")
  151. at3.Parent = torso
  152. at3.Visible = vis
  153. at3.Orientation = torso.Orientation + Vector3.new(90,0,-90)
  154. at3.Position = Vector3.new(.5,-1,0)
  155.  
  156. local at3p2 = Instance.new("Attachment")
  157. at3p2.Parent = RLeg
  158. at3p2.Visible = vis
  159. at3p2.Orientation = RLeg.Orientation + Vector3.new(90,0,-90)
  160. at3p2.Position = Vector3.new(0,1,0)
  161.  
  162. local bis3 = Instance.new("BallSocketConstraint")
  163. bis3.Parent = RLeg
  164. bis3.Attachment0 = at3
  165. bis3.Attachment1 = at3p2
  166. bis3.LimitsEnabled = true
  167. bis3.UpperAngle = 180-15
  168. bis3.Visible = vis2
  169. end
  170.  
  171. if not LLeg:FindFirstChild('Dismembered') then
  172. local at4 = Instance.new("Attachment")
  173. at4.Parent = torso
  174. at4.Visible = vis
  175. at4.Orientation = torso.Orientation + Vector3.new(90,0,-90)
  176. at4.Position = Vector3.new(-.5,-1,0)
  177.  
  178. local at4p2 = Instance.new("Attachment")
  179. at4p2.Parent = LLeg
  180. at4p2.Visible = vis
  181. at4p2.Orientation = LLeg.Orientation + Vector3.new(90,0,-90)
  182. at4p2.Position = Vector3.new(0,1,0)
  183.  
  184. local bis4 = Instance.new("BallSocketConstraint")
  185. bis4.Parent = LLeg
  186. bis4.Attachment0 = at4
  187. bis4.Attachment1 = at4p2
  188. bis4.LimitsEnabled = true
  189. bis4.UpperAngle = 180-15
  190. bis4.Visible = vis2
  191. end
  192.  
  193. if not headless and not head:FindFirstChild('Dismembered') then
  194. local at5 = Instance.new("Attachment")
  195. at5.Parent = torso
  196. at5.Visible = vis
  197. at5.Orientation = torso.Orientation + Vector3.new(180,90,0)
  198. at5.Position = Vector3.new(0,1,0)
  199.  
  200. local at5p2 = Instance.new("Attachment")
  201. at5p2.Parent = head
  202. at5p2.Visible = vis
  203. at5p2.Orientation = head.Orientation + Vector3.new(180,90,0)
  204. at5p2.Position = Vector3.new(0,-.5,0)
  205.  
  206. local bis5 = Instance.new("BallSocketConstraint")
  207. bis5.Parent = head
  208. bis5.Attachment0 = at5p2
  209. bis5.Attachment1 = at5
  210. bis5.LimitsEnabled = true
  211. bis5.UpperAngle = 75
  212. bis5.Visible = vis2
  213. bis5.TwistLimitsEnabled = true
  214. bis5.UpperAngle = -45
  215. bis5.TwistLowerAngle = -45
  216. else
  217. --head:BreakJoints()
  218. end
  219. end
  220. else
  221. hum.Died:Connect(function()
  222. if hum.RigType==Enum.HumanoidRigType.R6 then
  223. for _,v in pairs(torso:GetDescendants()) do
  224. if v:IsA('Motor6D') or v:IsA('Motor') or v:IsA('Weld') then
  225. v:Destroy()
  226. end
  227. end
  228. local vis = false
  229. local vis2 = false
  230. if not LArm:FindFirstChild('Dismembered') then
  231. local at1 = Instance.new("Attachment")
  232. at1.Parent = torso
  233. at1.Visible = vis
  234. at1.Orientation = torso.Orientation + Vector3.new(0,180,0)
  235. at1.Position = Vector3.new(-1,1,0)
  236.  
  237. local at1p2 = Instance.new("Attachment")
  238. at1p2.Parent = LArm
  239. at1p2.Visible = vis
  240. at1p2.Orientation = LArm.Orientation + Vector3.new(0,180,0)
  241. at1p2.Position = Vector3.new(.5,1,0)
  242.  
  243. local bis = Instance.new("BallSocketConstraint")
  244. bis.Parent = LArm
  245. bis.Attachment0 = at1
  246. bis.Attachment1 = at1p2
  247. bis.LimitsEnabled = true
  248. bis.UpperAngle = 15
  249. bis.Visible = vis2
  250. bis.TwistLimitsEnabled = true
  251. bis.UpperAngle = -45
  252. bis.TwistLowerAngle = -45
  253. end
  254. if not RArm:FindFirstChild('Dismembered') then
  255. local at2 = Instance.new("Attachment")
  256. at2.Parent = torso
  257. at2.Visible = vis
  258. at2.Orientation = torso.Orientation + Vector3.new(0,0,0)
  259. at2.Position = Vector3.new(1,1,0)
  260.  
  261. local at2p2 = Instance.new("Attachment")
  262. at2p2.Parent = RArm
  263. at2p2.Visible = vis
  264. at2p2.Orientation = RArm.Orientation + Vector3.new(0,0,0)
  265. at2p2.Position = Vector3.new(-.5,1,0)
  266.  
  267. local bis2 = Instance.new("BallSocketConstraint")
  268. bis2.Parent = RArm
  269. bis2.Attachment0 = at2
  270. bis2.Attachment1 = at2p2
  271. bis2.LimitsEnabled = true
  272. bis2.UpperAngle = 15
  273. bis2.Visible = vis2
  274. bis2.TwistLimitsEnabled = true
  275. bis2.UpperAngle = -45
  276. bis2.TwistLowerAngle = -45
  277. end
  278. if not RLeg:FindFirstChild('Dismembered') then
  279. local at3 = Instance.new("Attachment")
  280. at3.Parent = torso
  281. at3.Visible = vis
  282. at3.Orientation = torso.Orientation + Vector3.new(90,0,-90)
  283. at3.Position = Vector3.new(.5,-1,0)
  284.  
  285. local at3p2 = Instance.new("Attachment")
  286. at3p2.Parent = RLeg
  287. at3p2.Visible = vis
  288. at3p2.Orientation = RLeg.Orientation + Vector3.new(90,0,-90)
  289. at3p2.Position = Vector3.new(0,1,0)
  290.  
  291. local bis3 = Instance.new("BallSocketConstraint")
  292. bis3.Parent = RLeg
  293. bis3.Attachment0 = at3
  294. bis3.Attachment1 = at3p2
  295. bis3.LimitsEnabled = true
  296. bis3.UpperAngle = 180-15
  297. bis3.Visible = vis2
  298. end
  299.  
  300. if not LLeg:FindFirstChild('Dismembered') then
  301. local at4 = Instance.new("Attachment")
  302. at4.Parent = torso
  303. at4.Visible = vis
  304. at4.Orientation = torso.Orientation + Vector3.new(90,0,-90)
  305. at4.Position = Vector3.new(-.5,-1,0)
  306.  
  307. local at4p2 = Instance.new("Attachment")
  308. at4p2.Parent = LLeg
  309. at4p2.Visible = vis
  310. at4p2.Orientation = LLeg.Orientation + Vector3.new(90,0,-90)
  311. at4p2.Position = Vector3.new(0,1,0)
  312.  
  313. local bis4 = Instance.new("BallSocketConstraint")
  314. bis4.Parent = LLeg
  315. bis4.Attachment0 = at4
  316. bis4.Attachment1 = at4p2
  317. bis4.LimitsEnabled = true
  318. bis4.UpperAngle = 180-15
  319. bis4.Visible = vis2
  320. end
  321.  
  322. if not headless and not head:FindFirstChild('Dismembered') then
  323. local at5 = Instance.new("Attachment")
  324. at5.Parent = torso
  325. at5.Visible = vis
  326. at5.Orientation = torso.Orientation + Vector3.new(180,90,0)
  327. at5.Position = Vector3.new(0,1,0)
  328.  
  329. local at5p2 = Instance.new("Attachment")
  330. at5p2.Parent = head
  331. at5p2.Visible = vis
  332. at5p2.Orientation = head.Orientation + Vector3.new(180,90,0)
  333. at5p2.Position = Vector3.new(0,-.5,0)
  334.  
  335. local bis5 = Instance.new("BallSocketConstraint")
  336. bis5.Parent = head
  337. bis5.Attachment0 = at5p2
  338. bis5.Attachment1 = at5
  339. bis5.LimitsEnabled = true
  340. bis5.UpperAngle = 75
  341. bis5.Visible = vis2
  342. bis5.TwistLimitsEnabled = true
  343. bis5.UpperAngle = -45
  344. bis5.TwistLowerAngle = -45
  345. else
  346. --head:BreakJoints()
  347. end
  348. end
  349. end)
  350. end
  351. elseif head and hum then
  352. pc_torso = pc:FindFirstChild("HumanoidRootPart")
  353. hum.BreakJointsOnDeath = false
  354. if insta then
  355. if hum.RigType==Enum.HumanoidRigType.R15 then
  356. for _,v in pairs(pc:GetDescendants()) do
  357. if v:IsA('Motor6D') or v:IsA('Motor') then
  358. v:Destroy()
  359. end
  360. end
  361. local vis = false
  362. local vis2 = false
  363.  
  364. if not LF:FindFirstChild('Dismembered') then
  365. local bsc1 = Instance.new("BallSocketConstraint",LF)
  366. bsc1.Attachment0 = LF.LeftAnkleRigAttachment
  367. bsc1.Attachment1 = LLL.LeftAnkleRigAttachment
  368. end
  369. if not LLL:FindFirstChild('Dismembered') then
  370. local bsc2 = Instance.new("BallSocketConstraint",LLL)
  371. bsc2.Attachment0 = LLL.LeftKneeRigAttachment
  372. bsc2.Attachment1 = LUL.LeftKneeRigAttachment
  373. end
  374. if not LUL:FindFirstChild('Dismembered') then
  375. local bsc3 = Instance.new("BallSocketConstraint",LUL)
  376. bsc3.Attachment0 = LUL.LeftHipRigAttachment
  377. bsc3.Attachment1 = LT.LeftHipRigAttachment
  378. end
  379. if not RF:FindFirstChild('Dismembered') then
  380. local bsc4 = Instance.new("BallSocketConstraint",RF)
  381. bsc4.Attachment0 = RF.RightAnkleRigAttachment
  382. bsc4.Attachment1 = RLL.RightAnkleRigAttachment
  383. end
  384. if not RLL:FindFirstChild('Dismembered') then
  385. local bsc5 = Instance.new("BallSocketConstraint",RLL)
  386. bsc5.Attachment0 = RLL.RightKneeRigAttachment
  387. bsc5.Attachment1 = RUL.RightKneeRigAttachment
  388. end
  389. if not RUL:FindFirstChild('Dismembered') then
  390. local bsc6 = Instance.new("BallSocketConstraint",RUL)
  391. bsc6.Attachment0 = RUL.RightHipRigAttachment
  392. bsc6.Attachment1 = LT.RightHipRigAttachment
  393. end
  394. if not LH:FindFirstChild('Dismembered') then
  395. local bsc7 = Instance.new("BallSocketConstraint",LH)
  396. bsc7.Attachment0 = LH.LeftWristRigAttachment
  397. bsc7.Attachment1 = LLA.LeftWristRigAttachment
  398. end
  399. if not LLA:FindFirstChild('Dismembered') then
  400. local bsc8 = Instance.new("BallSocketConstraint",LLA)
  401. bsc8.Attachment0 = LLA.LeftElbowRigAttachment
  402. bsc8.Attachment1 = LUA.LeftElbowRigAttachment
  403. end
  404. if not LUA:FindFirstChild('Dismembered') then
  405. local bsc9 = Instance.new("BallSocketConstraint",LUA)
  406. bsc9.Attachment0 = LUA.LeftShoulderAttachment
  407. bsc9.Attachment1 = UT.LeftCollarAttachment
  408. end
  409. if not RH:FindFirstChild('Dismembered') then
  410. local bsc10 = Instance.new("BallSocketConstraint",RH)
  411. bsc10.Attachment0 = RH.RightWristRigAttachment
  412. bsc10.Attachment1 = RLA.RightWristRigAttachment
  413. end
  414. if not RLA:FindFirstChild('Dismembered') then
  415. local bsc11 = Instance.new("BallSocketConstraint",RLA)
  416. bsc11.Attachment0 = RLA.RightElbowRigAttachment
  417. bsc11.Attachment1 = RUA.RightElbowRigAttachment
  418. end
  419. if not RUA:FindFirstChild('Dismembered') then
  420. local bsc12 = Instance.new("BallSocketConstraint",RUA)
  421. bsc12.Attachment0 = RUA.RightShoulderAttachment
  422. bsc12.Attachment1 = UT.RightCollarAttachment
  423. end
  424. if not LT:FindFirstChild('Dismembered') then
  425. local bsc13 = Instance.new("BallSocketConstraint",LT)
  426. bsc13.Attachment0 = LT.WaistRigAttachment
  427. bsc13.Attachment1 = UT.WaistRigAttachment
  428. end
  429. if not headless and not head:FindFirstChild('Dismembered') then
  430. local bsc14 = Instance.new("BallSocketConstraint",head)
  431. bsc14.Attachment0 = UT.NeckRigAttachment
  432. bsc14.Attachment1 = head.NeckRigAttachment
  433. bsc14.LimitsEnabled = true
  434. bsc14.UpperAngle = -75
  435. bsc14.TwistLimitsEnabled = true
  436. bsc14.UpperAngle = -45
  437. bsc14.TwistLowerAngle = -45
  438. else
  439. --head:BreakJoints()
  440. end
  441. end
  442. else
  443. hum.Died:Connect(function()
  444. if hum.RigType==Enum.HumanoidRigType.R15 then
  445. for _,v in pairs(pc:GetDescendants()) do
  446. if v:IsA('Motor6D') or v:IsA('Motor') then
  447. v:Destroy()
  448. end
  449. end
  450. local vis = false
  451. local vis2 = false
  452.  
  453. if not LF:FindFirstChild('Dismembered') then
  454. local bsc1 = Instance.new("BallSocketConstraint",LF)
  455. bsc1.Attachment0 = LF.LeftAnkleRigAttachment
  456. bsc1.Attachment1 = LLL.LeftAnkleRigAttachment
  457. end
  458. if not LLL:FindFirstChild('Dismembered') then
  459. local bsc2 = Instance.new("BallSocketConstraint",LLL)
  460. bsc2.Attachment0 = LLL.LeftKneeRigAttachment
  461. bsc2.Attachment1 = LUL.LeftKneeRigAttachment
  462. end
  463. if not LUL:FindFirstChild('Dismembered') then
  464. local bsc3 = Instance.new("BallSocketConstraint",LUL)
  465. bsc3.Attachment0 = LUL.LeftHipRigAttachment
  466. bsc3.Attachment1 = LT.LeftHipRigAttachment
  467. end
  468. if not RF:FindFirstChild('Dismembered') then
  469. local bsc4 = Instance.new("BallSocketConstraint",RF)
  470. bsc4.Attachment0 = RF.RightAnkleRigAttachment
  471. bsc4.Attachment1 = RLL.RightAnkleRigAttachment
  472. end
  473. if not RLL:FindFirstChild('Dismembered') then
  474. local bsc5 = Instance.new("BallSocketConstraint",RLL)
  475. bsc5.Attachment0 = RLL.RightKneeRigAttachment
  476. bsc5.Attachment1 = RUL.RightKneeRigAttachment
  477. end
  478. if not RUL:FindFirstChild('Dismembered') then
  479. local bsc6 = Instance.new("BallSocketConstraint",RUL)
  480. bsc6.Attachment0 = RUL.RightHipRigAttachment
  481. bsc6.Attachment1 = LT.RightHipRigAttachment
  482. end
  483. if not LH:FindFirstChild('Dismembered') then
  484. local bsc7 = Instance.new("BallSocketConstraint",LH)
  485. bsc7.Attachment0 = LH.LeftWristRigAttachment
  486. bsc7.Attachment1 = LLA.LeftWristRigAttachment
  487. end
  488. if not LLA:FindFirstChild('Dismembered') then
  489. local bsc8 = Instance.new("BallSocketConstraint",LLA)
  490. bsc8.Attachment0 = LLA.LeftElbowRigAttachment
  491. bsc8.Attachment1 = LUA.LeftElbowRigAttachment
  492. end
  493. if not LUA:FindFirstChild('Dismembered') then
  494. local bsc9 = Instance.new("BallSocketConstraint",LUA)
  495. bsc9.Attachment0 = LUA.LeftShoulderAttachment
  496. bsc9.Attachment1 = UT.LeftCollarAttachment
  497. end
  498. if not RH:FindFirstChild('Dismembered') then
  499. local bsc10 = Instance.new("BallSocketConstraint",RH)
  500. bsc10.Attachment0 = RH.RightWristRigAttachment
  501. bsc10.Attachment1 = RLA.RightWristRigAttachment
  502. end
  503. if not RLA:FindFirstChild('Dismembered') then
  504. local bsc11 = Instance.new("BallSocketConstraint",RLA)
  505. bsc11.Attachment0 = RLA.RightElbowRigAttachment
  506. bsc11.Attachment1 = RUA.RightElbowRigAttachment
  507. end
  508. if not RUA:FindFirstChild('Dismembered') then
  509. local bsc12 = Instance.new("BallSocketConstraint",RUA)
  510. bsc12.Attachment0 = RUA.RightShoulderAttachment
  511. bsc12.Attachment1 = UT.RightCollarAttachment
  512. end
  513. if not LT:FindFirstChild('Dismembered') then
  514. local bsc13 = Instance.new("BallSocketConstraint",LT)
  515. bsc13.Attachment0 = LT.WaistRigAttachment
  516. bsc13.Attachment1 = UT.WaistRigAttachment
  517. end
  518. if not headless and not head:FindFirstChild('Dismembered') then
  519. local bsc14 = Instance.new("BallSocketConstraint",head)
  520. bsc14.Attachment0 = UT.NeckRigAttachment
  521. bsc14.Attachment1 = head.NeckRigAttachment
  522. bsc14.LimitsEnabled = true
  523. bsc14.UpperAngle = -75
  524. bsc14.TwistLimitsEnabled = true
  525. bsc14.UpperAngle = -45
  526. bsc14.TwistLowerAngle = -45
  527. else
  528. --head:BreakJoints()
  529. end
  530. end
  531. end)
  532. end
  533. end
  534. end
  535. return pc,pc_torso
  536. end
  537. local blood_images = {931617584,1663434319,1391189545,4533673847,3236192667,2565888666,612591729,120362139,116830967,122022304,131339257,247766282,121678640,176677800,120361912,176678070,176678086,176677869} --305296807,256293532,148713503,176678030
  538.  
  539. local e_s = 1
  540.  
  541. function add_decal(f,t,obj)
  542. spawn(function()
  543. local texture = Instance.new("Texture")
  544. texture.Parent = obj
  545. texture.Face = f
  546. texture.Texture = 'rbxassetid://' .. t
  547. if f == 'Left' or f == 'Right' then
  548. texture.StudsPerTileV = obj.Size.Y + e_s
  549. if (obj.Size.X > obj.Size.Z) then
  550. texture.StudsPerTileV = obj.Size.Z + e_s
  551. elseif (obj.Size.Z > obj.Size.X) then
  552. texture.StudsPerTileU = obj.Size.X + e_s
  553. else
  554. texture.StudsPerTileU = obj.Size.X + e_s
  555. end
  556. elseif f == 'Front' or f == 'Back' then
  557. texture.StudsPerTileV = obj.Size.Y + e_s
  558. if (obj.Size.X > obj.Size.Z) then
  559. texture.StudsPerTileV = obj.Size.X + e_s
  560. elseif (obj.Size.Z > obj.Size.X) then
  561. texture.StudsPerTileU = obj.Size.Z + e_s
  562. else
  563. texture.StudsPerTileU = obj.Size.X + e_s
  564. end
  565. elseif f == 'Top' or f == 'Bottom' then
  566. texture.StudsPerTileV = obj.Size.X + e_s
  567. texture.StudsPerTileU = obj.Size.Z + e_s
  568. end
  569. end)
  570. end
  571.  
  572. function add_blood(obj)
  573. local t1,t2,t3,t4,t5,t6 = blood_images[math.random(1,#blood_images)],blood_images[math.random(1,#blood_images)],blood_images[math.random(1,#blood_images)],blood_images[math.random(1,#blood_images)],blood_images[math.random(1,#blood_images)],blood_images[math.random(1,#blood_images)]
  574. add_decal('Top',t1,obj)
  575. add_decal('Bottom',t2,obj)
  576. add_decal('Left',t3,obj)
  577. add_decal('Right',t4,obj)
  578. add_decal('Front',t5,obj)
  579. add_decal('Back',t6,obj)
  580. end
  581.  
  582. function make_bone(obj,targtorso)
  583. if obj.Name == 'Left Arm' or obj.Name == 'LeftUpperArm' then
  584. local bone = Instance.new("Part")
  585. bone.name = 'bone'
  586. bone.CanCollide = false
  587. bone.Anchored = false
  588. bone.CFrame = targtorso.CFrame
  589. bone.Size = targtorso.Size
  590. bone.Massless = true
  591. bone.Locked = true
  592. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  593. if not exists then
  594. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  595. end
  596. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  597. game:GetService("PhysicsService"):SetPartCollisionGroup(bone,'Limb Collide')
  598. game:GetService("PhysicsService"):SetPartCollisionGroup(targtorso,'Limb Collide')
  599. local weld = Instance.new("Weld")
  600. weld.Part0 = bone
  601. weld.Part1 = targtorso
  602. weld.C1 = CFrame.new(-0.61,0.77,0.03)*CFrame.Angles(math.rad(90),0,math.rad(90))
  603. weld.Parent = bone
  604. targtorso.Anchored = false
  605. bone.Parent = script
  606. local mesh = Instance.new("SpecialMesh")
  607. mesh.MeshId = 'rbxassetid://1076136382'
  608. mesh.TextureId = 'rbxassetid://1076137938'
  609. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  610. mesh.Parent = bone
  611. --
  612. local bone = Instance.new("Part")
  613. bone.Name = 'bone'
  614. bone.CanCollide = false
  615. bone.Anchored = false
  616. bone.CFrame = obj.CFrame
  617. bone.Size = obj.Size
  618. bone.Massless = true
  619. bone.Locked = true
  620. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  621. if not exists then
  622. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  623. end
  624. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  625. game:GetService("PhysicsService"):SetPartCollisionGroup(bone,'Limb Collide')
  626. game:GetService("PhysicsService"):SetPartCollisionGroup(obj,'Limb Collide')
  627. local weld = Instance.new("Weld")
  628. weld.Part0 = bone
  629. weld.Part1 = obj
  630. weld.C1 = CFrame.new(0.13,0.26,0)
  631. weld.Parent = bone
  632. obj.Anchored = false
  633. bone.Parent = script
  634. local mesh = Instance.new("SpecialMesh")
  635. mesh.MeshId = 'rbxassetid://36780032'
  636. mesh.TextureId = 'rbxassetid://36780292'
  637. mesh.Parent = bone
  638. elseif obj.Name == 'Right Arm' or obj.Name == 'RightUpperArm' then
  639. local bone = Instance.new("Part")
  640. bone.Name = 'bone'
  641. bone.CanCollide = false
  642. bone.Anchored = false
  643. bone.CFrame = targtorso.CFrame
  644. bone.Size = targtorso.Size
  645. bone.Massless = true
  646. bone.Locked = true
  647. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  648. if not exists then
  649. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  650. end
  651. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  652. game:GetService("PhysicsService"):SetPartCollisionGroup(bone,'Limb Collide')
  653. game:GetService("PhysicsService"):SetPartCollisionGroup(targtorso,'Limb Collide')
  654. local weld = Instance.new("Weld")
  655. weld.Part0 = bone
  656. weld.Part1 = targtorso
  657. weld.C1 = CFrame.new(0.61,0.77,0.03)*CFrame.Angles(math.rad(90),0,math.rad(-90))
  658. weld.Parent = bone
  659. targtorso.Anchored = false
  660. bone.Parent = script
  661. local mesh = Instance.new("SpecialMesh")
  662. mesh.MeshId = 'rbxassetid://1076136382'
  663. mesh.TextureId = 'rbxassetid://1076137938'
  664. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  665. mesh.Parent = bone
  666. --
  667. local bone = Instance.new("Part")
  668. bone.Name = 'bone'
  669. bone.CanCollide = false
  670. bone.Anchored = false
  671. bone.CFrame = obj.CFrame
  672. bone.Size = obj.Size
  673. bone.Massless = true
  674. bone.Locked = true
  675. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  676. if not exists then
  677. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  678. end
  679. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  680. game:GetService("PhysicsService"):SetPartCollisionGroup(bone,'Limb Collide')
  681. game:GetService("PhysicsService"):SetPartCollisionGroup(obj,'Limb Collide')
  682. local weld = Instance.new("Weld")
  683. weld.Part0 = bone
  684. weld.Part1 = obj
  685. weld.C1 = CFrame.new(-0.13,0.26,0)
  686. weld.Parent = bone
  687. obj.Anchored = false
  688. bone.Parent = script
  689. local mesh = Instance.new("SpecialMesh")
  690. mesh.MeshId = 'rbxassetid://36780156'
  691. mesh.TextureId = 'rbxassetid://36780292'
  692. mesh.Parent = bone
  693. elseif obj.Name == 'Left Leg' or obj.Name == 'LeftUpperLeg' then
  694. local bone = Instance.new("Part")
  695. bone.Name = 'bone'
  696. bone.CanCollide = false
  697. bone.Anchored = false
  698. bone.CFrame = targtorso.CFrame
  699. bone.Size = targtorso.Size
  700. bone.Massless = true
  701. bone.Locked = true
  702. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  703. if not exists then
  704. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  705. end
  706. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  707. game:GetService("PhysicsService"):SetPartCollisionGroup(bone,'Limb Collide')
  708. game:GetService("PhysicsService"):SetPartCollisionGroup(targtorso,'Limb Collide')
  709. local weld = Instance.new("Weld")
  710. weld.Part0 = bone
  711. weld.Part1 = targtorso
  712. weld.C1 = CFrame.new(-0.6,-0.64,0.11)*CFrame.Angles(0,0,math.rad(180))
  713. weld.Parent = bone
  714. targtorso.Anchored = false
  715. bone.Parent = script
  716. local mesh = Instance.new("SpecialMesh")
  717. mesh.MeshId = 'rbxassetid://1076136382'
  718. mesh.TextureId = 'rbxassetid://1076137938'
  719. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  720. mesh.Parent = bone
  721. --
  722. local bone = Instance.new("Part")
  723. bone.Name = 'bone'
  724. bone.CanCollide = false
  725. bone.Anchored = false
  726. bone.CFrame = obj.CFrame
  727. bone.Size = obj.Size
  728. bone.Massless = true
  729. bone.Locked = true
  730. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  731. if not exists then
  732. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  733. end
  734. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  735. game:GetService("PhysicsService"):SetPartCollisionGroup(bone,'Limb Collide')
  736. game:GetService("PhysicsService"):SetPartCollisionGroup(obj,'Limb Collide')
  737. local weld = Instance.new("Weld")
  738. weld.Part0 = bone
  739. weld.Part1 = obj
  740. weld.C1 = CFrame.new(0,0.09,0.13)
  741. weld.Parent = bone
  742. obj.Anchored = false
  743. bone.Parent = script
  744. local mesh = Instance.new("SpecialMesh")
  745. mesh.MeshId = 'rbxassetid://36780156'
  746. mesh.TextureId = 'rbxassetid://36780292'
  747. mesh.Parent = bone
  748. elseif obj.Name == 'Right Leg' or obj.Name == 'RightUpperLeg' then
  749. local bone = Instance.new("Part")
  750. bone.Name = 'bone'
  751. bone.CanCollide = false
  752. bone.Anchored = false
  753. bone.CFrame = targtorso.CFrame
  754. bone.Size = targtorso.Size
  755. bone.Massless = true
  756. bone.Locked = true
  757. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  758. if not exists then
  759. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  760. end
  761. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  762. game:GetService("PhysicsService"):SetPartCollisionGroup(bone,'Limb Collide')
  763. game:GetService("PhysicsService"):SetPartCollisionGroup(targtorso,'Limb Collide')
  764. local weld = Instance.new("Weld")
  765. weld.Part0 = bone
  766. weld.Part1 = targtorso
  767. weld.C1 = CFrame.new(0.6,-0.64,0.11)*CFrame.Angles(0,0,math.rad(180))
  768. weld.Parent = bone
  769. targtorso.Anchored = false
  770. bone.Parent = script
  771. local mesh = Instance.new("SpecialMesh")
  772. mesh.MeshId = 'rbxassetid://1076136382'
  773. mesh.TextureId = 'rbxassetid://1076137938'
  774. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  775. mesh.Parent = bone
  776. --
  777. local bone = Instance.new("Part")
  778. bone.Name = 'bone'
  779. bone.CanCollide = false
  780. bone.Anchored = false
  781. bone.CFrame = obj.CFrame
  782. bone.Size = obj.Size
  783. bone.Massless = true
  784. bone.Locked = true
  785. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  786. if not exists then
  787. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  788. end
  789. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  790. game:GetService("PhysicsService"):SetPartCollisionGroup(bone,'Limb Collide')
  791. game:GetService("PhysicsService"):SetPartCollisionGroup(obj,'Limb Collide')
  792. local weld = Instance.new("Weld")
  793. weld.Part0 = bone
  794. weld.Part1 = obj
  795. weld.C1 = CFrame.new(0,0.09,0.13)
  796. weld.Parent = bone
  797. obj.Anchored = false
  798. bone.Parent = script
  799. local mesh = Instance.new("SpecialMesh")
  800. mesh.MeshId = 'rbxassetid://36780195'
  801. mesh.TextureId = 'rbxassetid://36780292'
  802. mesh.Parent = bone
  803. elseif obj.Name == 'Head' then
  804. local bone = Instance.new("Part")
  805. bone.Name = 'bone'
  806. bone.CanCollide = false
  807. bone.Anchored = false
  808. bone.CFrame = targtorso.CFrame
  809. bone.Size = targtorso.Size
  810. bone.Massless = true
  811. bone.Locked = true
  812. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  813. if not exists then
  814. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  815. end
  816. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  817. game:GetService("PhysicsService"):SetPartCollisionGroup(bone,'Limb Collide')
  818. game:GetService("PhysicsService"):SetPartCollisionGroup(targtorso,'Limb Collide')
  819. local weld = Instance.new("Weld")
  820. weld.Part0 = bone
  821. weld.Part1 = targtorso
  822. weld.C1 = CFrame.new(0,0.66,0)
  823. weld.Parent = bone
  824. targtorso.Anchored = false
  825. bone.Parent = script
  826. local mesh = Instance.new("SpecialMesh")
  827. mesh.MeshId = 'rbxassetid://1076136382'
  828. mesh.TextureId = 'rbxassetid://1076137938'
  829. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  830. mesh.Parent = bone
  831. --
  832. local bone = Instance.new("Part")
  833. bone.Name = 'bone'
  834. bone.CanCollide = false
  835. bone.Anchored = false
  836. bone.CFrame = obj.CFrame
  837. bone.Size = obj.Size
  838. bone.Massless = true
  839. bone.Locked = true
  840. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  841. if not exists then
  842. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  843. end
  844. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  845. game:GetService("PhysicsService"):SetPartCollisionGroup(bone,'Limb Collide')
  846. game:GetService("PhysicsService"):SetPartCollisionGroup(obj,'Limb Collide')
  847. local weld = Instance.new("Weld")
  848. weld.Part0 = bone
  849. weld.Part1 = obj
  850. weld.C1 = CFrame.new(0,-0.23,0)*CFrame.Angles(0,math.rad(-90),0)
  851. weld.Parent = bone
  852. obj.Anchored = false
  853. bone.Parent = script
  854. local mesh = Instance.new("SpecialMesh")
  855. mesh.MeshId = 'rbxassetid://1076136382'
  856. mesh.TextureId = 'rbxassetid://1076137938'
  857. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  858. mesh.Parent = bone
  859. end
  860. end
  861.  
  862. function break_limb(obj,rig,targtorso,targhum,dir)
  863. if not obj:FindFirstChild('Dismembered') and obj.Name ~= 'Torso' and obj.Name ~= 'HumanoidRootPart' and obj.Name ~= 'UpperTorso' and obj.Name ~= 'LowerTorso' then else return end
  864. local confirm = Instance.new("ObjectValue")
  865. confirm.Name = 'Dismembered'
  866. confirm.Parent = obj
  867. local bsc = obj:FindFirstChildOfClass("BallSocketConstraint")
  868. if bsc then
  869. bsc:Destroy()
  870. end
  871. bleed2(obj,targhum,false,5,false)
  872. add_blood(obj)
  873. make_bone(obj,targtorso)
  874. local kb = 35
  875. local bv = Instance.new("BodyVelocity")
  876. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  877. bv.Velocity = dir*kb+Vector3.new(0,kb,0)
  878. bv.Parent = obj
  879. game:GetService("Debris"):AddItem(bv,0.1)
  880. if rig == Enum.HumanoidRigType.R6 then
  881. local bsc = obj:FindFirstChildOfClass("BallSocketConstraint")
  882. if bsc then
  883. bsc:Destroy()
  884. end
  885. for i,v in pairs(targtorso:GetChildren()) do
  886. if v:IsA("Motor6D") then
  887. if obj.Name == 'Head' and v.Name == 'Neck' then
  888. v:Destroy()
  889. elseif obj.Name == 'Left Arm' and v.Name == 'Left Shouldver' then
  890. v:Destroy()
  891. elseif obj.Name == 'Right Arm' and v.Name == 'Right Shoulder' then
  892. v:Destroy()
  893. elseif obj.Name == 'Left Leg' and v.Name == 'Left Hip' then
  894. if obj.Parent:FindFirstChild("Right Leg") then
  895. targhum.WalkSpeed = targhum.WalkSpeed/2
  896. else
  897. targhum.WalkSpeed = 0
  898. end
  899. v:Destroy()
  900. elseif obj.Name == 'Right Leg' and v.Name == 'Right Hip' then
  901. if obj.Parent:FindFirstChild("Left Leg") then
  902. targhum.WalkSpeed = targhum.WalkSpeed/2
  903. else
  904. targhum.WalkSpeed = 0
  905. end
  906. v:Destroy()
  907. end
  908. end
  909. end
  910. elseif rig == Enum.HumanoidRigType.R15 then
  911. for i,v in pairs(obj:GetChildren()) do
  912. if v:IsA("Motor6D") then
  913. if (obj.Name == 'LeftUpperLeg' and obj.Parent:FindFirstChild("RightUpperLeg")) or (obj.Name == 'RightUpperLeg' and obj.Parent:FindFirstChild("LeftUpperLeg")) then
  914. targhum.WalkSpeed = targhum.WalkSpeed/2
  915. elseif obj.Name == 'RightUpperLeg' or obj.Name == 'LeftUpperLeg' then
  916. targhum.WalkSpeed = 0
  917. end
  918. v:Destroy()
  919. end
  920. end
  921. end
  922. local cb = Instance.new("Part")
  923. cb.Name = 'limb'
  924. cb.Transparency = 1
  925. cb.CanCollide = true
  926. cb.Anchored = false
  927. cb.CFrame = obj.CFrame
  928. cb.Size = obj.Size
  929. cb.Massless = true
  930. cb.Locked = true
  931. local exists = pcall(game:GetService("PhysicsService").GetCollisionGroupId, game:GetService("PhysicsService"), 'Limb Collide')
  932. if not exists then
  933. game:GetService("PhysicsService"):CreateCollisionGroup('Limb Collide')
  934. end
  935. game:GetService("PhysicsService"):CollisionGroupSetCollidable('Limb Collide','Limb Collide',false)
  936. game:GetService("PhysicsService"):SetPartCollisionGroup(cb,'Limb Collide')
  937. game:GetService("PhysicsService"):SetPartCollisionGroup(obj,'Limb Collide')
  938. local weld = Instance.new("Weld")
  939. weld.Part0 = cb
  940. weld.Part1 = obj
  941. weld.Parent = cb
  942. obj.Massless = true
  943. obj.Anchored = false
  944. cb.Parent = script
  945. end
  946. function bleed2(frick,targhum,can_hurt,t,splat)
  947. spawn(function()
  948. if not frick:FindFirstChild("bleeding from kry's " .. bomb.Name) then else return end
  949. local tempbleedval = Instance.new("ObjectValue")
  950. tempbleedval.Name = "bleeding from kry's " .. bomb.Name
  951. tempbleedval.Parent = frick
  952. local bleeding = true
  953. local rig = targhum.RigType
  954. local limbs = {'Head','Left Arm','Right Arm','Left Leg','Right Leg','RightUpperLeg','LeftUpperLeg','RightUpperArm','LeftUpperArm','RightLowerLeg','LeftLowerLeg','RightLowerArm','LeftLowerArm','RightFoot','LeftFoot','RightHand','LeftHand'}
  955. spawn(function()
  956. wait(t)
  957. bleeding = false
  958. tempbleedval:Destroy()
  959. end)
  960. while bleeding and frick and frick.Parent do
  961. if --[[(targhum and targhum.Parent and targhum.Health > 0) or]] (not frick or not frick.Parent or not targhum or not targhum.Parent) then
  962. break
  963. end
  964. local max_limbs = 0
  965. local current_limbs = 0
  966. local gone_limbs = 0
  967. local targchar = targhum.Parent
  968. if rig == Enum.HumanoidRigType.R6 then
  969. max_limbs = 5
  970. elseif rig == Enum.HumanoidRigType.R15 then
  971. max_limbs = 13
  972. end
  973. for i,v in pairs(targchar:GetChildren()) do
  974. local found = false
  975. for i,n in pairs(limbs) do if n == v.Name then found = true; end; end;
  976. if found and not v:FindFirstChild("Dismembered") then
  977. current_limbs = current_limbs + 1
  978. end
  979. end
  980. gone_limbs = (max_limbs-current_limbs)
  981. if targhum and can_hurt then
  982. if gone_limbs >= 1 then
  983. targhum:TakeDamage(0.5*gone_limbs)
  984. else
  985. targhum:TakeDamage(0.5)
  986. end
  987. end
  988. spawn(function()
  989. local thing = Instance.new('Part')
  990. thing.Parent = workspace
  991. thing.Size = Vector3.new(0.1,0.1,0.1)
  992. thing.CFrame = frick.CFrame*CFrame.new(0,frick.Size.Y/2,0)
  993. if splat then
  994. thing.Transparency = 0
  995. elseif not splat then
  996. thing.Transparency = 1
  997. end
  998. thing.Color = Color3.fromRGB(75, 0, 0)
  999. thing.Material = Enum.Material.Glass
  1000. thing.Name = "blood_drop"
  1001. thing.CanCollide =false
  1002. thing:BreakJoints()
  1003. local mesh = Instance.new('SpecialMesh')
  1004. mesh.MeshType = Enum.MeshType.Sphere
  1005. mesh.Parent = thing
  1006. --game:GetService("Debris"):AddItem(thing,5)
  1007. local att1,att2 = Instance.new("Attachment"),Instance.new("Attachment")
  1008. att1.Parent = thing
  1009. att1.Position = Vector3.new(0,-(thing.Size.Y/2),0)
  1010. att2.Parent = thing
  1011. att2.Position = Vector3.new(0,(thing.Size.Y/2),0)
  1012. if splat then
  1013. local trail_drop = Instance.new("Trail")
  1014. trail_drop.Parent = thing
  1015. trail_drop.Attachment0 = att1
  1016. trail_drop.Attachment1 = att2
  1017. trail_drop.Color = ColorSequence.new(Color3.new(0.294118, 0, 0),Color3.new(0.294118, 0, 0))
  1018. trail_drop.FaceCamera = true
  1019. trail_drop.LightInfluence = 1
  1020. trail_drop.Transparency = NumberSequence.new(0.1,1)
  1021. trail_drop.Lifetime = 1
  1022. trail_drop.MinLength = 0
  1023. end
  1024. local rawrxd = Instance.new('BodyForce')
  1025. rawrxd.Parent = thing
  1026. if splat then
  1027. rawrxd.Force = frick.CFrame.upVector+Vector3.new(math.random(-5, 5)/10,3,math.random(-5, 5)/10)
  1028. elseif not splat then
  1029. rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
  1030. end
  1031. game:GetService("Debris"):AddItem(rawrxd,0.01)
  1032. thing.Touched:connect(function(tou)
  1033. if tou and tou.Parent and not tou:IsDescendantOf(targchar) and not tou.Parent:FindFirstChildOfClass("Humanoid") and not tou.Parent.Parent:FindFirstChildOfClass("Humanoid") and not tou.Parent:IsA("Accessory") and tou.Name ~= 'Handle' and tou.Parent.Name ~= 'Handle' and not tou.Parent:IsA("Tool") and not string.match(tou.Name:lower(),'blood_drop') and not string.match(tou.Name:lower(),'bullet') and not string.match(tou.Name:lower(),'bone') and not string.match(tou.Name:lower(),'gun mag') and not string.match(tou.Name:lower(),'limb') then
  1034. local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+(0.02/2),thing.Position.Z)
  1035. local Point1 = pos-Vector3.new(0.01,0.01,0.01)
  1036. local Point2 = pos+Vector3.new(0.01,0.01,0.01)
  1037. local Region = Region3.new(Point1,Point2)
  1038. for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
  1039. if Part.Name == "blood" then
  1040. tou = Part
  1041. end
  1042. end
  1043. thing:Destroy()
  1044. if tou.Name == "blood" then
  1045. local reee = tou.CFrame
  1046. if tou.Transparency > -0.2 then
  1047. tou.Transparency = tou.Transparency - 0.1
  1048. end
  1049. if tou.Size.X < 5 then
  1050. tou.Size = tou.Size+Vector3.new(0.4,0,0.4)
  1051. tou.CFrame = reee
  1052. elseif tou.Size.X < 7.5 then
  1053. tou.Size = tou.Size+Vector3.new(0.3,0,0.3)
  1054. tou.CFrame = reee
  1055. elseif tou.Size.X < 10 then
  1056. tou.Size = tou.Size+Vector3.new(0.2,0,0.2)
  1057. tou.CFrame = reee
  1058. end
  1059. elseif tou.CanCollide == true then
  1060. local bloodlol = Instance.new('Part')
  1061. if gone_limbs >= 1 then
  1062. bloodlol.Size = Vector3.new(1*gone_limbs,0.2,1*gone_limbs)
  1063. else
  1064. bloodlol.Size = Vector3.new(1,0.2,1)
  1065. end
  1066. bloodlol.Name = "blood"
  1067. bloodlol.Anchored = true
  1068. bloodlol.CanCollide = false
  1069. bloodlol.Material = Enum.Material.Glass
  1070. bloodlol.Color = Color3.fromRGB(75, 0, 0)
  1071. local mesh = Instance.new('SpecialMesh')
  1072. mesh.MeshType = Enum.MeshType.Sphere
  1073. mesh.Parent = bloodlol
  1074. bloodlol.Parent = workspace
  1075. bloodlol.CFrame = CFrame.new(pos)
  1076. while bloodlol and bloodlol.Parent ~= nil do
  1077. if bloodlol.Transparency < 1 then
  1078. bloodlol.Transparency = bloodlol.Transparency + 0.05
  1079. else
  1080. bloodlol:Destroy()
  1081. end
  1082. wait(0.1)
  1083. end
  1084. end
  1085. end
  1086. end)
  1087. end)
  1088. wait(0.1)
  1089. end
  1090. tempbleedval:Destroy()
  1091. end)
  1092. end
  1093. function gore_explode(obj,dir)
  1094. local targchar,targhead,targtorso,targhum,killval
  1095. pcall(function()
  1096. targchar = obj.Parent
  1097. end)
  1098. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1099. if v and v.Character and obj:IsDescendantOf(v.Character) then
  1100. targchar = v.Character
  1101. end
  1102. end
  1103. pcall(function()
  1104. targhead = targchar:FindFirstChild("Head")
  1105. end)
  1106. pcall(function()
  1107. targtorso = targchar:FindFirstChild("Torso") or targchar:FindFirstChild("UpperTorso") or targchar:FindFirstChild("HumanoidRootPart")
  1108. end)
  1109. pcall(function()
  1110. targhum = targchar:FindFirstChildOfClass("Humanoid")
  1111. end)
  1112. pcall(function()
  1113. killval = targhum:FindFirstChild("killer")
  1114. end)
  1115. if targchar and targhead and targtorso and targhum and not killval then
  1116. targhum:TakeDamage(1/0)
  1117. break_limb(targhead,targhum.RigType,targtorso,targhum,dir)
  1118. if 0 > targhum.Health then
  1119. local bleeding = Instance.new("Sound")
  1120. bleeding.SoundId = 'rbxassetid://360007673'
  1121. bleeding.Volume = 0.5
  1122. bleeding.Parent = obj
  1123. bleeding:Play()
  1124. local fakechar,faketorso
  1125. local tempkillval = Instance.new("ObjectValue",targhum)
  1126. tempkillval.Name = "killer"
  1127. tempkillval.Value = plr
  1128. local kb = 45
  1129. local bv = Instance.new("BodyVelocity")
  1130. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1131. bv.Velocity = dir*kb+Vector3.new(0,kb,0)
  1132. bv.Parent = targtorso
  1133. game:GetService("Debris"):AddItem(bv,0.1)
  1134. pcall(function()
  1135. Ragdoll(targchar,true,false)
  1136. end)
  1137. bleed2(targtorso,targhum,true,5,true)
  1138. local decap_bleed = Instance.new("Sound")
  1139. decap_bleed.SoundId = 'rbxassetid://244502094'
  1140. decap_bleed.Volume = 0.5
  1141. decap_bleed.Parent = targtorso
  1142. decap_bleed:Play()
  1143. local decap_head = Instance.new("Sound")
  1144. decap_head.SoundId = 'rbxassetid://1255040462' --222406108
  1145. decap_head.Volume = 1
  1146. decap_head.Parent = targtorso
  1147. decap_head:Play()
  1148. local att = Instance.new("Attachment")
  1149. att.Parent = targtorso
  1150. att.Position = Vector3.new(0,targtorso.Size.Y/2,0)
  1151. local blood_emitter = Instance.new("ParticleEmitter")
  1152. blood_emitter.Name = "Blood2"
  1153. blood_emitter.Parent = att
  1154. blood_emitter.Speed = NumberRange.new(5, 14)
  1155. blood_emitter.Color = ColorSequence.new(Color3.new(0.45098, 0, 0),Color3.new(0.45098, 0, 0))
  1156. blood_emitter.LightEmission = 0.20000000298023
  1157. blood_emitter.LightInfluence = 1
  1158. blood_emitter.Texture = "http://www.roblox.com/asset/?id=134531274"
  1159. blood_emitter.Transparency = NumberSequence.new(0.30000001192093,0.30000001192093)
  1160. blood_emitter.ZOffset = 0
  1161. blood_emitter.Size = NumberSequence.new(0.12499988079071,0)
  1162. blood_emitter.Acceleration = Vector3.new(0, -20, 0)
  1163. blood_emitter.Lifetime = NumberRange.new(0.5, 1.5)
  1164. blood_emitter.Rate = 100000
  1165. blood_emitter.SpreadAngle = Vector2.new(90, 90)
  1166. blood_emitter.VelocitySpread = 90
  1167. blood_emitter.Enabled = true
  1168. spawn(function()
  1169. wait(5)
  1170. blood_emitter.Enabled = false
  1171. game:GetService("Debris"):AddItem(blood_emitter,2)
  1172. end)
  1173. end
  1174. end
  1175. end
  1176. function explode(size)
  1177. if not exploded then else core.BrickColor = BrickColor.new("Shamrock"); return; end;
  1178. exploded = true
  1179. local pos = core.Position
  1180. local expart = Instance.new("Part")
  1181. expart.BrickColor = core.BrickColor
  1182. expart.Material = Enum.Material.Neon
  1183. expart.Shape = Enum.PartType.Ball
  1184. expart.Size = Vector3.new(size,size,size)
  1185. expart.Anchored = true
  1186. expart.Locked = true
  1187. expart.CanCollide = false
  1188. expart.Position = pos
  1189. expart.Parent = script
  1190. explosion.Parent = expart
  1191. explosion:Play()
  1192. bomb:Destroy()
  1193. spawn(function()
  1194. --wait(1)
  1195. expart.Transparency = 1
  1196. game:GetService("Debris"):AddItem(expart,3)
  1197. end)
  1198. local ex = Instance.new("Explosion")
  1199. ex.Visible = true
  1200. ex.BlastRadius = ((size/2)-1)
  1201. ex.DestroyJointRadiusPercent = 0
  1202. ex.ExplosionType = Enum.ExplosionType.Craters
  1203. ex.Position = pos
  1204. ex.Parent = expart
  1205. ex.Hit:Connect(function(obj,dist)
  1206. local targchar,targtorso,targhum
  1207. pcall(function()
  1208. targchar = obj.Parent
  1209. end)
  1210. pcall(function()
  1211. targtorso = targchar:FindFirstChild("Torso") or targchar:FindFirstChild("UpperTorso") or targchar:FindFirstChild("LowerTorso") or targchar:FindFirstChild("HumanoidRootPart")
  1212. end)
  1213. pcall(function()
  1214. targhum = targchar:FindFirstChildOfClass("Humanoid")
  1215. end)
  1216. if targchar and targtorso and targhum and ((size/2)-1) >= dist then
  1217. local gore_s = Instance.new("Sound")
  1218. gore_s.SoundId = 'rbxassetid://' .. gores[math.random(1,#gores)]
  1219. gore_s.Volume = 0.1
  1220. gore_s.Parent = targtorso
  1221. gore_s:Play()
  1222. local dir = ((targtorso.Position-expart.Position)*Vector3.new(1,0,1)).Unit
  1223. gore_explode(obj,dir)
  1224. if math.random(1,5) == 1 then
  1225. break_limb(obj,targhum.RigType,targtorso,targhum,dir)
  1226. end
  1227. end
  1228. end)
  1229. end
  1230.  
  1231. function alert()
  1232. for i = 1,10 do
  1233. ticking:Play()
  1234. core.BrickColor = BrickColor.new("Really red")
  1235. wait(1/5)
  1236. core.BrickColor = BrickColor.new("Really black")
  1237. wait(1/5)
  1238. end
  1239. explode(35)
  1240. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement