Advertisement
ryanswagg20

Dubstep Gun

Sep 16th, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.57 KB | None | 0 0
  1. pl=game.Players.ryanswagg20
  2. mouse=pl:GetMouse()
  3. mouse.Button1Down:connect(function() onClicked(mouse) end)
  4. mouse.Button1Up:connect(function() onUP(mouse) end)
  5. ch=pl.Character
  6. ch.Humanoid.Name="desfrunse"
  7. ArmWeldL = Instance.new("Weld")
  8. ArmWeldL.Parent = ch.Torso
  9. ArmWeldL.Part0 = ch.Torso
  10. ArmWeldL.Part1 = ch["Right Arm"]
  11. ArmWeldL.C0 = CFrame.new(1.5,.5,-.5) * CFrame.fromEulerAnglesXYZ(89.5,0,0)
  12. was=Instance.new("Model",ch)
  13. base = Instance.new("Part",was)
  14. base.Name = "waf"
  15. base.CanCollide = false
  16. base.Size=Vector3.new(1,1,1)
  17. base.Transparency = 1
  18. base:BreakJoints()
  19. baseWeld = Instance.new("Weld")
  20. baseWeld.Parent =base
  21. baseWeld.Part0 = ch["Right Arm"]
  22. baseWeld.Part1 = base
  23. baseWeld.C0 = CFrame.new(0, -1.2, 0)
  24. ha = Instance.new("Part",was)
  25. ha.Name = "waf"
  26. ha.CanCollide = false
  27. ha.BrickColor=BrickColor.new("Dark stone grey")
  28. ha.formFactor = "Custom"
  29. ha.Size = Vector3.new(.1, .1, 1)
  30. ha.TopSurface = 0
  31. ha.BottomSurface = 0
  32. ha.Transparency = 0
  33. ha:BreakJoints()
  34. sWeld = Instance.new("Weld")
  35. sWeld.Parent =ha
  36. sWeld.Part0 = base
  37. sWeld.Part1 = ha
  38. sWeld.C0 = CFrame.new(0,0, 0) * CFrame.Angles(-44.75, 0, 0)
  39. ha = Instance.new("Part",was)
  40. ha.Name = "waf"
  41. ha.CanCollide = false
  42. ha.formFactor = "Custom"
  43. ha.BrickColor=BrickColor.new("Institutional white")
  44. mes=Instance.new("CylinderMesh",ha)
  45. mes.Scale=Vector3.new(1.5,.5,1.5)
  46. ha.Size = Vector3.new(1, 1, 1)
  47. ha.TopSurface = 0
  48. ha.BottomSurface = 0
  49. ha.Transparency = 0
  50. ha:BreakJoints()
  51. sWeld = Instance.new("Weld")
  52. sWeld.Parent =ha
  53. sWeld.Part0 = base
  54. sWeld.Part1 = ha
  55. sWeld.C0 = CFrame.new(0,0,-1) * CFrame.Angles(0, 0, math.pi/2)
  56. ha = Instance.new("Part",was)
  57. ha.Name = "waf"
  58. ha.CanCollide = false
  59. ha.BrickColor=BrickColor.new("Dark stone grey")
  60. ha.formFactor = "Custom"
  61. mes=Instance.new("CylinderMesh",ha)
  62. mes.Scale=Vector3.new(1.2,.6,1.2)
  63. ha.Size = Vector3.new(1, 1, 1)
  64. ha.TopSurface = 0
  65. ha.BottomSurface = 0
  66. ha.Transparency = 0
  67. ha:BreakJoints()
  68. sWeld = Instance.new("Weld")
  69. sWeld.Parent =ha
  70. sWeld.Part0 = base
  71. sWeld.Part1 = ha
  72. sWeld.C0 = CFrame.new(0,0,-1) * CFrame.Angles(0, 0, math.pi/2)
  73. ha = Instance.new("Part",was)
  74. ha.Name = "waf"
  75. ha.CanCollide = false
  76. ha.BrickColor=BrickColor.new("Institutional white")
  77. ha.formFactor = "Custom"
  78. mes=Instance.new("CylinderMesh",ha)
  79. mes.Scale=Vector3.new(.75,.75,.75)
  80. ha.Size = Vector3.new(1, 1, 1)
  81. ha.TopSurface = 0
  82. ha.BottomSurface = 0
  83. ha.Transparency = 0
  84. ha:BreakJoints()
  85. sWeld = Instance.new("Weld")
  86. sWeld.Parent =ha
  87. sWeld.Part0 = base
  88. sWeld.Part1 = ha
  89. sWeld.C0 = CFrame.new(0,0,-1) * CFrame.Angles(0, 0, math.pi/2)
  90. ha = Instance.new("Part",was)
  91. ha.Name = "waf"
  92. ha.CanCollide = false
  93. ha.formFactor = "Custom"
  94. mes=Instance.new("CylinderMesh",ha)
  95. mes.Scale=Vector3.new(.6,.8,.6)
  96. ha.Size = Vector3.new(1, 1, 1)
  97. ha.TopSurface = 0
  98. ha.BottomSurface = 0
  99. ha.Transparency = 0
  100. ha:BreakJoints()
  101. sWeld = Instance.new("Weld")
  102. sWeld.Parent =ha
  103. sWeld.Part0 = base
  104. sWeld.Part1 = ha
  105. sWeld.C0 = CFrame.new(0,0,-1) * CFrame.Angles(0, 0, math.pi/2)
  106. ha = Instance.new("Part",was)
  107. ha.Name = "waf"
  108. ha.CanCollide = false
  109. ha.BrickColor=BrickColor.new("Really red")
  110. mes=Instance.new("BlockMesh",ha)
  111. mes.Scale=Vector3.new(1,1.5,.5)
  112. ha.formFactor = "Custom"
  113. ha.Size = Vector3.new(.1, .1, .1)
  114. ha.TopSurface = 0
  115. ha.BottomSurface = 0
  116. ha.Transparency = 0
  117. ha:BreakJoints()
  118. sWeld = Instance.new("Weld")
  119. sWeld.Parent =ha
  120. sWeld.Part0 = base
  121. sWeld.Part1 = ha
  122. sWeld.C0 = CFrame.new(.31,0,-1.05) * CFrame.Angles(44.65,0,0)
  123. ha = Instance.new("Part",was)
  124. ha.Name = "waf"
  125. ha.CanCollide = false
  126. ha.BrickColor=BrickColor.new("Bright blue")
  127. ha.formFactor = "Custom"
  128. mes=Instance.new("BlockMesh",ha)
  129. mes.Scale=Vector3.new(1,.5,.5)
  130. ha.Size = Vector3.new(.1, .1, .1)
  131. ha.TopSurface = 0
  132. ha.BottomSurface = 0
  133. ha.Transparency = 0
  134. ha:BreakJoints()
  135. sWeld = Instance.new("Weld")
  136. sWeld.Parent =ha
  137. sWeld.Part0 = base
  138. sWeld.Part1 = ha
  139. sWeld.C0 = CFrame.new(.31,0,-.8) * CFrame.Angles(0,0,0)
  140. ha = Instance.new("Part",was)
  141. ha.Name = "waf"
  142. ha.CanCollide = false
  143. ha.BrickColor=BrickColor.new("Bright blue")
  144. ha.formFactor = "Custom"
  145. mes=Instance.new("BlockMesh",ha)
  146. mes.Scale=Vector3.new(1,.5,.5)
  147. ha.Size = Vector3.new(.1, .1, .1)
  148. ha.TopSurface = 0
  149. ha.BottomSurface = 0
  150. ha.Transparency = 0
  151. ha:BreakJoints()
  152. sWeld = Instance.new("Weld")
  153. sWeld.Parent =ha
  154. sWeld.Part0 = base
  155. sWeld.Part1 = ha
  156. sWeld.C0 = CFrame.new(.31,-.13,-.83) * CFrame.Angles(0,0,0)
  157. ha = Instance.new("Part",was)
  158. ha.Name = "waf"
  159. ha.CanCollide = false
  160. ha.BrickColor=BrickColor.new("Bright blue")
  161. ha.formFactor = "Custom"
  162. mes=Instance.new("BlockMesh",ha)
  163. mes.Scale=Vector3.new(1,.5,.5)
  164. ha.Size = Vector3.new(.1, .1, .1)
  165. ha.TopSurface = 0
  166. ha.BottomSurface = 0
  167. ha.Transparency = 0
  168. ha:BreakJoints()
  169. sWeld = Instance.new("Weld")
  170. sWeld.Parent =ha
  171. sWeld.Part0 = base
  172. sWeld.Part1 = ha
  173. sWeld.C0 = CFrame.new(.31,.13,-.83) * CFrame.Angles(0,0,0)
  174. ha = Instance.new("Part",was)
  175. ha.Name = "waf"
  176. ha.CanCollide = false
  177. ha.BrickColor=BrickColor.new("Institutional white")
  178. ha.formFactor = "Custom"
  179. mes=Instance.new("BlockMesh",ha)
  180. mes.Scale=Vector3.new(2.5,10,6)
  181. ha.Size = Vector3.new(.1, .1, .1)
  182. ha.TopSurface = 0
  183. ha.BottomSurface = 0
  184. ha.Transparency = 0
  185. ha:BreakJoints()
  186. sWeld = Instance.new("Weld")
  187. sWeld.Parent =ha
  188. sWeld.Part0 = base
  189. sWeld.Part1 = ha
  190. sWeld.C0 = CFrame.new(0,-1,-1.15) * CFrame.Angles(0,0,0)
  191. ha = Instance.new("Part",was)
  192. ha.Name = "waf"
  193. ha.CanCollide = false
  194. ha.BrickColor=BrickColor.new("Institutional white")
  195. ha.formFactor = "Custom"
  196. mes=Instance.new("CylinderMesh",ha)
  197. mes.Scale=Vector3.new(4,2,4)
  198. ha.Size = Vector3.new(.1, .1, .1)
  199. ha.TopSurface = 0
  200. ha.BottomSurface = 0
  201. ha.Transparency = 0
  202. ha:BreakJoints()
  203. sWeld = Instance.new("Weld")
  204. sWeld.Parent =ha
  205. sWeld.Part0 = base
  206. sWeld.Part1 = ha
  207. sWeld.C0 = CFrame.new(0,-.6,-.6) * CFrame.Angles(0,0,math.pi/2)
  208. ha = Instance.new("Part",was)
  209. ha.Name = "waf"
  210. ha.CanCollide = false
  211. ha.BrickColor=BrickColor.new("Really black")
  212. ha.formFactor = "Custom"
  213. mes=Instance.new("CylinderMesh",ha)
  214. mes.Scale=Vector3.new(3,2.6,3)
  215. ha.Size = Vector3.new(.1, .1, .1)
  216. ha.TopSurface = 0
  217. ha.BottomSurface = 0
  218. ha.Transparency = 0
  219. ha:BreakJoints()
  220. sWeld = Instance.new("Weld")
  221. sWeld.Parent =ha
  222. sWeld.Part0 = base
  223. sWeld.Part1 = ha
  224. sWeld.C0 = CFrame.new(0,-.8,-1) * CFrame.Angles(0,0,math.pi/2)
  225. ha = Instance.new("Part",was)
  226. ha.Name = "waf"
  227. ha.CanCollide = false
  228. ha.BrickColor=BrickColor.new("Bright blue")
  229. ha.formFactor = "Custom"
  230. mes=Instance.new("CylinderMesh",ha)
  231. mes.Scale=Vector3.new(2.5,2.7,2.5)
  232. ha.Size = Vector3.new(.1, .1, .1)
  233. ha.TopSurface = 0
  234. ha.BottomSurface = 0
  235. ha.Transparency = 0
  236. ha:BreakJoints()
  237. sWeld = Instance.new("Weld")
  238. sWeld.Parent =ha
  239. sWeld.Part0 = base
  240. sWeld.Part1 = ha
  241. sWeld.C0 = CFrame.new(0,-.8,-1) * CFrame.Angles(0,0,math.pi/2)
  242. ha = Instance.new("Part",was)
  243. ha.Name = "waf"
  244. ha.CanCollide = false
  245. ha.BrickColor=BrickColor.new("Institutional white")
  246. ha.formFactor = "Custom"
  247. mes=Instance.new("CylinderMesh",ha)
  248. mes.Scale=Vector3.new(1.5,3,1.5)
  249. ha.Size = Vector3.new(.1, .1, .1)
  250. ha.TopSurface = 0
  251. ha.BottomSurface = 0
  252. ha.Transparency = 0
  253. ha:BreakJoints()
  254. sWeld = Instance.new("Weld")
  255. sWeld.Parent =ha
  256. sWeld.Part0 = base
  257. sWeld.Part1 = ha
  258. sWeld.C0 = CFrame.new(0,-.8,-1) * CFrame.Angles(0,0,math.pi/2)
  259. ha = Instance.new("Part",was)
  260. ha.Name = "waf"
  261. ha.CanCollide = false
  262. ha.BrickColor=BrickColor.new("Really red")
  263. ha.formFactor = "Custom"
  264. mes=Instance.new("CylinderMesh",ha)
  265. mes.Scale=Vector3.new(1,3,1)
  266. ha.Size = Vector3.new(.1, .1, .1)
  267. ha.TopSurface = 0
  268. ha.BottomSurface = 0
  269. ha.Transparency = 0
  270. ha:BreakJoints()
  271. sWeld = Instance.new("Weld")
  272. sWeld.Parent =ha
  273. sWeld.Part0 = base
  274. sWeld.Part1 = ha
  275. sWeld.C0 = CFrame.new(0,-1,-1.5) * CFrame.Angles(0,0,math.pi/2)
  276. ha = Instance.new("Part",was)
  277. ha.Name = "waf"
  278. ha.CanCollide = false
  279. ha.BrickColor=BrickColor.new("Dark stone grey")
  280. ha.formFactor = "Custom"
  281. mes=Instance.new("CylinderMesh",ha)
  282. mes.Scale=Vector3.new(.9,3.1,.9)
  283. ha.Size = Vector3.new(.1, .1, .1)
  284. ha.TopSurface = 0
  285. ha.BottomSurface = 0
  286. ha.Transparency = 0
  287. ha:BreakJoints()
  288. sWeld = Instance.new("Weld")
  289. sWeld.Parent =ha
  290. sWeld.Part0 = base
  291. sWeld.Part1 = ha
  292. sWeld.C0 = CFrame.new(0,-1,-1.5) * CFrame.Angles(0,0,math.pi/2)
  293. ha = Instance.new("Part",was)
  294. ha.Name = "waf"
  295. ha.CanCollide = false
  296. ha.BrickColor=BrickColor.new("Dark stone grey")
  297. ha.formFactor = "Custom"
  298. mes=Instance.new("BlockMesh",ha)
  299. mes.Scale=Vector3.new(1,3.1,.7)
  300. ha.Size = Vector3.new(.1, .1, .1)
  301. ha.TopSurface = 0
  302. ha.BottomSurface = 0
  303. ha.Transparency = 0
  304. ha:BreakJoints()
  305. sWeld = Instance.new("Weld")
  306. sWeld.Parent =ha
  307. sWeld.Part0 = base
  308. sWeld.Part1 = ha
  309. sWeld.C0 = CFrame.new(0,-.93,-1.5) * CFrame.Angles(0,0,math.pi/2)
  310. ha = Instance.new("Part",was)
  311. ha.Name = "waf"
  312. ha.CanCollide = false
  313. ha.BrickColor=BrickColor.new("Really blue")
  314. ha.formFactor = "Custom"
  315. mes=Instance.new("CylinderMesh",ha)
  316. mes.Scale=Vector3.new(1,3,1)
  317. ha.Size = Vector3.new(.1, .1, .1)
  318. ha.TopSurface = 0
  319. ha.BottomSurface = 0
  320. ha.Transparency = 0
  321. ha:BreakJoints()
  322. sWeld = Instance.new("Weld")
  323. sWeld.Parent =ha
  324. sWeld.Part0 = base
  325. sWeld.Part1 = ha
  326. sWeld.C0 = CFrame.new(0,-1.3,-1.5) * CFrame.Angles(0,0,math.pi/2)
  327. ha = Instance.new("Part",was)
  328. ha.Name = "waf"
  329. ha.CanCollide = false
  330. ha.BrickColor=BrickColor.new("Dark stone grey")
  331. ha.formFactor = "Custom"
  332. mes=Instance.new("CylinderMesh",ha)
  333. mes.Scale=Vector3.new(.9,3.1,.9)
  334. ha.Size = Vector3.new(.1, .1, .1)
  335. ha.TopSurface = 0
  336. ha.BottomSurface = 0
  337. ha.Transparency = 0
  338. ha:BreakJoints()
  339. sWeld = Instance.new("Weld")
  340. sWeld.Parent =ha
  341. sWeld.Part0 = base
  342. sWeld.Part1 = ha
  343. sWeld.C0 = CFrame.new(0,-1.3,-1.5) * CFrame.Angles(0,0,math.pi/2)
  344. ha = Instance.new("Part",was)
  345. ha.Name = "waf"
  346. ha.CanCollide = false
  347. ha.BrickColor=BrickColor.new("Dark stone grey")
  348. ha.formFactor = "Custom"
  349. mes=Instance.new("BlockMesh",ha)
  350. mes.Scale=Vector3.new(.7,3.1,.7)
  351. ha.Size = Vector3.new(.1, .1, .1)
  352. ha.TopSurface = 0
  353. ha.BottomSurface = 0
  354. ha.Transparency = 0
  355. ha:BreakJoints()
  356. sWeld = Instance.new("Weld")
  357. sWeld.Parent =ha
  358. sWeld.Part0 = base
  359. sWeld.Part1 = ha
  360. sWeld.C0 = CFrame.new(0,-1.3,-1.4) * CFrame.Angles(0,0,math.pi/2)
  361. ha = Instance.new("Part",was)
  362. ha.Name = "waf"
  363. ha.CanCollide = false
  364. ha.BrickColor=BrickColor.new("Bright green")
  365. ha.formFactor = "Custom"
  366. mes=Instance.new("CylinderMesh",ha)
  367. mes.Scale=Vector3.new(1,3,1)
  368. ha.Size = Vector3.new(.1, .1, .1)
  369. ha.TopSurface = 0
  370. ha.BottomSurface = 0
  371. ha.Transparency = 0
  372. ha:BreakJoints()
  373. sWeld = Instance.new("Weld")
  374. sWeld.Parent =ha
  375. sWeld.Part0 = base
  376. sWeld.Part1 = ha
  377. sWeld.C0 = CFrame.new(0,-1.6,-1.5) * CFrame.Angles(0,0,math.pi/2)
  378. ha = Instance.new("Part",was)
  379. ha.Name = "waf"
  380. ha.CanCollide = false
  381. ha.BrickColor=BrickColor.new("Dark stone grey")
  382. ha.formFactor = "Custom"
  383. mes=Instance.new("CylinderMesh",ha)
  384. mes.Scale=Vector3.new(.9,3.1,.9)
  385. ha.Size = Vector3.new(.1, .1, .1)
  386. ha.TopSurface = 0
  387. ha.BottomSurface = 0
  388. ha.Transparency = 0
  389. ha:BreakJoints()
  390. sWeld = Instance.new("Weld")
  391. sWeld.Parent =ha
  392. sWeld.Part0 = base
  393. sWeld.Part1 = ha
  394. sWeld.C0 = CFrame.new(0,-1.6,-1.5) * CFrame.Angles(0,0,math.pi/2)
  395. ha = Instance.new("Part",was)
  396. ha.Name = "waf"
  397. ha.CanCollide = false
  398. ha.BrickColor=BrickColor.new("Dark stone grey")
  399. ha.formFactor = "Custom"
  400. mes=Instance.new("BlockMesh",ha)
  401. mes.Scale=Vector3.new(.7,3.1,.7)
  402. ha.Size = Vector3.new(.1, .1, .1)
  403. ha.TopSurface = 0
  404. ha.BottomSurface = 0
  405. ha.Transparency = 0
  406. ha:BreakJoints()
  407. sWeld = Instance.new("Weld")
  408. sWeld.Parent =ha
  409. sWeld.Part0 = base
  410. sWeld.Part1 = ha
  411. sWeld.C0 = CFrame.new(0,-1.6,-1.6) * CFrame.Angles(0,0,math.pi/2)
  412. ha = Instance.new("Part",was)
  413. ha.Name = "waf"
  414. ha.CanCollide = false
  415. ha.BrickColor=BrickColor.new("Institutional white")
  416. ha.formFactor = "Custom"
  417. mes=Instance.new("BlockMesh",ha)
  418. mes.Scale=Vector3.new(.7,8,7)
  419. ha.Size = Vector3.new(.1, .1, .1)
  420. ha.TopSurface = 0
  421. ha.BottomSurface = 0
  422. ha.Transparency = 0
  423. ha:BreakJoints()
  424. sWeld = Instance.new("Weld")
  425. sWeld.Parent =ha
  426. sWeld.Part0 = base
  427. sWeld.Part1 = ha
  428. sWeld.C0 = CFrame.new(.2,-2,-1) * CFrame.Angles(0,0,math.pi/2)
  429. ha = Instance.new("Part",was)
  430. ha.Name = "waf"
  431. ha.CanCollide = false
  432. ha.BrickColor=BrickColor.new("Dark stone grey")
  433. ha.formFactor = "Custom"
  434. mes=Instance.new("BlockMesh",ha)
  435. mes.Scale=Vector3.new(.7,8,7)
  436. ha.Size = Vector3.new(.1, .1, .1)
  437. ha.TopSurface = 0
  438. ha.BottomSurface = 0
  439. ha.Transparency = 0
  440. ha:BreakJoints()
  441. sWeld = Instance.new("Weld")
  442. sWeld.Parent =ha
  443. sWeld.Part0 = base
  444. sWeld.Part1 = ha
  445. sWeld.C0 = CFrame.new(.2,-2.13,-1) * CFrame.Angles(0,0,math.pi/2)
  446. ha = Instance.new("Part",was)
  447. ha.Name = "waf"
  448. ha.CanCollide = false
  449. ha.BrickColor=BrickColor.new("Institutional white")
  450. ha.formFactor = "Custom"
  451. mes=Instance.new("BlockMesh",ha)
  452. mes.Scale=Vector3.new(1.5,8,7)
  453. ha.Size = Vector3.new(.1, .1, .1)
  454. ha.TopSurface = 0
  455. ha.BottomSurface = 0
  456. ha.Transparency = 0
  457. ha:BreakJoints()
  458. sWeld = Instance.new("Weld")
  459. sWeld.Parent =ha
  460. sWeld.Part0 = base
  461. sWeld.Part1 = ha
  462. sWeld.C0 = CFrame.new(.2,-2.33,-1) * CFrame.Angles(0,0,math.pi/2)
  463. ha = Instance.new("Part",was)
  464. ha.Name = "waf"
  465. ha.CanCollide = false
  466. ha.BrickColor=BrickColor.new("Institutional white")
  467. ha.formFactor = "Custom"
  468. mes=Instance.new("BlockMesh",ha)
  469. mes.Scale=Vector3.new(.7,5.5,7)
  470. ha.Size = Vector3.new(.1, .1, .1)
  471. ha.TopSurface = 0
  472. ha.BottomSurface = 0
  473. ha.Transparency = 0
  474. ha:BreakJoints()
  475. sWeld = Instance.new("Weld")
  476. sWeld.Parent =ha
  477. sWeld.Part0 = base
  478. sWeld.Part1 = ha
  479. sWeld.C0 = CFrame.new(-.05,-2,-2) * CFrame.Angles(0,0,math.pi/2)
  480. ha = Instance.new("Part",was)
  481. ha.Name = "waf"
  482. ha.CanCollide = false
  483. ha.BrickColor=BrickColor.new("Dark stone grey")
  484. ha.formFactor = "Custom"
  485. mes=Instance.new("BlockMesh",ha)
  486. mes.Scale=Vector3.new(.7,5.5,7)
  487. ha.Size = Vector3.new(.1, .1, .1)
  488. ha.TopSurface = 0
  489. ha.BottomSurface = 0
  490. ha.Transparency = 0
  491. ha:BreakJoints()
  492. sWeld = Instance.new("Weld")
  493. sWeld.Parent =ha
  494. sWeld.Part0 = base
  495. sWeld.Part1 = ha
  496. sWeld.C0 = CFrame.new(-.05,-2.13,-2) * CFrame.Angles(0,0,math.pi/2)
  497. ha = Instance.new("Part",was)
  498. ha.Name = "waf"
  499. ha.CanCollide = false
  500. ha.BrickColor=BrickColor.new("Institutional white")
  501. ha.formFactor = "Custom"
  502. mes=Instance.new("BlockMesh",ha)
  503. mes.Scale=Vector3.new(1.5,5.5,7)
  504. ha.Size = Vector3.new(.1, .1, .1)
  505. ha.TopSurface = 0
  506. ha.BottomSurface = 0
  507. ha.Transparency = 0
  508. ha:BreakJoints()
  509. sWeld = Instance.new("Weld")
  510. sWeld.Parent =ha
  511. sWeld.Part0 = base
  512. sWeld.Part1 = ha
  513. sWeld.C0 = CFrame.new(-.05,-2.33,-2) * CFrame.Angles(0,0,math.pi/2)
  514. ha = Instance.new("Part",was)
  515. ha.Name = "waf"
  516. ha.CanCollide = false
  517. ha.BrickColor=BrickColor.new("Dark stone grey")
  518. ha.formFactor = "Custom"
  519. mes=Instance.new("BlockMesh",ha)
  520. mes.Scale=Vector3.new(.75,4,5)
  521. ha.Size = Vector3.new(.1, .1, .1)
  522. ha.TopSurface = 0
  523. ha.BottomSurface = 0
  524. ha.Transparency = 0
  525. ha:BreakJoints()
  526. sWeld = Instance.new("Weld")
  527. sWeld.Parent =ha
  528. sWeld.Part0 = base
  529. sWeld.Part1 = ha
  530. sWeld.C0 = CFrame.new(-.05,-2.5,-2) * CFrame.Angles(0,0,math.pi/2)
  531. ha = Instance.new("Part",was)
  532. ha.Name = "waf"
  533. ha.CanCollide = false
  534. ha.BrickColor=BrickColor.new("Dark stone grey")
  535. ha.formFactor = "Custom"
  536. mes=Instance.new("BlockMesh",ha)
  537. mes.Scale=Vector3.new(.75,6.5,5)
  538. ha.Size = Vector3.new(.1, .1, .1)
  539. ha.TopSurface = 0
  540. ha.BottomSurface = 0
  541. ha.Transparency = 0
  542. ha:BreakJoints()
  543. sWeld = Instance.new("Weld")
  544. sWeld.Parent =ha
  545. sWeld.Part0 = base
  546. sWeld.Part1 = ha
  547. sWeld.C0 = CFrame.new(.2,-2.5,-1) * CFrame.Angles(0,0,math.pi/2)
  548. has = Instance.new("Part",was)
  549. has.Name = "waf"
  550. has.CanCollide = false
  551. has.BrickColor=BrickColor.new("Really black")
  552. has.formFactor = "Custom"
  553. mes=Instance.new("CylinderMesh",has)
  554. mes.Scale=Vector3.new(4.5,1,4.5)
  555. has.Size = Vector3.new(.1, .1, .1)
  556. has.TopSurface = 0
  557. has.BottomSurface = 0
  558. has.Transparency = 0
  559. has:BreakJoints()
  560. sWeld = Instance.new("Weld")
  561. sWeld.Parent =has
  562. sWeld.Part0 = base
  563. sWeld.Part1 = has
  564. sWeld.C0 = CFrame.new(.05,-2.5,-1) * CFrame.Angles(0,0,0)
  565. ha = Instance.new("Part",was)
  566. ha.Name = "waf"
  567. ha.CanCollide = false
  568. ha.BrickColor=BrickColor.new("Really black")
  569. ha.formFactor = "Custom"
  570. mes=Instance.new("CylinderMesh",ha)
  571. mes.Scale=Vector3.new(3,1,3)
  572. ha.Size = Vector3.new(.1, .1, .1)
  573. ha.TopSurface = 0
  574. ha.BottomSurface = 0
  575. ha.Transparency = 0
  576. ha:BreakJoints()
  577. asWeld = Instance.new("Weld")
  578. asWeld.Parent =ha
  579. asWeld.Part0 = base
  580. asWeld.Part1 = ha
  581. asWeld.C0 = CFrame.new(-0.05,-2.5,-2.1) * CFrame.Angles(0,0,0)
  582. ha = Instance.new("Part",was)
  583. ha.Name = "waf"
  584. ha.CanCollide = false
  585. ha.formFactor = "Custom"
  586. mes=Instance.new("BlockMesh",ha)
  587. mes.Scale=Vector3.new(1.03,4.5,.5)
  588. ha.Size = Vector3.new(.1, .1, .1)
  589. ha.TopSurface = 0
  590. ha.BottomSurface = 0
  591. ha.Transparency = 0
  592. ha:BreakJoints()
  593. sWeld = Instance.new("Weld")
  594. sWeld.Parent =ha
  595. sWeld.Part0 = base
  596. sWeld.Part1 = ha
  597. sWeld.C0 = CFrame.new(.05,-2.5,-1.1) * CFrame.Angles(0,0,math.pi/2)
  598. ha = Instance.new("Part",was)
  599. ha.Name = "waf"
  600. ha.CanCollide = false
  601. ha.formFactor = "Custom"
  602. mes=Instance.new("BlockMesh",ha)
  603. mes.Scale=Vector3.new(1.03,4.5,.5)
  604. ha.Size = Vector3.new(.1, .1, .1)
  605. ha.TopSurface = 0
  606. ha.BottomSurface = 0
  607. ha.Transparency = 0
  608. ha:BreakJoints()
  609. sWeld = Instance.new("Weld")
  610. sWeld.Parent =ha
  611. sWeld.Part0 = base
  612. sWeld.Part1 = ha
  613. sWeld.C0 = CFrame.new(.05,-2.5,-.9) * CFrame.Angles(0,0,math.pi/2)
  614. ha = Instance.new("Part",was)
  615. ha.Name = "waf"
  616. ha.CanCollide = false
  617. ha.BrickColor=BrickColor.new("Dark stone grey")
  618. ha.formFactor = "Custom"
  619. mes=Instance.new("BlockMesh",ha)
  620. mes.Scale=Vector3.new(3,3,1)
  621. ha.Size = Vector3.new(.1, .1, .1)
  622. ha.TopSurface = 0
  623. ha.BottomSurface = 0
  624. ha.Transparency = 0
  625. ha:BreakJoints()
  626. sWeld = Instance.new("Weld")
  627. sWeld.Parent =ha
  628. sWeld.Part0 = base
  629. sWeld.Part1 = ha
  630. sWeld.C0 = CFrame.new(0,-1.44,-1) * CFrame.Angles(0,0,math.pi/2)
  631. ha = Instance.new("Part",was)
  632. ha.Name = "waf"
  633. ha.CanCollide = false
  634. ha.BrickColor=BrickColor.new("Dark stone grey")
  635. ha.formFactor = "Custom"
  636. mes=Instance.new("BlockMesh",ha)
  637. mes.Scale=Vector3.new(1,3,5)
  638. ha.Size = Vector3.new(.1, .1, .1)
  639. ha.TopSurface = 0
  640. ha.BottomSurface = 0
  641. ha.Transparency = 0
  642. ha:BreakJoints()
  643. sWeld = Instance.new("Weld")
  644. sWeld.Parent =ha
  645. sWeld.Part0 = base
  646. sWeld.Part1 = ha
  647. sWeld.C0 = CFrame.new(1,-2.2,-1) * CFrame.Angles(0,0,math.pi/2)
  648.  
  649.  
  650. Lightning = function(Start,End,Times,Offset,Color,Thickness,Transparency)
  651. local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
  652. for i=1,Times do
  653. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true li.Transparency = Transparency or 0.4 li.BrickColor = BrickColor.new(Color)
  654. li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(Thickness,Thickness,magz/Times) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  655. function touch(hit)
  656. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  657. hit.Parent:BreakJoints()
  658. end end li.Touched:connect(touch)
  659. local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz
  660. if Times == i then
  661. local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
  662. li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
  663. else
  664. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  665. end
  666. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p game.Debris:AddItem(li,0.25)
  667. end
  668. end
  669.  
  670.  
  671.  
  672.  
  673.  
  674. s = Instance.new("Sound")
  675. s.Name = "Sound"
  676. s.SoundId = "http://www.roblox.com/asset/?id=144834276"
  677. s.Volume = 1
  678. s.Pitch = 1
  679. s.Looped = true
  680. s.PlayOnRemove = false
  681. s.archivable = false
  682. s.Parent = has
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691. function onClicked(mouse)
  692. loop =false
  693. s:play()
  694. wait(2)
  695. coroutine.resume(coroutine.create(function(c)
  696. while true do
  697. wait()
  698. if loop == true then break end
  699. for i = 1,2 do
  700. p = Instance.new("Part",ch)
  701. p.FormFactor="Custom"
  702. p.Size=Vector3.new(math.random(1,2),math.random(1,2),math.random(1,2))
  703. p.TopSurface = 0
  704. p.BottomSurface = 0
  705. p.BrickColor= BrickColor.new("Royal purple")
  706. p.Transparency=.3
  707. p.CanCollide=false
  708. p.Anchored=true
  709. p.CFrame = (has.CFrame*CFrame.new(0,-1,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  710. game.Debris:AddItem(p,.2)
  711. wait()
  712. end
  713. end end))
  714. coroutine.resume(coroutine.create(function(c)
  715. while true do
  716. wait()
  717. if loop == true then break end
  718. for i = 1,2 do
  719. local f = Instance.new("Part",ch)
  720. f.FormFactor="Custom"
  721. f.Size=Vector3.new(.1,.1,.1)
  722. f.TopSurface = 0
  723. f.BottomSurface = 0
  724. f.BrickColor= BrickColor.new("Really black")
  725. f.Transparency=.3
  726. f.CanCollide=false
  727. f.Anchored=true
  728. local fm = Instance.new("SpecialMesh",f)
  729. fm.Scale=Vector3.new(10,10,10)
  730. fm.MeshId="http://www.roblox.com/asset/?id=3270017"
  731. coroutine.resume(coroutine.create(function(c)
  732. for i=2,10 do
  733. f.CFrame = (has.CFrame*CFrame.new(0,-1*i,0))*CFrame.Angles(math.pi/2,0,0)
  734. scale=math.random(1,3)
  735. fm.Scale=fm.Scale+Vector3.new(scale,scale,scale)
  736. wait()
  737. end game.Debris:AddItem(f,.000001) end))
  738. wait()
  739. end
  740. end end))
  741. coroutine.resume(coroutine.create(function(c)
  742. while true do
  743. if loop == true then break end
  744. Lightning(has.Position,mouse.Hit.p,math.random(5,10),math.random(-2.5,2.5),"Royal purple",0.05,0.35)
  745. wait()
  746. end end))
  747. coroutine.resume(coroutine.create(function(c)
  748. while true do
  749. if loop == true then break end
  750. wait(.1)
  751. local f = Instance.new("Part",ch)
  752. f.FormFactor="Custom"
  753. f.Size=Vector3.new(.1,.1,.1)
  754. f.TopSurface = 0
  755. f.BottomSurface = 0
  756. f.BrickColor= BrickColor.new("Really black")
  757. f.Transparency=.3
  758. f.CanCollide=false
  759. f.Anchored=true
  760. local fm = Instance.new("SpecialMesh",f)
  761. fm.Scale=Vector3.new(10,10,10)
  762. fm.MeshId="http://www.roblox.com/asset/?id=1185246"
  763. f.Position = mouse.Hit.p
  764. coroutine.resume(coroutine.create(function(c)
  765. for i=1,10 do wait()
  766. local z = Instance.new("Part",ch)
  767. z.FormFactor="Custom"
  768. z.Size=Vector3.new(.1,6,.1)
  769. z.TopSurface = 0
  770. z.BottomSurface = 0
  771. z.BrickColor= BrickColor.random()
  772. z.Transparency=.3
  773. z.CanCollide=false
  774. z.Anchored=true
  775. function touch(hit)
  776. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  777. hit.Parent:BreakJoints()
  778. end end z.Touched:connect(touch)
  779. z.CFrame = (f.CFrame*CFrame.new(math.random(-7,7),5,math.random(-7,7)))
  780. coroutine.resume(coroutine.create(function(c)
  781. for i=1,10 do wait()
  782. z.CFrame = (z.CFrame*CFrame.new(0,-1,0))end z:remove() end))end end))
  783. coroutine.resume(coroutine.create(function(c)
  784. for i=2,10 do
  785. scale=1
  786. fm.Scale=fm.Scale+Vector3.new(scale,scale,scale)
  787. wait()
  788. end game.Debris:AddItem(f,.000001) end))
  789. wait()
  790. end
  791. end))
  792. end
  793. function onUP(mouse)
  794. loop=true
  795. s:stop()
  796. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement