codemen

Boomstick explosive melel script [roblox]

Nov 14th, 2017
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.14 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. Part1 = Instance.new("Part")
  21. CylinderMesh2 = Instance.new("CylinderMesh")
  22. Sound3 = Instance.new("Sound")
  23. Sound4 = Instance.new("Sound")
  24. Sound5 = Instance.new("Sound")
  25. Sound6 = Instance.new("Sound")
  26. Sound7 = Instance.new("Sound")
  27. StringValue8 = Instance.new("StringValue")
  28. Script9 = Instance.new("Script")
  29. StringValue10 = Instance.new("StringValue")
  30. Part11 = Instance.new("Part")
  31. CylinderMesh12 = Instance.new("CylinderMesh")
  32. StringValue13 = Instance.new("StringValue")
  33. Part14 = Instance.new("Part")
  34. CylinderMesh15 = Instance.new("CylinderMesh")
  35. StringValue16 = Instance.new("StringValue")
  36. Part17 = Instance.new("Part")
  37. CylinderMesh18 = Instance.new("CylinderMesh")
  38. StringValue19 = Instance.new("StringValue")
  39. Part20 = Instance.new("Part")
  40. CylinderMesh21 = Instance.new("CylinderMesh")
  41. StringValue22 = Instance.new("StringValue")
  42. Part23 = Instance.new("Part")
  43. CylinderMesh24 = Instance.new("CylinderMesh")
  44. BoolValue25 = Instance.new("BoolValue")
  45. Script26 = Instance.new("Script")
  46. Script27 = Instance.new("Script")
  47. Script28 = Instance.new("Script")
  48. ObjectValue29 = Instance.new("ObjectValue")
  49. ObjectValue30 = Instance.new("ObjectValue")
  50. LocalScript31 = Instance.new("LocalScript")
  51. StringValue32 = Instance.new("StringValue")
  52. Part33 = Instance.new("Part")
  53. CylinderMesh34 = Instance.new("CylinderMesh")
  54. StringValue35 = Instance.new("StringValue")
  55. Part36 = Instance.new("Part")
  56. CylinderMesh37 = Instance.new("CylinderMesh")
  57. StringValue38 = Instance.new("StringValue")
  58. Part39 = Instance.new("Part")
  59. CylinderMesh40 = Instance.new("CylinderMesh")
  60. StringValue41 = Instance.new("StringValue")
  61. Part42 = Instance.new("Part")
  62. CylinderMesh43 = Instance.new("CylinderMesh")
  63. StringValue44 = Instance.new("StringValue")
  64. Part45 = Instance.new("Part")
  65. CylinderMesh46 = Instance.new("CylinderMesh")
  66. Decal47 = Instance.new("Decal")
  67. StringValue48 = Instance.new("StringValue")
  68. Tool0.Name = "Boomstick"
  69. Tool0.Parent = mas
  70. Part1.Name = "Handle"
  71. Part1.Parent = Tool0
  72. Part1.BrickColor = BrickColor.new("Black")
  73. Part1.Reflectance = 0.125
  74. Part1.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  75. Part1.FormFactor = Enum.FormFactor.Symmetric
  76. Part1.Size = Vector3.new(1, 1, 1)
  77. Part1.CFrame = CFrame.new(668.600281, 270.915436, 123.640839, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  78. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  79. Part1.Position = Vector3.new(668.600281, 270.915436, 123.640839)
  80. Part1.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  81. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  82. CylinderMesh2.Parent = Part1
  83. CylinderMesh2.Scale = Vector3.new(0.349999994, 0.75, 0.349999994)
  84. CylinderMesh2.Scale = Vector3.new(0.349999994, 0.75, 0.349999994)
  85. Sound3.Name = "WindSound"
  86. Sound3.Parent = Part1
  87. Sound3.Pitch = 0
  88. Sound3.SoundId = "http://www.roblox.com/asset/?id=18435238"
  89. Sound3.Volume = 0
  90. Sound4.Name = "Swing"
  91. Sound4.Parent = Part1
  92. Sound4.Pitch = 1.0599999427795
  93. Sound4.SoundId = "http://roblox.com/asset/?id=10209645"
  94. Sound4.Volume = 1
  95. Sound5.Name = "Bonk2"
  96. Sound5.Parent = Part1
  97. Sound5.Pitch = 0.55000001192093
  98. Sound5.SoundId = "http://roblox.com/asset/?id=10209596"
  99. Sound5.PlayOnRemove = true
  100. Sound6.Name = "Kill"
  101. Sound6.Parent = Part1
  102. Sound6.Pitch = 0.69999998807907
  103. Sound6.SoundId = "http://www.roblox.com/asset/?id=2801263"
  104. Sound6.Volume = 0.75
  105. Sound7.Name = "Bonk"
  106. Sound7.Parent = Part1
  107. Sound7.Pitch = 0.9200000166893
  108. Sound7.SoundId = "http://www.roblox.com/asset/?id=24346281"
  109. Sound7.Volume = 1
  110. StringValue8.Name = "Te"
  111. StringValue8.Parent = Part1
  112. Script9.Parent = Tool0
  113. table.insert(cors,sandbox(Script9,function()
  114. wait()
  115. --turdulator
  116. --KA-BEWWWWWWWWMM
  117. --Explodes on contact with a surface while swinging.
  118.  
  119. --Causes extreme damage to anything around you.
  120. --Allowed to view/edit this: All close friends, Hackerstopper22, Fenrier, AccountMoniter (Need I remind him that he'd better not breach our agreements. Furthermore, JOYN UZ LOLOLOL. U must become kredit to team by being part of team!)
  121. --Anyone else reading this, go die.
  122.  
  123. --Oh, I almost forgot.00
  124.  
  125. --Note: When charging, added lol factor for the force of the blast.
  126.  
  127. --Side Note: This is the most I've ever written for such a simple little side tool.
  128.  
  129. --In case you were wondering, this is based off of a TF2 thing lolo.
  130.  
  131. --This script is also the weld script, as well as the main script.
  132. --I'm working on never using Local script ever again.
  133. --ever. Unless it's local/camera based, derp.
  134.  
  135. --MOARNOTE.....
  136. --Just kidding
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145. --noteroll
  146.  
  147. GetShoulder=function()
  148. Char=Tool.Parent
  149. Torso=Char.Torso
  150. return Torso:FindFirstChild("Right Shoulder",nil)
  151. end
  152. GetGrip=function()
  153. Char=Tool.Parent
  154. Arm=Char["Right Arm"]
  155. return Arm:FindFirstChild("RightGrip",nil)
  156. end
  157.  
  158. Tool=script.Parent; --idk why I pootis the ';', is just old noob habit.
  159. Handle=Tool.Handle
  160. Handle2=Tool.Handle2
  161. Handle3=Tool.Handle3
  162. Handle4=Tool.Handle4
  163. Handle5=Tool.Handle5
  164. Handle6=Tool.Handle6
  165. Handle7=Tool.Handle7
  166. Handle8=Tool.Handle8
  167. Handle9=Tool.Handle9
  168. Handle10=Tool.Handle10
  169. Handle11=Tool.Handle11
  170. doWeld=function()
  171. for _,v in pairs(Handle:children()) do
  172. if v.className=="Weld" then
  173. v:Remove()
  174. end
  175. end
  176. w=Instance.new("Weld")
  177. w.Part0=Handle
  178. w.Part1=Handle2
  179. w.C0=CFrame.new(0,-.35,0)
  180. w.Parent=Handle
  181. w=Instance.new("Weld")
  182. w.Part0=Handle
  183. w.Part1=Handle3
  184. w.C0=CFrame.new(0,-.5,0)
  185. w.Parent=Handle
  186. w=Instance.new("Weld")
  187. w.Part0=Handle
  188. w.Part1=Handle4
  189. w.C0=CFrame.new(0,-.585,0)
  190. w.Parent=Handle
  191. w=Instance.new("Weld")
  192. w.Part0=Handle
  193. w.Part1=Handle5
  194. w.C0=CFrame.new(0,-.65,0)
  195. w.Parent=Handle
  196. w=Instance.new("Weld")
  197. w.Part0=Handle
  198. w.Part1=Handle6
  199. w.C0=CFrame.new(0,.8,0)
  200. w.Parent=Handle
  201. w=Instance.new("Weld")
  202. w.Part0=Handle
  203. w.Part1=Handle7
  204. w.C0=CFrame.new(0,.9,0)
  205. w.Parent=Handle
  206. w=Instance.new("Weld")
  207. w.Part0=Handle
  208. w.Part1=Handle8
  209. w.C0=CFrame.new(0,1.1325,0)
  210. w.Parent=Handle
  211. w=Instance.new("Weld")
  212. w.Part0=Handle
  213. w.Part1=Handle9
  214. w.C0=CFrame.new(0,1.175,0)
  215. w.Parent=Handle
  216. w=Instance.new("Weld")
  217. w.Part0=Handle
  218. w.Part1=Handle10
  219. w.C0=CFrame.new(0,1.235,0)
  220. w.Parent=Handle
  221. w=Instance.new("Weld")
  222. w.Part0=Handle
  223. w.Part1=Handle11
  224. w.C0=CFrame.new(0,1.6,0)
  225. w.Parent=Handle
  226. end
  227. Tool.AncestryChanged:connect(doWeld)
  228. wait(.25)
  229. pos=1
  230. doRoll=true
  231. chance=0
  232. mdmg=0
  233. charge=100
  234. sound=nil
  235. Tool=script.Parent
  236. ArmOri=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  237. NormSlash=function()
  238. Shoulder=GetShoulder()
  239. Grip=GetGrip()
  240. if Shoulder==nil or Grip==nil then
  241. error("Could not find appropriate limbs.")
  242. return
  243. end
  244. Tool.Handle.Swing.Pitch=math.random(100,110)/100
  245. for i=1, 4 do
  246. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/8)
  247. wait()
  248. end
  249. Tool.Handle6.Balete.Value=true
  250. Tool.Handle.Swing:Play()
  251. for i=1, 3 do
  252. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/4.25)
  253. wait()
  254. end
  255. for i=1, 3 do
  256. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/4.25)
  257. wait()
  258. end
  259. if Tool:FindFirstChild("Handle6")~=nil then
  260. Tool.Handle6.Balete.Value=false
  261. end
  262. for i=1, 4 do
  263. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/8)
  264. wait()
  265. end
  266. Shoulder.C0=ArmOri
  267. end
  268. CritSound=function()
  269. Char=Tool.Parent
  270. c=Instance.new("Sound")
  271. c.SoundId="http://roblox.com/asset/?id=10209481"
  272. c.Volume=.3
  273. c.Pitch=1.15
  274. c.Parent=Char.Torso
  275. c:Play()
  276. game:GetService("Debris"):AddItem(c,.5)
  277. end
  278. CritSlash=function()
  279. Shoulder=GetShoulder()
  280. Grip=GetGrip()
  281. if Shoulder==nil or Grip==nil then
  282. error("Could not find appropriate limbs.")
  283. return
  284. end
  285. ori=Grip.C0
  286. Tool.Handle.Swing:Play()
  287. Tool.Handle.Swing.Pitch=math.random(100,110)/100
  288. wait(.1)
  289. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.25,-.5,0)
  290. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/10)
  291. CritSound()
  292. for i=1, 4 do
  293. Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/16,0,0)
  294. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/10)
  295. wait()
  296. end
  297. Tool.Handle6.Balete.Value=true
  298. for i=1, 4 do
  299. Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/16,0,0)
  300. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/10)
  301. wait()
  302. end
  303. wait(.15)
  304. for i=1, 4 do
  305. Grip.C0=Grip.C0*CFrame.fromEulerAnglesXYZ(math.pi/14,0,0)
  306. Shoulder.C0=Shoulder.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/29)
  307. wait()
  308. end
  309. if Tool:FindFirstChild("Handle6")~=nil then
  310. Tool.Handle6.Balete.Value=false
  311. end
  312. wait()
  313. Grip.C0=ori
  314. Shoulder.C0=ArmOri
  315. end
  316. Animation=function(T,C)
  317. if C=="Stop" then
  318. RightS=T:FindFirstChild("Right Shoulder")
  319. if RightS==nil then
  320. return
  321. end
  322. LeftS=T:FindFirstChild("Left Shoulder")
  323. if LeftS==nil then
  324. return
  325. end
  326. elseif C=="Resume" then
  327. end
  328. end
  329. DEB=true
  330. d=true
  331. critchance=85
  332. DoSpin=false
  333. normgrip=nil
  334. Punch=function()
  335. if d==false or Tool.Enabled==false then return end
  336. d=false
  337. Char=Tool.Parent
  338. if doRoll==true then
  339. if math.random(1,100)<critchance then
  340. DoSpin=false
  341. NormSlash()
  342. else
  343. Crit=true
  344. print("Crit!")
  345. DoSpin=false
  346. CritSlash()
  347. Crit=false
  348. end
  349. else
  350. if charge>33 then
  351. doRoll=false
  352. if math.random(0,charge-34)~=1 then
  353. DoSpin=false
  354. NormSlash()
  355. else
  356. Crit=true
  357. print("Crit!")
  358. DoSpin=false
  359. CritSlash()
  360. Crit=false
  361. end
  362. else
  363. Crit=true
  364. print("Crit!")
  365. DoSpin=false
  366. CritSlash()
  367. Crit=false
  368. end
  369. end
  370. wait(.15)
  371. d=true
  372. end
  373. Tool.Activated:connect(Punch)
  374.  
  375.  
  376. end))
  377. StringValue10.Name = "Te"
  378. StringValue10.Parent = Script9
  379. Part11.Name = "Handle2"
  380. Part11.Parent = Tool0
  381. Part11.BrickColor = BrickColor.new("Brown")
  382. Part11.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  383. Part11.FormFactor = Enum.FormFactor.Symmetric
  384. Part11.Size = Vector3.new(1, 1, 1)
  385. Part11.CFrame = CFrame.new(668.695557, 271.252167, 123.647102, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  386. Part11.Color = Color3.new(0.486275, 0.360784, 0.27451)
  387. Part11.Position = Vector3.new(668.695557, 271.252167, 123.647102)
  388. Part11.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  389. Part11.Color = Color3.new(0.486275, 0.360784, 0.27451)
  390. CylinderMesh12.Parent = Part11
  391. CylinderMesh12.Scale = Vector3.new(0.340000004, 0.150000006, 0.340000004)
  392. CylinderMesh12.Scale = Vector3.new(0.340000004, 0.150000006, 0.340000004)
  393. StringValue13.Name = "Te"
  394. StringValue13.Parent = Part11
  395. Part14.Name = "Handle3"
  396. Part14.Parent = Tool0
  397. Part14.BrickColor = BrickColor.new("Dark stone grey")
  398. Part14.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  399. Part14.FormFactor = Enum.FormFactor.Symmetric
  400. Part14.Size = Vector3.new(1, 1, 1)
  401. Part14.CFrame = CFrame.new(668.736389, 271.396484, 123.649796, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  402. Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
  403. Part14.Position = Vector3.new(668.736389, 271.396484, 123.649796)
  404. Part14.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  405. Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
  406. CylinderMesh15.Parent = Part14
  407. CylinderMesh15.Scale = Vector3.new(0.425000012, 0.150000006, 0.425000012)
  408. CylinderMesh15.Scale = Vector3.new(0.425000012, 0.150000006, 0.425000012)
  409. StringValue16.Name = "Te"
  410. StringValue16.Parent = Part14
  411. Part17.Name = "Handle4"
  412. Part17.Parent = Tool0
  413. Part17.BrickColor = BrickColor.new("Dark stone grey")
  414. Part17.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  415. Part17.FormFactor = Enum.FormFactor.Symmetric
  416. Part17.Size = Vector3.new(1, 1, 1)
  417. Part17.CFrame = CFrame.new(668.759521, 271.478241, 123.651314, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  418. Part17.Color = Color3.new(0.388235, 0.372549, 0.384314)
  419. Part17.Position = Vector3.new(668.759521, 271.478241, 123.651314)
  420. Part17.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  421. Part17.Color = Color3.new(0.388235, 0.372549, 0.384314)
  422. CylinderMesh18.Parent = Part17
  423. CylinderMesh18.Scale = Vector3.new(0.349999994, 0.0500000007, 0.349999994)
  424. CylinderMesh18.Scale = Vector3.new(0.349999994, 0.0500000007, 0.349999994)
  425. StringValue19.Name = "Te"
  426. StringValue19.Parent = Part17
  427. Part20.Name = "Handle5"
  428. Part20.Parent = Tool0
  429. Part20.BrickColor = BrickColor.new("Dark stone grey")
  430. Part20.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  431. Part20.FormFactor = Enum.FormFactor.Symmetric
  432. Part20.Size = Vector3.new(1, 1, 1)
  433. Part20.CFrame = CFrame.new(668.777161, 271.540802, 123.652481, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  434. Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
  435. Part20.Position = Vector3.new(668.777161, 271.540802, 123.652481)
  436. Part20.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  437. Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
  438. CylinderMesh21.Parent = Part20
  439. CylinderMesh21.Scale = Vector3.new(0.389999986, 0.0799999982, 0.389999986)
  440. CylinderMesh21.Scale = Vector3.new(0.389999986, 0.0799999982, 0.389999986)
  441. StringValue22.Name = "Te"
  442. StringValue22.Parent = Part20
  443. Part23.Name = "Handle6"
  444. Part23.Parent = Tool0
  445. Part23.BrickColor = BrickColor.new("Brown")
  446. Part23.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  447. Part23.FormFactor = Enum.FormFactor.Symmetric
  448. Part23.Size = Vector3.new(1, 3, 1)
  449. Part23.CFrame = CFrame.new(668.382568, 270.145782, 123.626511, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  450. Part23.Color = Color3.new(0.486275, 0.360784, 0.27451)
  451. Part23.Position = Vector3.new(668.382568, 270.145782, 123.626511)
  452. Part23.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  453. Part23.Color = Color3.new(0.486275, 0.360784, 0.27451)
  454. CylinderMesh24.Parent = Part23
  455. CylinderMesh24.Offset = Vector3.new(0, -0.25, 0)
  456. CylinderMesh24.Scale = Vector3.new(0.340000004, 0.125, 0.340000004)
  457. CylinderMesh24.Scale = Vector3.new(0.340000004, 0.125, 0.340000004)
  458. BoolValue25.Name = "Balete"
  459. BoolValue25.Parent = Part23
  460. Script26.Parent = Part23
  461. table.insert(cors,sandbox(Script26,function()
  462. wait()
  463. win=function()
  464. for i=1, math.random(2,3)+3 do
  465. p=Instance.new("Part")
  466. p.Name="FireBit"
  467. p.Transparency=1
  468. p.TopSurface=0
  469. p.BottomSurface=0
  470. p.CanCollide=true
  471. p.formFactor="Symmetric"
  472. p.Size=Vector3.new(1,1,1)
  473. p.CFrame=script.Parent.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,10)/10,math.random(20,30)/10,math.random(10,50)/10)
  474. p.Velocity=Vector3.new(math.random(-8,8)*3,math.random(20,50),math.random(-8,8)*3)*2
  475. p.RotVelocity=p.Velocity
  476. p.Parent=workspace
  477. f=Instance.new("Fire")
  478. f.Parent=p
  479. f.Size=math.random(2,3)
  480. f.Heat=math.random(6,15)
  481. g=Instance.new("BodyGyro")
  482. g.Parent=p
  483. v=Instance.new("BodyVelocity")
  484. v.P=5000
  485. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  486. v.velocity=Vector3.new(math.random(-8,8)*2.5,math.random(3,6),math.random(-8,8)*2.5)/1.25
  487. v.Parent=p
  488. game:GetService("Debris"):AddItem(v,.3)
  489. game:GetService("Debris"):AddItem(p,math.random(6,8))
  490. s=script.fireScript:clone()
  491. s.Disabled=false
  492. s.Parent=p
  493. end
  494. for i=1, math.random(3,4)+3 do
  495. p=Instance.new("Part")
  496. p.Name="FireBit"
  497. p.Transparency=1
  498. p.TopSurface=0
  499. p.BottomSurface=0
  500. p.CanCollide=true
  501. p.formFactor="Symmetric"
  502. p.Size=Vector3.new(3,1,3)
  503. p.CFrame=script.Parent.CFrame*CFrame.fromEulerAnglesXYZ(math.random(1,10)/10,math.random(20,30)/10,math.random(10,50)/10)
  504. p.Velocity=Vector3.new(math.random(-8,8),math.random(30,50),math.random(-8,8))
  505. p.RotVelocity=p.Velocity
  506. p.Parent=workspace
  507. f=Instance.new("Fire")
  508. f.Parent=p
  509. f.Size=math.random(2,3)
  510. f.Heat=math.random(6,15)
  511. g=Instance.new("BodyGyro")
  512. g.Parent=p
  513. v=Instance.new("BodyVelocity")
  514. v.P=5000
  515. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  516. v.velocity=Vector3.new(math.random(-8,8)*4,math.random(20,46),math.random(-8,8)*4)/1.1
  517. v.Parent=p
  518. game:GetService("Debris"):AddItem(v,.4)
  519. game:GetService("Debris"):AddItem(p,math.random(7,8))
  520. s=script.fireScript:clone()
  521. s.Disabled=false
  522. s.Parent=p
  523. end
  524. s=Instance.new("Sound")
  525. s.SoundId="http://www.roblox.com/asset/?id=2233908"
  526. s.Pitch=1
  527. s.Volume=1
  528. s.Parent=script.Parent
  529. s:Play()
  530. r=Instance.new("Explosion")
  531. r.BlastPressure=0
  532. r.BlastRadius=9
  533. r.Position=script.Parent.Position
  534. r.Parent=workspace
  535. r.Hit:connect(function(hit)
  536. if hit.Parent==nil then
  537. return
  538. end
  539. if hit.Parent:FindFirstChild("Humanoid")~=nil then
  540. t=hit.Parent:FindFirstChild("Torso")
  541. if t~=nil then
  542. if t:FindFirstChild("Lol,kersplode")==nil then
  543. h=hit.Parent.Humanoid
  544. v=Instance.new("BodyVelocity")
  545. v.Name="Lol,kersplode"
  546. v.P=5000
  547. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  548. v.velocity=(hit.Position-r.Position).unit*math.random(40,50)+Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  549. v.Parent=t
  550. game:GetService("Debris"):AddItem(v,.3)
  551. v=Instance.new("BodyAngularVelocity")
  552. v.Name="Lol,kersplode"
  553. v.P=5000
  554. v.maxTorque=Vector3.new(50000,50000,50000)*50000
  555. v.angularvelocity=(hit.Position-r.Position).unit*math.random(4,5)+Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*4
  556. v.Parent=t
  557. game:GetService("Debris"):AddItem(v,.4)
  558. dmg=math.random(80,90)
  559. if h.Health>dmg then
  560. h.Health=h.Health-dmg
  561. else
  562. s=script.Ragdoll:clone()
  563. s.Disabled=false
  564. s.Parent=h.Parent
  565. wait(.05)
  566. h.Health=0
  567. end
  568. s=script.HAX:clone()
  569. s.Disabled=false
  570. s.Parent=h.Parent
  571. end
  572. end
  573. else
  574. if hit.CanCollide==true and hit.Anchored==false then
  575. hit:BreakJoints()
  576. v=Instance.new("BodyVelocity")
  577. v.P=5000
  578. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  579. v.velocity=(hit.Position-r.Position).unit*math.random(40,50)+Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  580. v.Parent=hit
  581. game:GetService("Debris"):AddItem(v,.25)
  582. hit.RotVelocity=hit.Velocity+Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  583. end
  584. end
  585. end)
  586. end
  587. trig=false
  588. onTouched=function(hit)
  589. if hit.Parent==nil or trig==true or script.Parent.Balete.Value==false then
  590. print(1)
  591. return
  592. end
  593. if hit.Parent==script.Parent.Parent or hit.Parent==script.Parent.Parent.Parent then
  594. print(2)
  595. return
  596. end
  597. if hit.CanCollide==false and hit.Parent:FindFirstChild("Humanoid")==nil then
  598. return
  599. end
  600. trig=true
  601. win()
  602. end
  603. script.Parent.Touched:connect(onTouched)
  604.  
  605. end))
  606. Script27.Name = "Ragdoll"
  607. Script27.Parent = Script26
  608. Script27.Disabled = true
  609. table.insert(cors,sandbox(Script27,function()
  610. print("Hello world!")
  611.  
  612. Character = script.Parent
  613. Humanoid = Character.Humanoid
  614. Torso = Character.Torso
  615.  
  616. function OnDeath()
  617. print("Death")-- HAHA
  618. wait(0.2)
  619. Humanoid.Parent = nil
  620. if Torso then
  621. local Head = Character:FindFirstChild("Head")
  622. if Head then
  623. local Neck = Instance.new("Weld")
  624. Neck.Name = "Neck"
  625. Neck.Part0 = Torso
  626. Neck.Part1 = Head
  627. Neck.C0 = CFrame.new(0, 1.5, 0)
  628. Neck.C1 = CFrame.new()
  629. Neck.Parent = Torso
  630. end
  631. local Limb = Character:FindFirstChild("Right Arm")
  632. if Limb then
  633.  
  634. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  635. local Joint = Instance.new("Glue")
  636. Joint.Name = "RightShoulder"
  637. Joint.Part0 = Torso
  638. Joint.Part1 = Limb
  639. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  640. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  641. Joint.Parent = Torso
  642.  
  643. local B = Instance.new("Part")
  644. B.TopSurface = 0
  645. B.BottomSurface = 0
  646. B.formFactor = "Symmetric"
  647. B.Size = Vector3.new(1, 1, 1)
  648. B.Transparency = 1
  649. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  650. B.Parent = Character
  651. local W = Instance.new("Weld")
  652. W.Part0 = Limb
  653. W.Part1 = B
  654. W.C0 = CFrame.new(0, -0.5, 0)
  655. W.Parent = Limb
  656.  
  657. end
  658. local Limb = Character:FindFirstChild("Left Arm")
  659. if Limb then
  660.  
  661. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  662. local Joint = Instance.new("Glue")
  663. Joint.Name = "LeftShoulder"
  664. Joint.Part0 = Torso
  665. Joint.Part1 = Limb
  666. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  667. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  668. Joint.Parent = Torso
  669.  
  670. local B = Instance.new("Part")
  671. B.TopSurface = 0
  672. B.BottomSurface = 0
  673. B.formFactor = "Symmetric"
  674. B.Size = Vector3.new(1, 1, 1)
  675. B.Transparency = 1
  676. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  677. B.Parent = Character
  678. local W = Instance.new("Weld")
  679. W.Part0 = Limb
  680. W.Part1 = B
  681. W.C0 = CFrame.new(0, -0.5, 0)
  682. W.Parent = Limb
  683.  
  684. end
  685. local Limb = Character:FindFirstChild("Right Leg")
  686. if Limb then
  687.  
  688. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  689. local Joint = Instance.new("Glue")
  690. Joint.Name = "RightHip"
  691. Joint.Part0 = Torso
  692. Joint.Part1 = Limb
  693. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  694. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  695. Joint.Parent = Torso
  696.  
  697. local B = Instance.new("Part")
  698. B.TopSurface = 0
  699. B.BottomSurface = 0
  700. B.formFactor = "Symmetric"
  701. B.Size = Vector3.new(1, 1, 1)
  702. B.Transparency = 1
  703. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  704. B.Parent = Character
  705. local W = Instance.new("Weld")
  706. W.Part0 = Limb
  707. W.Part1 = B
  708. W.C0 = CFrame.new(0, -0.5, 0)
  709. W.Parent = Limb
  710.  
  711. end
  712. local Limb = Character:FindFirstChild("Left Leg")
  713. if Limb then
  714.  
  715. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  716. local Joint = Instance.new("Glue")
  717. Joint.Name = "LeftHip"
  718. Joint.Part0 = Torso
  719. Joint.Part1 = Limb
  720. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  721. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  722. Joint.Parent = Torso
  723.  
  724. local B = Instance.new("Part")
  725. B.TopSurface = 0
  726. B.BottomSurface = 0
  727. B.formFactor = "Symmetric"
  728. B.Size = Vector3.new(1, 1, 1)
  729. B.Transparency = 1
  730. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  731. B.Parent = Character
  732. local W = Instance.new("Weld")
  733. W.Part0 = Limb
  734. W.Part1 = B
  735. W.C0 = CFrame.new(0, -0.5, 0)
  736. W.Parent = Limb
  737.  
  738. end
  739. --[
  740. local Bar = Instance.new("Part")
  741. Bar.TopSurface = 0
  742. Bar.BottomSurface = 0
  743. Bar.formFactor = "Symmetric"
  744. Bar.Size = Vector3.new(1, 1, 1)
  745. Bar.Transparency = 1
  746. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  747. Bar.Parent = Character
  748. local Weld = Instance.new("Weld")
  749. Weld.Part0 = Torso
  750. Weld.Part1 = Bar
  751. Weld.C0 = CFrame.new(0, 0.5, 0)
  752. Weld.Parent = Torso
  753. --]]
  754. end
  755. end
  756.  
  757. Humanoid.Died:connect(OnDeath)
  758.  
  759. end))
  760. Script28.Name = "fireScript"
  761. Script28.Parent = Script26
  762. Script28.Disabled = true
  763. table.insert(cors,sandbox(Script28,function()
  764. wait()
  765. onTouched=function(hit)
  766. if hit.Parent==nil then return end
  767. h=hit.Parent:FindFirstChild("Humanoid")
  768. if h~=nil and game.Players:GetPlayerFromCharacter(hit.Parent)==nil then
  769. t=hit.Parent:FindFirstChild("Torso")
  770. if t~=nil then
  771. if t:FindFirstChild("Fire")==nil then
  772. s=script.Fire:clone()
  773. s.Disabled=false
  774. s.creator.Value=script.creator.Value
  775. s.Parent=t
  776. game:GetService("Debris"):AddItem(s,3)
  777. h:TakeDamage(30)
  778. end
  779. end
  780. end
  781. if hit.Name~="MiniPumpkinBomb" and hit.Name~="PumpkinFireBit" and hit.Name~="PumpkinBit" then
  782. wait(.75)
  783. script.Parent:Remove()
  784. end
  785. end
  786. script.Parent.Touched:connect(onTouched)
  787. end))
  788. ObjectValue29.Name = "creator"
  789. ObjectValue29.Parent = Script28
  790. ObjectValue30.Name = "creator"
  791. ObjectValue30.Parent = Script26
  792. LocalScript31.Name = "HAX"
  793. LocalScript31.Parent = Script26
  794. LocalScript31.Disabled = true
  795. table.insert(cors,sandbox(LocalScript31,function()
  796. wait()
  797. c=workspace.CurrentCamera
  798. for i=1, 20 do
  799. c.CoordinateFrame=c.CoordinateFrame*CFrame.new(math.random(-(10-(i/4)),(10-(i/4)))/2,math.random(-(5-(i/4)),(5-(i/4)))/2,math.random(-(10-(i/4)),(10-(i/4)))/2)
  800. wait(.01)
  801. end
  802. script:Remove()
  803. end))
  804. StringValue32.Name = "Te"
  805. StringValue32.Parent = Part23
  806. Part33.Name = "Handle7"
  807. Part33.Parent = Tool0
  808. Part33.BrickColor = BrickColor.new("Brown")
  809. Part33.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  810. Part33.FormFactor = Enum.FormFactor.Symmetric
  811. Part33.Size = Vector3.new(1, 1, 1)
  812. Part33.CFrame = CFrame.new(668.355347, 270.049561, 123.624725, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  813. Part33.Color = Color3.new(0.486275, 0.360784, 0.27451)
  814. Part33.Position = Vector3.new(668.355347, 270.049561, 123.624725)
  815. Part33.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  816. Part33.Color = Color3.new(0.486275, 0.360784, 0.27451)
  817. CylinderMesh34.Parent = Part33
  818. CylinderMesh34.Scale = Vector3.new(0.400000006, 0.425000012, 0.400000006)
  819. CylinderMesh34.Scale = Vector3.new(0.400000006, 0.425000012, 0.400000006)
  820. StringValue35.Name = "Te"
  821. StringValue35.Parent = Part33
  822. Part36.Name = "Handle8"
  823. Part36.Parent = Tool0
  824. Part36.BrickColor = BrickColor.new("Dark stone grey")
  825. Part36.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  826. Part36.FormFactor = Enum.FormFactor.Symmetric
  827. Part36.Size = Vector3.new(1, 1, 1)
  828. Part36.CFrame = CFrame.new(668.292053, 269.825867, 123.62056, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  829. Part36.Color = Color3.new(0.388235, 0.372549, 0.384314)
  830. Part36.Position = Vector3.new(668.292053, 269.825867, 123.62056)
  831. Part36.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  832. Part36.Color = Color3.new(0.388235, 0.372549, 0.384314)
  833. CylinderMesh37.Parent = Part36
  834. CylinderMesh37.Scale = Vector3.new(0.444999993, 0.0500000007, 0.444999993)
  835. CylinderMesh37.Scale = Vector3.new(0.444999993, 0.0500000007, 0.444999993)
  836. StringValue38.Name = "Te"
  837. StringValue38.Parent = Part36
  838. Part39.Name = "Handle9"
  839. Part39.Parent = Tool0
  840. Part39.BrickColor = BrickColor.new("Dark stone grey")
  841. Part39.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  842. Part39.FormFactor = Enum.FormFactor.Symmetric
  843. Part39.Size = Vector3.new(1, 1, 1)
  844. Part39.CFrame = CFrame.new(668.280518, 269.784973, 123.619797, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  845. Part39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  846. Part39.Position = Vector3.new(668.280518, 269.784973, 123.619797)
  847. Part39.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  848. Part39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  849. CylinderMesh40.Parent = Part39
  850. CylinderMesh40.Scale = Vector3.new(0.400000006, 0.0500000007, 0.400000006)
  851. CylinderMesh40.Scale = Vector3.new(0.400000006, 0.0500000007, 0.400000006)
  852. StringValue41.Name = "Te"
  853. StringValue41.Parent = Part39
  854. Part42.Name = "Handle10"
  855. Part42.Parent = Tool0
  856. Part42.BrickColor = BrickColor.new("Dark stone grey")
  857. Part42.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  858. Part42.FormFactor = Enum.FormFactor.Symmetric
  859. Part42.Size = Vector3.new(1, 1, 1)
  860. Part42.CFrame = CFrame.new(668.26416, 269.727264, 123.618721, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  861. Part42.Color = Color3.new(0.388235, 0.372549, 0.384314)
  862. Part42.Position = Vector3.new(668.26416, 269.727264, 123.618721)
  863. Part42.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  864. Part42.Color = Color3.new(0.388235, 0.372549, 0.384314)
  865. CylinderMesh43.Parent = Part42
  866. CylinderMesh43.Scale = Vector3.new(0.61500001, 0.075000003, 0.61500001)
  867. CylinderMesh43.Scale = Vector3.new(0.61500001, 0.075000003, 0.61500001)
  868. StringValue44.Name = "Te"
  869. StringValue44.Parent = Part42
  870. Part45.Name = "Handle11"
  871. Part45.Parent = Tool0
  872. Part45.Reflectance = 0.10000000149012
  873. Part45.Rotation = Vector3.new(-103.099998, -73.7399979, 76.3799973)
  874. Part45.FormFactor = Enum.FormFactor.Symmetric
  875. Part45.Size = Vector3.new(1, 1, 1)
  876. Part45.CFrame = CFrame.new(668.164795, 269.376099, 123.61219, 0.0659606904, -0.272162169, -0.95998764, -8.74698089e-05, -0.962084472, 0.272750616, -0.997822046, -0.0179068558, -0.0634835809)
  877. Part45.Position = Vector3.new(668.164795, 269.376099, 123.61219)
  878. Part45.Orientation = Vector3.new(-15.8299999, -93.7799988, -179.990005)
  879. CylinderMesh46.Parent = Part45
  880. CylinderMesh46.Scale = Vector3.new(0.524999976, 0.699999988, 0.524999976)
  881. CylinderMesh46.Scale = Vector3.new(0.524999976, 0.699999988, 0.524999976)
  882. Decal47.Parent = Part45
  883. Decal47.Texture = "http://www.roblox.com/asset/?id=23655482"
  884. Decal47.Face = Enum.NormalId.Right
  885. StringValue48.Name = "Te"
  886. StringValue48.Parent = Part45
  887. for i,v in pairs(mas:GetChildren()) do
  888. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  889. pcall(function() v:MakeJoints() end)
  890. end
  891. mas:Destroy()
  892. for i,v in pairs(cors) do
  893. spawn(function()
  894. pcall(v)
  895. end)
  896. end
Add Comment
Please, Sign In to add comment