Advertisement
Guest User

Untitled

a guest
May 30th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.20 KB | None | 0 0
  1.  
  2.  
  3. Player = game:GetService("Players").EPICWAFFLEMAN345
  4. Character = Player.Character
  5. PlayerGui = Player.PlayerGui
  6. Backpack = Player.Backpack
  7. Torso = Character.Torso
  8. Head = Character.Head
  9. LeftArm = Character["Left Arm"]
  10. LeftLeg = Character["Left Leg"]
  11. RightArm = Character["Right Arm"]
  12. RightLeg = Character["Right Leg"]
  13. LS = Torso["Left Shoulder"]
  14. LH = Torso["Left Hip"]
  15. RS = Torso["Right Shoulder"]
  16. RH = Torso["Right Hip"]
  17. attack = false
  18. attacktype = 1
  19. damage = 3
  20. oridamage = 3
  21. --player
  22. player = nil
  23. --save shoulders
  24. RSH, LSH = nil, nil
  25. --welds
  26. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  27. --what anim
  28. anim = "none"
  29. unsheathed = false
  30. tornadoing = false
  31. if Character:findFirstChild("Main Weapons",true) ~= nil then
  32. Character:findFirstChild("Main Weapons",true).Parent = nil
  33. end
  34. --[[Models and Parts]]--
  35. local modelzorz = Instance.new("Model")
  36. modelzorz.Name = "Main Weapons"
  37. modelzorz.Parent = Character
  38. local model1 = Instance.new("Model")
  39. model1.Name = "GunSword" --Yes I know. This is from Squall from FF7 right? Well I didn't copied this from him.
  40. model1.Parent = modelzorz
  41. local model2 = Instance.new("Model")
  42. model2.Name = "BlastCannon"
  43. model2.Parent = nil
  44. local model3 = Instance.new("Model")
  45. model3.Name = "LaserRifle"
  46. model3.Parent = nil
  47. local model4 = Instance.new("Model")
  48. model4.Name = "Tornado Skates"
  49. model4.Parent = nil
  50. local prt1 = Instance.new("Part")
  51. prt1.formFactor = 1
  52. prt1.Parent = model1
  53. prt1.CanCollide = false
  54. prt1.BrickColor = BrickColor.new("Dark stone grey")
  55. prt1.Name = "Handle1"
  56. prt1.Size = Vector3.new(1,1,1)
  57. prt1.Position = Torso.Position
  58. local prt2 = Instance.new("Part")
  59. prt2.formFactor = 1
  60. prt2.Parent = model1
  61. prt2.CanCollide = false
  62. prt2.BrickColor = BrickColor.new("Medium stone grey")
  63. prt2.Name = "Handle2"
  64. prt2.Size = Vector3.new(1,1,1)
  65. prt2.Position = Torso.Position
  66. local prt3 = Instance.new("Part")
  67. prt3.formFactor = 1
  68. prt3.Reflectance = 0.05
  69. prt3.Parent = model1
  70. prt3.CanCollide = false
  71. prt3.BrickColor = BrickColor.new("Black")
  72. prt3.Name = "Blade1"
  73. prt3.Size = Vector3.new(1,4,1)
  74. prt3.Position = Torso.Position
  75. local prt4 = Instance.new("Part")
  76. prt4.formFactor = 1
  77. prt4.Reflectance = 0.05
  78. prt4.Parent = model1
  79. prt4.CanCollide = false
  80. prt4.BrickColor = BrickColor.new("Black")
  81. prt4.Name = "Blade2"
  82. prt4.Size = Vector3.new(1,1,1)
  83. prt4.Position = Torso.Position
  84. local prt5 = Instance.new("Part")
  85. prt5.formFactor = 1
  86. prt5.Parent = model1
  87. prt5.CanCollide = false
  88. prt5.BrickColor = BrickColor.new("Medium stone grey")
  89. prt5.Name = "Barrel"
  90. prt5.Size = Vector3.new(1,1,1)
  91. prt5.Position = Torso.Position
  92. local prt6 = Instance.new("Part")
  93. prt6.formFactor = 1
  94. prt6.Parent = model1
  95. prt6.CanCollide = false
  96. prt6.BrickColor = BrickColor.new("Black")
  97. prt6.Name = "Shell1" --I had a REALLY, hard time CFraming all these shells >.<
  98. prt6.Size = Vector3.new(1,1,1)
  99. prt6.Position = Torso.Position
  100. local prt7 = Instance.new("Part")
  101. prt7.formFactor = 1
  102. prt7.Parent = model1
  103. prt7.CanCollide = false
  104. prt7.BrickColor = BrickColor.new("Black")
  105. prt7.Name = "Shell2"
  106. prt7.Size = Vector3.new(1,1,1)
  107. prt7.Position = Torso.Position
  108. local prt8 = Instance.new("Part")
  109. prt8.formFactor = 1
  110. prt8.Parent = model1
  111. prt8.CanCollide = false
  112. prt8.BrickColor = BrickColor.new("Black")
  113. prt8.Name = "Shell3"
  114. prt8.Size = Vector3.new(1,1,1)
  115. prt8.Position = Torso.Position
  116. local prt9 = Instance.new("Part")
  117. prt9.formFactor = 1
  118. prt9.Parent = model1
  119. prt9.CanCollide = false
  120. prt9.BrickColor = BrickColor.new("Black")
  121. prt9.Name = "Shell4"
  122. prt9.Size = Vector3.new(1,1,1)
  123. prt9.Position = Torso.Position
  124. local prt10 = Instance.new("Part")
  125. prt10.formFactor = 1
  126. prt10.Parent = model1
  127. prt10.CanCollide = false
  128. prt10.BrickColor = BrickColor.new("Black")
  129. prt10.Name = "Shell5"
  130. prt10.Size = Vector3.new(1,1,1)
  131. prt10.Position = Torso.Position
  132. local prt11 = Instance.new("Part")
  133. prt11.formFactor = 1
  134. prt11.Parent = model1
  135. prt11.CanCollide = false
  136. prt11.BrickColor = BrickColor.new("Black")
  137. prt11.Name = "Shell6"
  138. prt11.Size = Vector3.new(1,1,1)
  139. prt11.Position = Torso.Position
  140. local prt12 = Instance.new("Part")
  141. prt12.formFactor = 1
  142. prt12.Parent = model1
  143. prt12.CanCollide = false
  144. prt12.BrickColor = BrickColor.new("Medium stone grey")
  145. prt12.Name = "Gun1"
  146. prt12.Size = Vector3.new(1,2,1)
  147. prt12.Position = Torso.Position
  148. local prt13 = Instance.new("Part")
  149. prt13.formFactor = 1
  150. prt13.Parent = model1
  151. prt13.CanCollide = false
  152. prt13.BrickColor = BrickColor.new("Medium stone grey")
  153. prt13.Name = "Gun2"
  154. prt13.Size = Vector3.new(1,1,1)
  155. prt13.Position = Torso.Position
  156. local prt13a = Instance.new("Part")
  157. prt13a.formFactor = 1
  158. prt13a.Parent = model1
  159. prt13a.CanCollide = false
  160. prt13a.BrickColor = BrickColor.new("Black")
  161. prt13a.Name = "Gun3"
  162. prt13a.Size = Vector3.new(1,1,1)
  163. prt13a.Position = Torso.Position
  164. local prt14 = Instance.new("Part")
  165. prt14.formFactor = 1
  166. prt14.Parent = model1
  167. prt14.CanCollide = false
  168. prt14.BrickColor = BrickColor.new("Medium stone grey")
  169. prt14.Name = "Trigger1"
  170. prt14.Size = Vector3.new(1,1,1)
  171. prt14.Position = Torso.Position
  172. local prt15 = Instance.new("Part")
  173. prt15.formFactor = 1
  174. prt15.Parent = model1
  175. prt15.CanCollide = false
  176. prt15.BrickColor = BrickColor.new("Medium stone grey")
  177. prt15.Name = "Trigger2"
  178. prt15.Size = Vector3.new(1,1,1)
  179. prt15.Position = Torso.Position
  180. local prt16 = Instance.new("Part")
  181. prt16.formFactor = 1
  182. prt16.Parent = model2
  183. prt16.Reflectance = 0.2
  184. prt16.CanCollide = false
  185. prt16.BrickColor = BrickColor.new("Black")
  186. prt16.Name = "CannonHandle1"
  187. prt16.Size = Vector3.new(1,2,1)
  188. prt16.Position = Torso.Position
  189. local prt17 = Instance.new("Part")
  190. prt17.formFactor = 1
  191. prt17.Parent = model2
  192. prt17.Reflectance = 0.2
  193. prt17.CanCollide = false
  194. prt17.BrickColor = BrickColor.new("Black")
  195. prt17.Name = "CannonHandle2"
  196. prt17.Size = Vector3.new(1,1,1)
  197. prt17.Position = Torso.Position
  198. local prt18 = Instance.new("Part")
  199. prt18.formFactor = 1
  200. prt18.Parent = model2
  201. prt18.Reflectance = 0.2
  202. prt18.CanCollide = false
  203. prt18.BrickColor = BrickColor.new("Black")
  204. prt18.Name = "CannonPart1"
  205. prt18.Size = Vector3.new(1,2,1)
  206. prt18.Position = Torso.Position
  207. local prt19 = Instance.new("Part")
  208. prt19.formFactor = 1
  209. prt19.Parent = model2
  210. prt19.Reflectance = 0.2
  211. prt19.CanCollide = false
  212. prt19.BrickColor = BrickColor.new("Black")
  213. prt19.Name = "CannonPart2"
  214. prt19.Size = Vector3.new(1,2,1)
  215. prt19.Position = Torso.Position
  216. local prt20 = Instance.new("Part")
  217. prt20.formFactor = 1
  218. prt20.Parent = model2
  219. prt20.Reflectance = 0.2
  220. prt20.CanCollide = false
  221. prt20.BrickColor = BrickColor.new("White")
  222. prt20.Name = "CannonHandle3"
  223. prt20.Size = Vector3.new(1,2,1)
  224. prt20.Position = Torso.Position
  225. local prt21 = Instance.new("Part")
  226. prt21.formFactor = 1
  227. prt21.Parent = model2
  228. prt21.Reflectance = 0.2
  229. prt21.CanCollide = false
  230. prt21.BrickColor = BrickColor.new("Black")
  231. prt21.Name = "CannonPart3"
  232. prt21.Size = Vector3.new(1,2,1)
  233. prt21.Position = Torso.Position
  234. local prt22 = Instance.new("Part")
  235. prt22.formFactor = 1
  236. prt22.Parent = model2
  237. prt22.Reflectance = 0.2
  238. prt22.CanCollide = false
  239. prt22.BrickColor = BrickColor.new("Black")
  240. prt22.Name = "CannonPart4"
  241. prt22.Size = Vector3.new(1,2,1)
  242. prt22.Position = Torso.Position
  243. local prt23 = Instance.new("Part")
  244. prt23.formFactor = 1
  245. prt23.Parent = model2
  246. prt23.Reflectance = 0.2
  247. prt23.CanCollide = false
  248. prt23.BrickColor = BrickColor.new("Medium stone grey")
  249. prt23.Name = "CannonPart5"
  250. prt23.Size = Vector3.new(1,1,1)
  251. prt23.Position = Torso.Position
  252. local prt24 = Instance.new("Part")
  253. prt24.formFactor = 1
  254. prt24.Parent = model2
  255. prt24.Reflectance = 0
  256. prt24.CanCollide = false
  257. prt24.BrickColor = BrickColor.new("Black")
  258. prt24.Name = "CannonPart6"
  259. prt24.Size = Vector3.new(1,1,1)
  260. prt24.Position = Torso.Position
  261. local prt25 = Instance.new("Part")
  262. prt25.formFactor = 1
  263. prt25.Parent = model2
  264. prt25.Reflectance = 0.2
  265. prt25.CanCollide = false
  266. prt25.BrickColor = BrickColor.new("Medium stone grey")
  267. prt25.Name = "CannonPart7"
  268. prt25.Size = Vector3.new(1,2,1)
  269. prt25.Position = Torso.Position
  270. local prt26 = Instance.new("Part")
  271. prt26.formFactor = 1
  272. prt26.Parent = model2
  273. prt26.Reflectance = 0.2
  274. prt26.CanCollide = false
  275. prt26.BrickColor = BrickColor.new("Medium stone grey")
  276. prt26.Name = "CannonPart8"
  277. prt26.Size = Vector3.new(1,1,1)
  278. prt26.Position = Torso.Position
  279. local prt27 = Instance.new("Part")
  280. prt27.formFactor = 1
  281. prt27.Parent = model2
  282. prt27.Reflectance = 0
  283. prt27.CanCollide = false
  284. prt27.BrickColor = BrickColor.new("Black")
  285. prt27.Name = "CannonPart9"
  286. prt27.Size = Vector3.new(1,1,1)
  287. prt27.Position = Torso.Position
  288. local prt28 = Instance.new("Part")
  289. prt28.formFactor = 1
  290. prt28.Parent = model2
  291. prt28.Reflectance = 0
  292. prt28.CanCollide = false
  293. prt28.BrickColor = BrickColor.new("Black")
  294. prt28.Name = "CannonPart10"
  295. prt28.Size = Vector3.new(1,1,1)
  296. prt28.Position = Torso.Position
  297. local prt29 = Instance.new("Part")
  298. prt29.formFactor = 1
  299. prt29.Parent = model2
  300. prt29.Reflectance = 0.2
  301. prt29.CanCollide = false
  302. prt29.BrickColor = BrickColor.new("Black")
  303. prt29.Name = "CannonPart11"
  304. prt29.Size = Vector3.new(1,2,1)
  305. prt29.Position = Torso.Position
  306. local prt30 = Instance.new("Part")
  307. prt30.formFactor = 1
  308. prt30.Parent = model2
  309. prt30.Reflectance = 0
  310. prt30.CanCollide = false
  311. prt30.BrickColor = BrickColor.new("Bright red")
  312. prt30.Name = "CannonPart12"
  313. prt30.Size = Vector3.new(1,2,1)
  314. prt30.Position = Torso.Position
  315. local prt31 = Instance.new("Part")
  316. prt31.formFactor = 1
  317. prt31.Parent = model2
  318. prt31.Reflectance = 0
  319. prt31.CanCollide = false
  320. prt31.BrickColor = BrickColor.new("Black")
  321. prt31.Name = "CannonPart13"
  322. prt31.Size = Vector3.new(1,2,1)
  323. prt31.Position = Torso.Position
  324. local prt32 = Instance.new("Part")
  325. prt32.formFactor = 1
  326. prt32.Parent = model3
  327. prt32.Reflectance = 0
  328. prt32.CanCollide = false
  329. prt32.BrickColor = BrickColor.new("Bright blue")
  330. prt32.Name = "LRhandle1"
  331. prt32.Size = Vector3.new(1,1,1)
  332. prt32.Position = Torso.Position
  333. local prt32a = Instance.new("Part")
  334. prt32a.formFactor = 1
  335. prt32a.Parent = model3
  336. prt32a.Reflectance = 0
  337. prt32a.CanCollide = false
  338. prt32a.BrickColor = BrickColor.new("Black")
  339. prt32a.Name = "LRhandle1a"
  340. prt32a.Size = Vector3.new(1,1,1)
  341. prt32a.Position = Torso.Position
  342. local prt33 = Instance.new("Part")
  343. prt33.formFactor = 1
  344. prt33.Parent = model3
  345. prt33.Reflectance = 0
  346. prt33.CanCollide = false
  347. prt33.BrickColor = BrickColor.new("Bright blue")
  348. prt33.Name = "LRhandle2"
  349. prt33.Size = Vector3.new(1,1,1)
  350. prt33.Position = Torso.Position
  351. local prt34 = Instance.new("Part")
  352. prt34.formFactor = 1
  353. prt34.Parent = model3
  354. prt34.Reflectance = 0
  355. prt34.CanCollide = false
  356. prt34.BrickColor = BrickColor.new("Bright blue")
  357. prt34.Name = "LRPart1"
  358. prt34.Size = Vector3.new(1,2,1)
  359. prt34.Position = Torso.Position
  360. local prt35 = Instance.new("Part")
  361. prt35.formFactor = 1
  362. prt35.Parent = model3
  363. prt35.Reflectance = 0
  364. prt35.CanCollide = false
  365. prt35.BrickColor = BrickColor.new("Bright blue")
  366. prt35.Name = "LRPart2"
  367. prt35.Size = Vector3.new(1,1,1)
  368. prt35.Position = Torso.Position
  369. local prt36 = Instance.new("Part")
  370. prt36.formFactor = 1
  371. prt36.Parent = model3
  372. prt36.Reflectance = 0
  373. prt36.Reflectance = 0.2
  374. prt36.CanCollide = false
  375. prt36.BrickColor = BrickColor.new("White")
  376. prt36.Name = "LRPart3"
  377. prt36.Size = Vector3.new(1,1,1)
  378. prt36.Position = Torso.Position
  379. local prt37 = Instance.new("Part")
  380. prt37.formFactor = 1
  381. prt37.Parent = model3
  382. prt37.Reflectance = 0
  383. prt37.Reflectance = 0.2
  384. prt37.CanCollide = false
  385. prt37.BrickColor = BrickColor.new("New Yeller")
  386. prt37.Name = "LRPart4"
  387. prt37.Size = Vector3.new(1,1,1)
  388. prt37.Position = Torso.Position
  389. local prt38 = Instance.new("Part")
  390. prt38.formFactor = 1
  391. prt38.Parent = model3
  392. prt38.Reflectance = 0
  393. prt38.CanCollide = false
  394. prt38.BrickColor = BrickColor.new("White")
  395. prt38.Name = "LRDesign1"
  396. prt38.Size = Vector3.new(1,1,1)
  397. prt38.Position = Torso.Position
  398. local prt39 = Instance.new("Part")
  399. prt39.formFactor = 1
  400. prt39.Parent = model3
  401. prt39.Reflectance = 0
  402. prt39.CanCollide = false
  403. prt39.BrickColor = BrickColor.new("Bright blue")
  404. prt39.Name = "LRDesign2"
  405. prt39.Size = Vector3.new(1,1,1)
  406. prt39.Position = Torso.Position
  407. local prt40 = Instance.new("Part")
  408. prt40.formFactor = 1
  409. prt40.Parent = model3
  410. prt40.Reflectance = 0
  411. prt40.Transparency = 0.4
  412. prt40.CanCollide = false
  413. prt40.BrickColor = BrickColor.new("Medium stone grey")
  414. prt40.Name = "TSPart1"
  415. prt40.Size = Vector3.new(1,1,1)
  416. prt40.Position = Torso.Position
  417. local msh1 = Instance.new("BlockMesh")
  418. msh1.Parent = prt1
  419. msh1.Scale = Vector3.new(0.5,2,0.5)
  420. local msh2 = Instance.new("BlockMesh")
  421. msh2.Parent = prt2
  422. msh2.Scale = Vector3.new(1,1,0.7)
  423. local msh3 = Instance.new("BlockMesh")
  424. msh3.Parent = prt3
  425. msh3.Scale = Vector3.new(0.7,0.8,0.12)
  426. local msh4 = Instance.new("SpecialMesh")
  427. msh4.Parent = prt4
  428. msh4.MeshType = "Wedge"
  429. msh4.Scale = Vector3.new(0.12, 1, 1.1)
  430. local msh5 = Instance.new("CylinderMesh")
  431. msh5.Parent = prt5
  432. msh5.Scale = Vector3.new(1,1,1)
  433. local msh6 = Instance.new("CylinderMesh")
  434. msh6.Parent = prt6
  435. msh6.Scale = Vector3.new(1.1,1.1,0.3)
  436. local msh7 = Instance.new("CylinderMesh")
  437. msh7.Parent = prt7
  438. msh7.Scale = Vector3.new(1.1,1.1,0.3)
  439. local msh8 = Instance.new("CylinderMesh")
  440. msh8.Parent = prt8
  441. msh8.Scale = Vector3.new(1.1,1.1,0.3)
  442. local msh9 = Instance.new("CylinderMesh")
  443. msh9.Parent = prt9
  444. msh9.Scale = Vector3.new(1.1,1.1,0.3)
  445. local msh10 = Instance.new("CylinderMesh")
  446. msh10.Parent = prt10
  447. msh10.Scale = Vector3.new(1.1,1.1,0.3)
  448. local msh11 = Instance.new("CylinderMesh")
  449. msh11.Parent = prt11
  450. msh11.Scale = Vector3.new(1.1,1.1,0.3)
  451. local msh12 = Instance.new("CylinderMesh")
  452. msh12.Parent = prt12
  453. msh12.Scale = Vector3.new(1.2,1,0.4)
  454. local msh13 = Instance.new("CylinderMesh")
  455. msh13.Parent = prt13
  456. msh13.Scale = Vector3.new(0.5,0.5,0.5)
  457. local msh13a = Instance.new("CylinderMesh")
  458. msh13a.Parent = prt13a
  459. msh13a.Scale = Vector3.new(0.4,0.51,0.4)
  460. local msh14 = Instance.new("SpecialMesh")
  461. msh14.Parent = prt14
  462. msh14.MeshId = "http://www.roblox.com/asset/?id=3270017"
  463. msh14.Scale = Vector3.new(0.5,0.5,0.5)
  464. local msh15 = Instance.new("BlockMesh")
  465. msh15.Parent = prt15
  466. msh15.Scale = Vector3.new(0.1,0.4,0.1)
  467. local msh16 = Instance.new("BlockMesh")
  468. msh16.Parent = prt16
  469. msh16.Scale = Vector3.new(0.5,0.6,0.5)
  470. local msh17 = Instance.new("BlockMesh")
  471. msh17.Parent = prt17
  472. msh17.Scale = Vector3.new(0.6,0.3,0.6)
  473. local msh18 = Instance.new("BlockMesh")
  474. msh18.Parent = prt18
  475. msh18.Scale = Vector3.new(0.7,0.5,0.7)
  476. local msh19 = Instance.new("BlockMesh")
  477. msh19.Parent = prt19
  478. msh19.Scale = Vector3.new(0.7,0.8,0.8)
  479. local msh20 = Instance.new("BlockMesh")
  480. msh20.Parent = prt20
  481. msh20.Scale = Vector3.new(0.6,0.8,0.7)
  482. local msh21 = Instance.new("BlockMesh")
  483. msh21.Parent = prt21
  484. msh21.Scale = Vector3.new(0.7,0.65,0.7)
  485. local msh22 = Instance.new("BlockMesh")
  486. msh22.Parent = prt22
  487. msh22.Scale = Vector3.new(0.7,1.2,0.7)
  488. local msh23 = Instance.new("CylinderMesh")
  489. msh23.Parent = prt23
  490. msh23.Scale = Vector3.new(0.5,0.5,0.5)
  491. local msh24 = Instance.new("CylinderMesh")
  492. msh24.Parent = prt24
  493. msh24.Scale = Vector3.new(0.4,0.51,0.4)
  494. local msh25 = Instance.new("CylinderMesh")
  495. msh25.Parent = prt25
  496. msh25.Scale = Vector3.new(0.5,0.9,0.5)
  497. local msh26 = Instance.new("CylinderMesh")
  498. msh26.Parent = prt26
  499. msh26.Scale = Vector3.new(0.4,0.5,0.4)
  500. local msh27 = Instance.new("CylinderMesh")
  501. msh27.Parent = prt27
  502. msh27.Scale = Vector3.new(0.3,0.51,0.3)
  503. local msh28 = Instance.new("CylinderMesh")
  504. msh28.Parent = prt28
  505. msh28.Scale = Vector3.new(0.6,0.51,0.6)
  506. local msh29 = Instance.new("BlockMesh")
  507. msh29.Parent = prt29
  508. msh29.Scale = Vector3.new(0.7,0.65,1)
  509. local msh30 = Instance.new("CylinderMesh")
  510. msh30.Parent = prt30
  511. msh30.Scale = Vector3.new(1,0.65,1.2)
  512. local msh31 = Instance.new("BlockMesh")
  513. msh31.Parent = prt31
  514. msh31.Scale = Vector3.new(0.9,0.9,0.5)
  515. local msh32 = Instance.new("CylinderMesh")
  516. msh32.Parent = prt32
  517. msh32.Scale = Vector3.new(1.5,1.5,1.5)
  518. local msh32a = Instance.new("CylinderMesh")
  519. msh32a.Parent = prt32a
  520. msh32a.Scale = Vector3.new(1,1.6,1)
  521. local msh33 = Instance.new("BlockMesh")
  522. msh33.Parent = prt33
  523. msh33.Scale = Vector3.new(1.1,1.1,1.1)
  524. local msh34 = Instance.new("BlockMesh")
  525. msh34.Parent = prt34
  526. msh34.Scale = Vector3.new(1.4,1.1,1.4)
  527. local msh35 = Instance.new("SpecialMesh")
  528. msh35.MeshType = "Wedge"
  529. msh35.Parent = prt35
  530. msh35.Scale = Vector3.new(1.4,1.3,1.4)
  531. local msh36 = Instance.new("CylinderMesh")
  532. msh36.Parent = prt36
  533. msh36.Scale = Vector3.new(1.3,1.2,1.3)
  534. local msh37 = Instance.new("SpecialMesh")
  535. msh37.MeshType = "Sphere"
  536. msh37.Parent = prt37
  537. msh37.Scale = Vector3.new(0.8,0.8,0.8)
  538. local msh38 = Instance.new("BlockMesh")
  539. msh38.Parent = prt38
  540. msh38.Scale = Vector3.new(1.5,0.7,1.5)
  541. local msh39 = Instance.new("CylinderMesh")
  542. msh39.Parent = prt39
  543. msh39.Scale = Vector3.new(0.7,1.3,0.7)
  544. local msh40 = Instance.new("BlockMesh")
  545. msh40.Parent = prt40
  546. msh40.Scale = Vector3.new(0.5,0.5,0.5)
  547. local wld1 = Instance.new("Weld")
  548. wld1.Parent = prt1
  549. wld1.Part0 = prt1
  550. wld1.Part1 = Torso
  551. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(0.3,-1.55, -0.75)
  552. local wld2 = Instance.new("Weld")
  553. wld2.Parent = prt2
  554. wld2.Part0 = prt2
  555. wld2.Part1 = prt1
  556. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(0,1,0)
  557. local wld3 = Instance.new("Weld")
  558. wld3.Parent = prt3
  559. wld3.Part0 = prt3
  560. wld3.Part1 = prt2
  561. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.7,0)
  562. local wld4 = Instance.new("Weld")
  563. wld4.Parent = prt4
  564. wld4.Part0 = prt4
  565. wld4.Part1 = prt3
  566. wld4.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(90),0) * CFrame.new(0.2,2,0)
  567. local wld5 = Instance.new("Weld")
  568. wld5.Parent = prt5
  569. wld5.Part0 = prt5
  570. wld5.Part1 = prt2
  571. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.4,0.5,0)
  572. local wld6 = Instance.new("Weld")
  573. wld6.Parent = prt6
  574. wld6.Part0 = prt6
  575. wld6.Part1 = prt5
  576. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.4,0,0)
  577. local wld7 = Instance.new("Weld")
  578. wld7.Parent = prt7
  579. wld7.Part0 = prt7
  580. wld7.Part1 = prt5
  581. wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.2,0,-0.3)
  582. local wld8 = Instance.new("Weld")
  583. wld8.Parent = prt8
  584. wld8.Part0 = prt8
  585. wld8.Part1 = prt5
  586. wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.2,0,-0.3)
  587. local wld9 = Instance.new("Weld")
  588. wld9.Parent = prt9
  589. wld9.Part0 = prt9
  590. wld9.Part1 = prt5
  591. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.4,0,0)
  592. local wld10 = Instance.new("Weld")
  593. wld10.Parent = prt10
  594. wld10.Part0 = prt10
  595. wld10.Part1 = prt5
  596. wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.2,0,0.3)
  597. local wld11 = Instance.new("Weld")
  598. wld11.Parent = prt11
  599. wld11.Part0 = prt11
  600. wld11.Part1 = prt5
  601. wld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.2,0,0.3)
  602. local wld12 = Instance.new("Weld")
  603. wld12.Parent = prt12
  604. wld12.Part0 = prt12
  605. wld12.Part1 = prt3
  606. wld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  607. local wld13 = Instance.new("Weld")
  608. wld13.Parent = prt13
  609. wld13.Part0 = prt13
  610. wld13.Part1 = prt12
  611. wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.3,0)
  612. local wld13a = Instance.new("Weld")
  613. wld13a.Parent = prt13a
  614. wld13a.Part0 = prt13a
  615. wld13a.Part1 = prt13
  616. wld13a.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  617. local wld14 = Instance.new("Weld")
  618. wld14.Parent = prt14
  619. wld14.Part0 = prt14
  620. wld14.Part1 = prt2
  621. wld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.5,-0.4,0)
  622. local wld15 = Instance.new("Weld")
  623. wld15.Parent = prt15
  624. wld15.Part0 = prt15
  625. wld15.Part1 = prt14
  626. wld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(120)) * CFrame.new(0,0,0)
  627. local wld16 = Instance.new("Weld")
  628. wld16.Parent = prt16
  629. wld16.Part0 = prt16
  630. wld16.Part1 = Torso
  631. wld16.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) * CFrame.new(0,-0.2,-0.2)
  632. local wld17 = Instance.new("Weld")
  633. wld17.Parent = prt17
  634. wld17.Part0 = prt17
  635. wld17.Part1 = prt16
  636. wld17.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.45,0)
  637. local wld18 = Instance.new("Weld")
  638. wld18.Parent = prt18
  639. wld18.Part0 = prt18
  640. wld18.Part1 = prt16
  641. wld18.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1,0)
  642. local wld19 = Instance.new("Weld")
  643. wld19.Parent = prt19
  644. wld19.Part0 = prt19
  645. wld19.Part1 = prt18
  646. wld19.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,-0.4,-0.45)
  647. local wld20 = Instance.new("Weld")
  648. wld20.Parent = prt20
  649. wld20.Part0 = prt20
  650. wld20.Part1 = prt19
  651. wld20.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0.5)
  652. local wld21 = Instance.new("Weld")
  653. wld21.Parent = prt21
  654. wld21.Part0 = prt21
  655. wld21.Part1 = prt19
  656. wld21.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1.1,0.25)
  657. local wld22 = Instance.new("Weld")
  658. wld22.Parent = prt22
  659. wld22.Part0 = prt22
  660. wld22.Part1 = prt18
  661. wld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,-0.4,1.1)
  662. local wld23 = Instance.new("Weld")
  663. wld23.Parent = prt23
  664. wld23.Part0 = prt23
  665. wld23.Part1 = prt22
  666. wld23.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.3,0)
  667. local wld24 = Instance.new("Weld")
  668. wld24.Parent = prt24
  669. wld24.Part0 = prt24
  670. wld24.Part1 = prt23
  671. wld24.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  672. local wld25 = Instance.new("Weld")
  673. wld25.Parent = prt25
  674. wld25.Part0 = prt25
  675. wld25.Part1 = prt18
  676. wld25.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,0.3,1.1)
  677. local wld26 = Instance.new("Weld")
  678. wld26.Parent = prt26
  679. wld26.Part0 = prt26
  680. wld26.Part1 = prt25
  681. wld26.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1,0)
  682. local wld27 = Instance.new("Weld")
  683. wld27.Parent = prt27
  684. wld27.Part0 = prt27
  685. wld27.Part1 = prt26
  686. wld27.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  687. local wld28 = Instance.new("Weld")
  688. wld28.Parent = prt28
  689. wld28.Part0 = prt28
  690. wld28.Part1 = prt25
  691. wld28.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  692. local wld29 = Instance.new("Weld")
  693. wld29.Parent = prt29
  694. wld29.Part0 = prt29
  695. wld29.Part1 = prt21
  696. wld29.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0.8)
  697. local wld30 = Instance.new("Weld")
  698. wld30.Parent = prt30
  699. wld30.Part0 = prt30
  700. wld30.Part1 = prt29
  701. wld30.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,0,-0.2)
  702. local wld31 = Instance.new("Weld")
  703. wld31.Parent = prt31
  704. wld31.Part0 = prt31
  705. wld31.Part1 = prt18
  706. wld31.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,-0.4,0.5)
  707. local wld32 = Instance.new("Weld")
  708. wld32.Parent = prt32
  709. wld32.Part0 = prt32
  710. wld32.Part1 = RightArm
  711. wld32.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,1.2,0)
  712. local wld32a = Instance.new("Weld")
  713. wld32a.Parent = prt32a
  714. wld32a.Part0 = prt32a
  715. wld32a.Part1 = prt32
  716. wld32a.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  717. local wld33 = Instance.new("Weld")
  718. wld33.Parent = prt33
  719. wld33.Part0 = prt33
  720. wld33.Part1 = RightArm
  721. wld33.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0.6,0)
  722. local wld34 = Instance.new("Weld")
  723. wld34.Parent = prt34
  724. wld34.Part0 = prt34
  725. wld34.Part1 = prt32
  726. wld34.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(-1,0,0)
  727. local wld35 = Instance.new("Weld")
  728. wld35.Parent = prt35
  729. wld35.Part0 = prt35
  730. wld35.Part1 = prt34
  731. wld35.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-2,0)
  732. local wld36 = Instance.new("Weld")
  733. wld36.Parent = prt36
  734. wld36.Part0 = prt36
  735. wld36.Part1 = prt35
  736. wld36.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  737. local wld37 = Instance.new("Weld")
  738. wld37.Parent = prt37
  739. wld37.Part0 = prt37
  740. wld37.Part1 = prt36
  741. wld37.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.8,0)
  742. local wld38 = Instance.new("Weld")
  743. wld38.Parent = prt38
  744. wld38.Part0 = prt38
  745. wld38.Part1 = prt34
  746. wld38.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,0)
  747. local wld39 = Instance.new("Weld")
  748. wld39.Parent = prt39
  749. wld39.Part0 = prt39
  750. wld39.Part1 = prt38
  751. wld39.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,-0.4)
  752. local wld40 = Instance.new("Weld")
  753. wld40.Parent = prt40
  754. wld40.Part0 = prt40
  755. wld40.Part1 = LeftLeg
  756. wld40.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1,0)
  757. if (script.Parent.className ~= "HopperBin") then
  758. Tool = Instance.new("HopperBin")
  759. Tool.Parent = Backpack
  760. Tool.Name = "AccountMoniter's GunBlade" --Yes. MY, GunBlade.
  761. Tool.TextureId = "" --Haven't made a picture for it yet. I soon will when i'm done with every weapon :3
  762. script.Parent = Tool
  763. end
  764. Bin = script.Parent
  765. --[[Main Functions]]--
  766. function unequipweld()
  767. wld1.Part1 = Torso
  768. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(0.3,-1.55, -0.75)
  769. end
  770. function unequipweld2()
  771. wld16.Part1 = Torso
  772. wld16.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) * CFrame.new(0,-0.2,-0.2)
  773. end
  774. function equipweld()
  775. wld1.Part1 = LeftArm
  776. wld1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  777. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), -0.7, -1.57) * CFrame.new(0, 1, 0)
  778. end
  779. function equipweld2()
  780. wld16.Part1 = LeftArm
  781. wld16.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  782. wld16.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0, 1, 0)
  783. end
  784. function hideanim()
  785. for i = 0 , 1 , 0.07 do
  786. wait(0)
  787. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5*i,0,1*i)
  788. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  789. --wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), math.rad(720)*i, -1.57) * CFrame.new(0, 1, 0)
  790. end
  791. unequipweld()
  792. wait(0.2)
  793. for i = 0 , 1 , 0.07 do
  794. wait(0)
  795. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-3.5*i+3.5,0,-1*i+1)
  796. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  797. end
  798. end
  799. function equipanim()
  800. for i = 0 , 1 , 0.07 do
  801. wait(0)
  802. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5*i,0,1*i)
  803. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  804. end
  805. equipweld()
  806. wait(0.1)
  807. for i = 0 , 1 , 0.07 do
  808. wait(0)
  809. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-3.5*i+3.5,0,-1*i+1)
  810. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  811. end
  812. wait(0.3)
  813. for i = 0 , 1 , 0.07 do
  814. wait(0)
  815. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,0)
  816. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  817. end
  818. end
  819. function oneslash()
  820. for i = 0 , 1 , 0.07 do
  821. wait(0)
  822. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i+1,0,0)
  823. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  824. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0.7*i-0.7, -1.57) * CFrame.new(0, 1, 0)
  825. end
  826. ss(prt1,1)
  827. local con = prt3.Touched:connect(OT)
  828. local con2 = prt4.Touched:connect(OT)
  829. for i = 0 , 1 , 0.1 do
  830. wait(0)
  831. effect()
  832. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-3.5*i+3,0,0)
  833. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  834. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), -1*i, -1.57) * CFrame.new(0, 1, 0)
  835. end
  836. con:disconnect()
  837. con2:disconnect()
  838. end
  839. function twoslash()
  840. ss(prt1,1)
  841. local con = prt3.Touched:connect(OT)
  842. local con2 = prt4.Touched:connect(OT)
  843. for i = 0 , 1 , 0.1 do
  844. wait(0)
  845. effect()
  846. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3*i-0.5,0,0)
  847. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  848. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 2*i-1, -1.57) * CFrame.new(0, 1, 0)
  849. end
  850. con:disconnect()
  851. con2:disconnect()
  852. for i = 0 , 1 , 0.07 do
  853. wait(0)
  854. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i+2.5,0,0)
  855. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  856. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), -1.7*i+1, -1.57) * CFrame.new(0, 1, 0)
  857. end
  858. end
  859. function unload() --Possibly the hardest attack made for the GunBlade >.<
  860. for i = 0 , 1 , 0.15 do
  861. wait(0)
  862. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.4*i,0.5*i,-0.5*i)
  863. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  864. end
  865. local bullet1 = Instance.new("Part")
  866. bullet1.formFactor = 1
  867. bullet1.Parent = model1
  868. bullet1.CanCollide = false
  869. bullet1.BrickColor = BrickColor.new("New Yeller")
  870. bullet1.Name = "Bullet1"
  871. bullet1.Size = Vector3.new(1,1,1)
  872. bullet1.Position = Torso.Position
  873. local bullet2 = Instance.new("Part")
  874. bullet2.formFactor = 1
  875. bullet2.Parent = model1
  876. bullet2.CanCollide = false
  877. bullet2.BrickColor = BrickColor.new("New Yeller")
  878. bullet2.Name = "Bullet2"
  879. bullet2.Size = Vector3.new(1,1,1)
  880. bullet2.Position = Torso.Position
  881. local bullet3 = Instance.new("Part")
  882. bullet3.formFactor = 1
  883. bullet3.Parent = model1
  884. bullet3.CanCollide = false
  885. bullet3.BrickColor = BrickColor.new("New Yeller")
  886. bullet3.Name = "Bullet3"
  887. bullet3.Size = Vector3.new(1,1,1)
  888. bullet3.Position = Torso.Position
  889. local bullet4 = Instance.new("Part")
  890. bullet4.formFactor = 1
  891. bullet4.Parent = model1
  892. bullet4.CanCollide = false
  893. bullet4.BrickColor = BrickColor.new("New Yeller")
  894. bullet4.Name = "Bullet4"
  895. bullet4.Size = Vector3.new(1,1,1)
  896. bullet4.Position = Torso.Position
  897. local bullet5 = Instance.new("Part")
  898. bullet5.formFactor = 1
  899. bullet5.Parent = model1
  900. bullet5.CanCollide = false
  901. bullet5.BrickColor = BrickColor.new("New Yeller")
  902. bullet5.Name = "Bullet5"
  903. bullet5.Size = Vector3.new(1,1,1)
  904. bullet5.Position = Torso.Position
  905. local bullet6 = Instance.new("Part")
  906. bullet6.formFactor = 1
  907. bullet6.Parent = model1
  908. bullet6.CanCollide = false
  909. bullet6.BrickColor = BrickColor.new("New Yeller")
  910. bullet6.Name = "Bullet6"
  911. bullet6.Size = Vector3.new(1,1,1)
  912. bullet6.Position = Torso.Position
  913. local bulmesh1 = Instance.new("CylinderMesh")
  914. bulmesh1.Parent = bullet1
  915. bulmesh1.Scale = Vector3.new(1.1,1.1,0.3)
  916. local bulmesh2 = Instance.new("CylinderMesh")
  917. bulmesh2.Parent = bullet2
  918. bulmesh2.Scale = Vector3.new(1.1,1.1,0.3)
  919. local bulmesh3 = Instance.new("CylinderMesh")
  920. bulmesh3.Parent = bullet3
  921. bulmesh3.Scale = Vector3.new(1.1,1.1,0.3)
  922. local bulmesh4 = Instance.new("CylinderMesh")
  923. bulmesh4.Parent = bullet4
  924. bulmesh4.Scale = Vector3.new(1.1,1.1,0.3)
  925. local bulmesh5 = Instance.new("CylinderMesh")
  926. bulmesh5.Parent = bullet5
  927. bulmesh5.Scale = Vector3.new(1.1,1.1,0.3)
  928. local bulmesh6 = Instance.new("CylinderMesh")
  929. bulmesh6.Parent = bullet6
  930. bulmesh6.Scale = Vector3.new(1.1,1.1,0.3)
  931. local bulweld1 = Instance.new("Weld")
  932. bulweld1.Parent = bullet1
  933. bulweld1.Part0 = bullet1
  934. bulweld1.Part1 = RightArm
  935. bulweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.2,1,0.3)
  936. local bulweld2 = Instance.new("Weld")
  937. bulweld2.Parent = bullet2
  938. bulweld2.Part0 = bullet2
  939. bulweld2.Part1 = RightArm
  940. bulweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.2,1,0)
  941. local bulweld3 = Instance.new("Weld")
  942. bulweld3.Parent = bullet3
  943. bulweld3.Part0 = bullet3
  944. bulweld3.Part1 = RightArm
  945. bulweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.2,1,-0.3)
  946. local bulweld4 = Instance.new("Weld")
  947. bulweld4.Parent = bullet4
  948. bulweld4.Part0 = bullet4
  949. bulweld4.Part1 = RightArm
  950. bulweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.2,1,0.3)
  951. local bulweld5 = Instance.new("Weld")
  952. bulweld5.Parent = bullet5
  953. bulweld5.Part0 = bullet5
  954. bulweld5.Part1 = RightArm
  955. bulweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.2,1,0)
  956. local bulweld6 = Instance.new("Weld")
  957. bulweld6.Parent = bullet6
  958. bulweld6.Part0 = bullet6
  959. bulweld6.Part1 = RightArm
  960. bulweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.2,1,-0.3)
  961. for i = 0 , 1 , 0.1 do
  962. wait(0)
  963. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), -0.5*i-0.7, -1.57) * CFrame.new(0, 1, 0)
  964. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.1*i+1,1*i,0.7*i)
  965. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  966. RW.C0 = CFrame.new(-0.7*i+1.5,0.5,-0.7*i) * CFrame.fromEulerAnglesXYZ(2*i-0.4,-0.5*i+0.5,-0.5*i-0.5)
  967. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  968. end
  969. bullet1.Parent = nil
  970. prt6.BrickColor = BrickColor.new("New Yeller")
  971. reloadsound(prt1,1)
  972. for i = 0 , 1 , 0.3 do
  973. wait(0)
  974. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.6*i+1.6,0,0.3*i-1)
  975. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  976. end
  977. for i = 0 , 1 , 0.3 do
  978. wait(0)
  979. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(0.6*i-0.6+1.6,0,-0.3*i+0.3-1)
  980. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  981. end
  982. bullet2.Parent = nil
  983. prt7.BrickColor = BrickColor.new("New Yeller")
  984. reloadsound(prt1,1)
  985. for i = 0 , 1 , 0.3 do
  986. wait(0)
  987. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.6*i+1.6,0,0.3*i-1)
  988. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  989. end
  990. for i = 0 , 1 , 0.3 do
  991. wait(0)
  992. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(0.6*i-0.6+1.6,0,-0.3*i+0.3-1)
  993. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  994. end
  995. bullet3.Parent = nil
  996. prt8.BrickColor = BrickColor.new("New Yeller")
  997. reloadsound(prt1,1)
  998. for i = 0 , 1 , 0.3 do
  999. wait(0)
  1000. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.6*i+1.6,0,0.3*i-1)
  1001. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1002. end
  1003. for i = 0 , 1 , 0.3 do
  1004. wait(0)
  1005. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(0.6*i-0.6+1.6,0,-0.3*i+0.3-1)
  1006. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1007. end
  1008. bullet4.Parent = nil
  1009. prt9.BrickColor = BrickColor.new("New Yeller")
  1010. reloadsound(prt1,1)
  1011. for i = 0 , 1 , 0.3 do
  1012. wait(0)
  1013. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.6*i+1.6,0,0.3*i-1)
  1014. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1015. end
  1016. for i = 0 , 1 , 0.3 do
  1017. wait(0)
  1018. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(0.6*i-0.6+1.6,0,-0.3*i+0.3-1)
  1019. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1020. end
  1021. bullet5.Parent = nil
  1022. prt10.BrickColor = BrickColor.new("New Yeller")
  1023. reloadsound(prt1,1)
  1024. for i = 0 , 1 , 0.3 do
  1025. wait(0)
  1026. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.6*i+1.6,0,0.3*i-1)
  1027. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1028. end
  1029. for i = 0 , 1 , 0.3 do
  1030. wait(0)
  1031. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(0.6*i-0.6+1.6,0,-0.3*i+0.3-1)
  1032. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1033. end
  1034. bullet6.Parent = nil
  1035. prt11.BrickColor = BrickColor.new("New Yeller")
  1036. reloadsound(prt1,1)
  1037. for i = 0 , 1 , 0.1 do
  1038. wait(0)
  1039. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0.1*i-0.5-0.7, -1.57) * CFrame.new(0, 1, 0)
  1040. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.47*i+0.1+1,-1*i+1,-0.7*i+0.7)
  1041. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1042. RW.C0 = CFrame.new(-0.8*i+0.8,0.5,-0.3*i-0.7) * CFrame.fromEulerAnglesXYZ(0.3*i+1.6,0,-1)
  1043. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1044. end
  1045. bulletshoot()
  1046. boomeffect()
  1047. prt9.BrickColor = BrickColor.new("Black")
  1048. shootsound(prt1,1.2)
  1049. for i = 0 , 1 , 0.2 do
  1050. wait(0)
  1051. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i+1.57,0,0)
  1052. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1053. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(0.5*i+1.9,0,-1)
  1054. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1055. end
  1056. for i = 0 , 1 , 0.2 do
  1057. wait(0)
  1058. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,1*i,0) * CFrame.new(0.4,0.5,0)
  1059. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.07,0,0)
  1060. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1061. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.4,0,-1)
  1062. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1063. end
  1064. bulletshoot()
  1065. boomeffect()
  1066. prt10.BrickColor = BrickColor.new("Black")
  1067. shootsound(prt1,1.2)
  1068. for i = 0 , 1 , 0.2 do
  1069. wait(0)
  1070. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i+1.57,0,0)
  1071. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1072. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(0.5*i+1.9,0,-1)
  1073. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1074. end
  1075. for i = 0 , 1 , 0.2 do
  1076. wait(0)
  1077. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,1*i+1,0) * CFrame.new(0.4,0.5,0)
  1078. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.07,0,0)
  1079. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1080. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.4,0,-1)
  1081. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1082. end
  1083. bulletshoot()
  1084. boomeffect()
  1085. prt11.BrickColor = BrickColor.new("Black")
  1086. shootsound(prt1,1.2)
  1087. for i = 0 , 1 , 0.2 do
  1088. wait(0)
  1089. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i+1.57,0,0)
  1090. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1091. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(0.5*i+1.9,0,-1)
  1092. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1093. end
  1094. for i = 0 , 1 , 0.2 do
  1095. wait(0)
  1096. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,1*i+2,0) * CFrame.new(0.4,0.5,0)
  1097. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.07,0,0)
  1098. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1099. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.4,0,-1)
  1100. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1101. end
  1102. bulletshoot()
  1103. boomeffect()
  1104. prt6.BrickColor = BrickColor.new("Black")
  1105. shootsound(prt1,1.2)
  1106. for i = 0 , 1 , 0.2 do
  1107. wait(0)
  1108. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i+1.57,0,0)
  1109. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1110. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(0.5*i+1.9,0,-1)
  1111. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1112. end
  1113. for i = 0 , 1 , 0.2 do
  1114. wait(0)
  1115. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,1*i+3,0) * CFrame.new(0.4,0.5,0)
  1116. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.07,0,0)
  1117. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1118. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.4,0,-1)
  1119. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1120. end
  1121. bulletshoot()
  1122. boomeffect()
  1123. prt7.BrickColor = BrickColor.new("Black")
  1124. shootsound(prt1,1.2)
  1125. for i = 0 , 1 , 0.2 do
  1126. wait(0)
  1127. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i+1.57,0,0)
  1128. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1129. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(0.5*i+1.9,0,-1)
  1130. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1131. end
  1132. for i = 0 , 1 , 0.2 do
  1133. wait(0)
  1134. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,1*i+4,0) * CFrame.new(0.4,0.5,0)
  1135. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.07,0,0)
  1136. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1137. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.4,0,-1)
  1138. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1139. end
  1140. bulletshoot()
  1141. boomeffect()
  1142. prt8.BrickColor = BrickColor.new("Black")
  1143. shootsound2(prt1,1.2)
  1144. for i = 0 , 1 , 0.2 do
  1145. wait(0)
  1146. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i+1.57,0,0)
  1147. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1148. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(0.5*i+1.9,0,-1)
  1149. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1150. end
  1151. for i = 0 , 1 , 0.2 do
  1152. wait(0)
  1153. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,1*i+5,0) * CFrame.new(0.4,0.5,0)
  1154. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.07,0,0)
  1155. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1156. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.4,0,-1)
  1157. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1158. end
  1159. for i = 0 , 1 , 0.1 do
  1160. wait(0)
  1161. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), -0.5*i+0.5-0.7, -1.57) * CFrame.new(0, 1, 0)
  1162. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.4,0.5,0)
  1163. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.57*i+1.57,0,0)
  1164. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1165. RW.C0 = CFrame.new(1.5*i,0.5,1*i-1) * CFrame.fromEulerAnglesXYZ(-1.9*i+1.9,0,1*i-1)
  1166. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1167. end
  1168. end
  1169. function sniper()
  1170. for i = 0 , 1 , 0.15 do
  1171. wait(0)
  1172. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.4*i,0.5*i,-0.5*i)
  1173. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1174. end
  1175. local bullet1 = Instance.new("Part")
  1176. bullet1.formFactor = 1
  1177. bullet1.Parent = model1
  1178. bullet1.Reflectance = 0.2
  1179. bullet1.CanCollide = false
  1180. bullet1.BrickColor = BrickColor.new("New Yeller")
  1181. bullet1.Name = "Bullet1"
  1182. bullet1.Size = Vector3.new(1,1,1)
  1183. bullet1.Position = Torso.Position
  1184. local bulmesh1 = Instance.new("CylinderMesh")
  1185. bulmesh1.Parent = bullet1
  1186. bulmesh1.Scale = Vector3.new(1.1,1.1,0.3)
  1187. local bulweld1 = Instance.new("Weld")
  1188. bulweld1.Parent = bullet1
  1189. bulweld1.Part0 = bullet1
  1190. bulweld1.Part1 = RightArm
  1191. bulweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.2,1,0.3)
  1192. sparkles1 = Instance.new("Sparkles")
  1193. sparkles1.Name = "Sparkles1"
  1194. sparkles1.Color = Color3.new(1,1,0)
  1195. sparkles1.Parent = bullet1
  1196. for i = 0 , 1 , 0.1 do
  1197. wait(0)
  1198. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), -0.5*i-0.7, -1.57) * CFrame.new(0, 1, 0)
  1199. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.1*i+1,1*i,0.7*i)
  1200. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1201. RW.C0 = CFrame.new(-0.7*i+1.5,0.5,-0.7*i) * CFrame.fromEulerAnglesXYZ(2*i-0.4,-0.5*i+0.5,-0.5*i-0.5)
  1202. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1203. end
  1204. bullet1.Parent = nil
  1205. prt9.BrickColor = BrickColor.new("New Yeller")
  1206. prt9.Reflectance = 0.2
  1207. sparkles1.Parent = prt9
  1208. snipersound(prt1,1)
  1209. for i = 0 , 1 , 0.3 do
  1210. wait(0)
  1211. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.6*i+1.6,0,0.3*i-1)
  1212. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1213. end
  1214. for i = 0 , 1 , 0.3 do
  1215. wait(0)
  1216. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(0.6*i-0.6+1.6,0,-0.3*i+0.3-1)
  1217. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1218. end
  1219. for i = 0 , 1 , 0.07 do
  1220. wait(0)
  1221. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0.1*i-0.5-0.7, -1.57) * CFrame.new(0, 1, 0)
  1222. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.47*i+0.1+1,-1*i+1,-0.7*i+0.7)
  1223. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1224. RW.C0 = CFrame.new(-0.8*i+0.8,0.5,-0.3*i-0.7) * CFrame.fromEulerAnglesXYZ(0.3*i+1.6,0,-1)
  1225. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1226. end
  1227. local lazor = Instance.new("Part")
  1228. lazor.formFactor = 1
  1229. lazor.Parent = workspace
  1230. lazor.Transparency = 0.5
  1231. lazor.CanCollide = false
  1232. lazor.BrickColor = BrickColor.new("Bright red")
  1233. lazor.Name = "Lazorz"
  1234. lazor.Size = Vector3.new(1,1,1)
  1235. lazor.Position = Torso.Position
  1236. local lazmsh = Instance.new("CylinderMesh")
  1237. lazmsh.Parent = lazor
  1238. lazmsh.Scale = Vector3.new(1.1,1340,0.3)
  1239. coroutine.resume(coroutine.create(function()
  1240. while lazor.Parent ~= nil do
  1241. wait()
  1242. lazor.CFrame = prt13.CFrame * CFrame.new(0,-800,0)
  1243. end
  1244. end))
  1245. wait(0.5)
  1246. for i = 0 , 1 , 0.07 do
  1247. wait(0)
  1248. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0.05*i+0.1-0.5-0.7, -1.57) * CFrame.new(0, 1, 0)
  1249. end
  1250. wait(0.2)
  1251. sniperbulletshoot()
  1252. boomeffect()
  1253. prt9.BrickColor = BrickColor.new("Black")
  1254. prt9.Reflectance = 0
  1255. sparkles1.Parent = nil
  1256. lazor.Parent = nil
  1257. snipersound2(prt1,1)
  1258. for i = 0 , 1 , 0.2 do
  1259. wait(0)
  1260. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i+1.57,0,0)
  1261. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1262. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(0.5*i+1.9,0,-1)
  1263. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1264. end
  1265. for i = 0 , 1 , 0.2 do
  1266. wait(0)
  1267. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,1*i,0) * CFrame.new(0.4,0.5,0)
  1268. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.07,0,0)
  1269. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1270. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.4,0,-1)
  1271. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1272. end
  1273. for i = 0 , 1 , 0.1 do
  1274. wait(0)
  1275. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), -0.5*i+0.5-0.7, -1.57) * CFrame.new(0, 1, 0)
  1276. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.4,0.5,0)
  1277. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.57*i+1.57,0,0)
  1278. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1279. RW.C0 = CFrame.new(1.5*i,0.5,1*i-1) * CFrame.fromEulerAnglesXYZ(-1.9*i+1.9,0,1*i-1)
  1280. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1281. end
  1282. end
  1283. function kerbewmshot()
  1284. for i = 0 , 1 , 0.15 do
  1285. wait(0)
  1286. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.4*i,0.5*i,-0.5*i)
  1287. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1288. end
  1289. local bullet1 = Instance.new("Part")
  1290. bullet1.formFactor = 1
  1291. bullet1.Parent = model1
  1292. bullet1.CanCollide = false
  1293. bullet1.BrickColor = BrickColor.new("Bright red")
  1294. bullet1.Name = "Bullet1"
  1295. bullet1.Size = Vector3.new(1,1,1)
  1296. bullet1.Position = Torso.Position
  1297. local bulmesh1 = Instance.new("CylinderMesh")
  1298. bulmesh1.Parent = bullet1
  1299. bulmesh1.Scale = Vector3.new(1.1,1.1,0.3)
  1300. local bulweld1 = Instance.new("Weld")
  1301. bulweld1.Parent = bullet1
  1302. bulweld1.Part0 = bullet1
  1303. bulweld1.Part1 = RightArm
  1304. bulweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.2,1,0.3)
  1305. for i = 0 , 1 , 0.1 do
  1306. wait(0)
  1307. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), -0.5*i-0.7, -1.57) * CFrame.new(0, 1, 0)
  1308. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.1*i+1,1*i,0.7*i)
  1309. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1310. RW.C0 = CFrame.new(-0.7*i+1.5,0.5,-0.7*i) * CFrame.fromEulerAnglesXYZ(2*i-0.4,-0.5*i+0.5,-0.5*i-0.5)
  1311. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1312. end
  1313. bullet1.Parent = nil
  1314. prt9.BrickColor = BrickColor.new("Bright red")
  1315. rocketreload(prt1,1)
  1316. for i = 0 , 1 , 0.3 do
  1317. wait(0)
  1318. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.6*i+1.6,0,0.3*i-1)
  1319. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1320. end
  1321. for i = 0 , 1 , 0.3 do
  1322. wait(0)
  1323. RW.C0 = CFrame.new(0.8,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(0.6*i-0.6+1.6,0,-0.3*i+0.3-1)
  1324. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1325. end
  1326. for i = 0 , 1 , 0.07 do
  1327. wait(0)
  1328. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0.1*i-0.5-0.7, -1.57) * CFrame.new(0, 1, 0)
  1329. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.47*i+0.1+1,-1*i+1,-0.7*i+0.7)
  1330. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1331. RW.C0 = CFrame.new(-0.8*i+0.8,0.5,-0.3*i-0.7) * CFrame.fromEulerAnglesXYZ(0.3*i+1.6,0,-1)
  1332. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1333. end
  1334. wait(0.5)
  1335. bewmshot()
  1336. boomeffect()
  1337. prt9.BrickColor = BrickColor.new("Black")
  1338. rocketshoot(prt1,1)
  1339. for i = 0 , 1 , 0.2 do
  1340. wait(0)
  1341. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i+1.57,0,0)
  1342. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1343. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(0.5*i+1.9,0,-1)
  1344. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1345. end
  1346. for i = 0 , 1 , 0.2 do
  1347. wait(0)
  1348. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,1*i,0) * CFrame.new(0.4,0.5,0)
  1349. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.07,0,0)
  1350. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1351. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(-0.5*i+2.4,0,-1)
  1352. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1353. end
  1354. for i = 0 , 1 , 0.1 do
  1355. wait(0)
  1356. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), -0.5*i+0.5-0.7, -1.57) * CFrame.new(0, 1, 0)
  1357. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.4,0.5,0)
  1358. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.57*i+1.57,0,0)
  1359. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1360. RW.C0 = CFrame.new(1.5*i,0.5,1*i-1) * CFrame.fromEulerAnglesXYZ(-1.9*i+1.9,0,1*i-1)
  1361. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1362. end
  1363. end
  1364. function crush()
  1365. for i = 0 , 1 , 0.07 do
  1366. wait(0)
  1367. LW.C0 = CFrame.new(0.5*i-1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i+1,0,0.7*i)
  1368. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1369. RW.C0 = CFrame.new(-0.5*i+1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,0,-0.7*i)
  1370. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1371. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 1.2*i-0.7, -1.57) * CFrame.new(0, 1, 0)
  1372. end
  1373. for i = 0 , 1 , 0.1 do
  1374. wait(0)
  1375. prt1.Reflectance = prt1.Reflectance + 0.1
  1376. prt2.Reflectance = prt2.Reflectance + 0.1
  1377. prt3.Reflectance = prt3.Reflectance + 0.1
  1378. prt4.Reflectance = prt4.Reflectance + 0.1
  1379. prt5.Reflectance = prt5.Reflectance + 0.1
  1380. prt6.Reflectance = prt6.Reflectance + 0.1
  1381. prt7.Reflectance = prt7.Reflectance + 0.1
  1382. prt8.Reflectance = prt8.Reflectance + 0.1
  1383. prt9.Reflectance = prt9.Reflectance + 0.1
  1384. prt10.Reflectance = prt10.Reflectance + 0.1
  1385. prt11.Reflectance = prt11.Reflectance + 0.1
  1386. prt12.Reflectance = prt12.Reflectance + 0.1
  1387. prt13.Reflectance = prt13.Reflectance + 0.1
  1388. prt13a.Reflectance = prt13a.Reflectance + 0.1
  1389. prt14.Reflectance = prt14.Reflectance + 0.1
  1390. prt15.Reflectance = prt15.Reflectance + 0.1
  1391. end
  1392. wait(0.3)
  1393. for i = 0 , 1 , 0.07 do
  1394. wait(0)
  1395. LW.C0 = CFrame.new(-0.5*i-1,0.5,0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(1*i+1.5,0,-0.7*i+0.7)
  1396. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1397. RW.C0 = CFrame.new(0.5*i+1,0.5,0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-0.5*i+1.5,0,0.7*i-0.7)
  1398. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1399. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0.5, -1.57) * CFrame.new(0, 1, 0)
  1400. end
  1401. local con = prt3.Touched:connect(fixOT)
  1402. local con2 = prt4.Touched:connect(fixOT)
  1403. crushsounds(prt1)
  1404. for i = 0 , 1 , 0.2 do
  1405. wait(0)
  1406. effect()
  1407. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.8*i+2.5,0,0)
  1408. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1409. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i+1,0,0)
  1410. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1411. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), -1.5*i+0.5, -1.57) * CFrame.new(0, 1, 0)
  1412. end
  1413. con:disconnect()
  1414. con2:disconnect()
  1415. wait(0.3)
  1416. for i = 0 , 1 , 0.1 do
  1417. wait(0)
  1418. prt1.Reflectance = prt1.Reflectance - 0.1
  1419. prt2.Reflectance = prt2.Reflectance - 0.1
  1420. prt3.Reflectance = prt3.Reflectance - 0.1
  1421. prt4.Reflectance = prt4.Reflectance - 0.1
  1422. prt5.Reflectance = prt5.Reflectance - 0.1
  1423. prt6.Reflectance = prt6.Reflectance - 0.1
  1424. prt7.Reflectance = prt7.Reflectance - 0.1
  1425. prt8.Reflectance = prt8.Reflectance - 0.1
  1426. prt9.Reflectance = prt9.Reflectance - 0.1
  1427. prt10.Reflectance = prt10.Reflectance - 0.1
  1428. prt11.Reflectance = prt11.Reflectance - 0.1
  1429. prt12.Reflectance = prt12.Reflectance - 0.1
  1430. prt13.Reflectance = prt13.Reflectance - 0.1
  1431. prt13a.Reflectance = prt13a.Reflectance - 0.1
  1432. prt14.Reflectance = prt14.Reflectance - 0.1
  1433. prt15.Reflectance = prt15.Reflectance - 0.1
  1434. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.3*i+0.7,0,0)
  1435. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1436. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
  1437. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1438. wld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90), 0.3*i-1, -1.57) * CFrame.new(0, 1, 0)
  1439. end
  1440. end
  1441. function elecshoot()
  1442. for i = 0 , 1 , 0.07 do
  1443. wait(0)
  1444. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5*i,0,1*i)
  1445. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1446. end
  1447. unequipweld()
  1448. for i = 0 , 1 , 0.07 do
  1449. wait(0)
  1450. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i+3.5,0,0.1*i+1)
  1451. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1452. end
  1453. model2.Parent = modelzorz
  1454. wld16.Parent = prt16
  1455. wld17.Parent = prt17
  1456. wld18.Parent = prt18
  1457. wld19.Parent = prt19
  1458. wld20.Parent = prt20
  1459. wld21.Parent = prt21
  1460. wld22.Parent = prt22
  1461. wld23.Parent = prt23
  1462. wld24.Parent = prt24
  1463. wld25.Parent = prt25
  1464. wld26.Parent = prt26
  1465. wld27.Parent = prt27
  1466. wld28.Parent = prt28
  1467. wld29.Parent = prt29
  1468. wld30.Parent = prt30
  1469. wld31.Parent = prt31
  1470. local c = model2:children()
  1471. for i=1,#c do
  1472. c[i].Transparency = 1
  1473. end
  1474. coroutine.resume(coroutine.create(function()
  1475. local c = model2:children()
  1476. for i = 0,1,0.1 do
  1477. wait()
  1478. prt16.Transparency = prt16.Transparency - 0.1
  1479. prt17.Transparency = prt17.Transparency - 0.1
  1480. prt18.Transparency = prt18.Transparency - 0.1
  1481. prt19.Transparency = prt19.Transparency - 0.1
  1482. prt20.Transparency = prt20.Transparency - 0.1
  1483. prt21.Transparency = prt21.Transparency - 0.1
  1484. prt22.Transparency = prt22.Transparency - 0.1
  1485. prt23.Transparency = prt23.Transparency - 0.1
  1486. prt24.Transparency = prt24.Transparency - 0.1
  1487. prt25.Transparency = prt25.Transparency - 0.1
  1488. prt26.Transparency = prt26.Transparency - 0.1
  1489. prt27.Transparency = prt27.Transparency - 0.1
  1490. prt28.Transparency = prt28.Transparency - 0.1
  1491. prt29.Transparency = prt29.Transparency - 0.1
  1492. prt30.Transparency = prt30.Transparency - 0.1
  1493. prt31.Transparency = prt31.Transparency - 0.1
  1494. end
  1495. end))
  1496. prt30.BrickColor = BrickColor.new("Bright blue")
  1497. equipweld2()
  1498. for i = 0 , 1 , 0.07 do
  1499. wait(0)
  1500. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2.93*i+4.5,0,-1.1*i+1.1)
  1501. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1502. RW.C0 = CFrame.new(-1.5*i+1.5,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(1*i,0,-2*i)
  1503. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1504. end
  1505. wait(0.3)
  1506. boomeffect2()
  1507. cannonsound(prt24,0.7)
  1508. elecshot()
  1509. for i = 0 , 1 , 0.15 do
  1510. wait(0)
  1511. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i+1.57,0,0)
  1512. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1513. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(2*i+1,0,1*i-2)
  1514. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1515. end
  1516. for i = 0 , 1 , 0.15 do
  1517. wait(0)
  1518. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1*i+2.57,0,0)
  1519. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1520. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(-2*i+3,0,-1*i-1)
  1521. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1522. end
  1523. wait(0.5)
  1524. coroutine.resume(coroutine.create(function()
  1525. for i = 0,1,0.1 do
  1526. wait()
  1527. prt16.Transparency = prt16.Transparency + 0.1
  1528. prt17.Transparency = prt17.Transparency + 0.1
  1529. prt18.Transparency = prt18.Transparency + 0.1
  1530. prt19.Transparency = prt19.Transparency + 0.1
  1531. prt20.Transparency = prt20.Transparency + 0.1
  1532. prt21.Transparency = prt21.Transparency + 0.1
  1533. prt22.Transparency = prt22.Transparency + 0.1
  1534. prt23.Transparency = prt23.Transparency + 0.1
  1535. prt24.Transparency = prt24.Transparency + 0.1
  1536. prt25.Transparency = prt25.Transparency + 0.1
  1537. prt26.Transparency = prt26.Transparency + 0.1
  1538. prt27.Transparency = prt27.Transparency + 0.1
  1539. prt28.Transparency = prt28.Transparency + 0.1
  1540. prt29.Transparency = prt29.Transparency + 0.1
  1541. prt30.Transparency = prt30.Transparency + 0.1
  1542. prt31.Transparency = prt31.Transparency + 0.1
  1543. end
  1544. end))
  1545. for i = 0 , 1 , 0.07 do
  1546. wait(0)
  1547. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.93*i+1.57,0,1.1*i)
  1548. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1549. RW.C0 = CFrame.new(1.5*i,0.5,1*i-1) * CFrame.fromEulerAnglesXYZ(-1*i+1,0,2*i-2)
  1550. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1551. end
  1552. model2.Parent = nil
  1553. unequipweld2()
  1554. for i = 0 , 1 , 0.07 do
  1555. wait(0)
  1556. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1*i+4.5,0,-0.1*i+1.1)
  1557. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1558. end
  1559. equipweld()
  1560. for i = 0 , 1 , 0.07 do
  1561. wait(0)
  1562. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2.5*i+3.5,0,-1*i+1)
  1563. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1564. end
  1565. end
  1566. function laz0rshoot() --TROLOLOL
  1567. for i = 0 , 1 , 0.07 do
  1568. wait(0)
  1569. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(180)*i,0,0)
  1570. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1571. end
  1572. wld32a.Parent = prt32a
  1573. wld33.Parent = prt33
  1574. wld34.Parent = prt34
  1575. wld35.Parent = prt35
  1576. wld36.Parent = prt36
  1577. wld37.Parent = prt37
  1578. wld38.Parent = prt38
  1579. wld39.Parent = prt39
  1580. model3.Parent = modelzorz
  1581. local c = model3:children()
  1582. for i=1,#c do
  1583. c[i].Transparency = 1
  1584. end
  1585. for i=1,#c do
  1586. for q = 0,1,0.2 do
  1587. wait()
  1588. c[i].Transparency = c[i].Transparency - 0.2
  1589. end
  1590. end
  1591. for i = 0 , 1 , 0.07 do
  1592. wait(0)
  1593. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i+math.rad(180),0,0)
  1594. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1595. end
  1596. laz0rshot()
  1597. wait(0.5)
  1598. coroutine.resume(coroutine.create(function()
  1599. local c = model3:children()
  1600. for i=1,#c do
  1601. wait()
  1602. coroutine.resume(coroutine.create(function()
  1603. for q = 0,1,0.2 do
  1604. wait()
  1605. c[i].Transparency = c[i].Transparency + 0.2
  1606. end
  1607. end))
  1608. end
  1609. model3.Parent = nil
  1610. end))
  1611. for i = 0 , 1 , 0.07 do
  1612. wait(0)
  1613. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i+math.rad(90),0,0)
  1614. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1615. end
  1616. end
  1617. function tornadoskates()
  1618. model4.Parent = modelzorz
  1619. wld40.Parent = prt40
  1620. prt40.Transparency = 1
  1621. for i = 0 , 0.4 , 0.1 do
  1622. wait(0)
  1623. prt40.Transparency = prt40.Transparency - 0.1
  1624. end
  1625. end
  1626. function OT(hit)
  1627. if hit.Parent == nil then return end
  1628. local hum = hit.Parent:findFirstChild("Humanoid")
  1629. if hum ~= nil and hum ~= Character.Humanoid then
  1630. hum:TakeDamage(damage)
  1631. end
  1632. end
  1633. function fixOT(hit)
  1634. if hit.Parent == nil then return end
  1635. local hum = hit.Parent:findFirstChild("Humanoid")
  1636. if hum ~= nil and hum ~= Character.Humanoid then
  1637. hum:TakeDamage(damage)
  1638. hum.WalkSpeed = 16
  1639. hum.MaxHealth = 100
  1640. c = hum.Parent:GetChildren()
  1641. for i = 1,#c do
  1642. if c[i].className == "Part" then
  1643. local SlashSound = Instance.new("Sound")
  1644. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974000"
  1645. SlashSound.Parent = prt1
  1646. SlashSound.Volume = 0.1
  1647. SlashSound.Pitch = 1.1
  1648. SlashSound:play()
  1649. coroutine.resume(coroutine.create(function()
  1650. wait(1)
  1651. SlashSound.Parent = nil
  1652. end))
  1653. c[i].Transparency = 0
  1654. c[i].Reflectance = 0
  1655. end
  1656. if c[i].className == "ForceField" then
  1657. c[i]:Remove()
  1658. end
  1659. end
  1660. end
  1661. end
  1662. function ss(parent,pitch)
  1663. local SlashSound = Instance.new("Sound")
  1664. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1665. SlashSound.Parent = parent
  1666. SlashSound.Volume = .7
  1667. SlashSound.Pitch = pitch
  1668. SlashSound:play()
  1669. coroutine.resume(coroutine.create(function()
  1670. wait(1)
  1671. SlashSound.Parent = nil
  1672. end))
  1673. end
  1674. function sss(parent,pitch)
  1675. local SlashSound = Instance.new("Sound")
  1676. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1677. SlashSound.Parent = parent
  1678. SlashSound.Volume = .7
  1679. SlashSound.Pitch = pitch
  1680. SlashSound:play()
  1681. coroutine.resume(coroutine.create(function()
  1682. wait(1)
  1683. SlashSound.Parent = nil
  1684. end))
  1685. end
  1686. function uss(parent,pitch)
  1687. local SlashSound = Instance.new("Sound")
  1688. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1689. SlashSound.Parent = parent
  1690. SlashSound.Volume = .7
  1691. SlashSound.Pitch = pitch
  1692. SlashSound:play()
  1693. coroutine.resume(coroutine.create(function()
  1694. wait(1)
  1695. SlashSound.Parent = nil
  1696. end))
  1697. end
  1698. function reloadsound(parent,pitch)
  1699. local SlashSound = Instance.new("Sound")
  1700. SlashSound.SoundId = "http://roblox.com/asset/?id=10209834"
  1701. SlashSound.Parent = parent
  1702. SlashSound.Volume = .7
  1703. SlashSound.Pitch = pitch
  1704. SlashSound:play()
  1705. coroutine.resume(coroutine.create(function()
  1706. wait(1)
  1707. SlashSound.Parent = nil
  1708. end))
  1709. end
  1710. function shootsound(parent,pitch)
  1711. local SlashSound = Instance.new("Sound")
  1712. SlashSound.SoundId = "http://roblox.com/asset/?id=10209803"
  1713. SlashSound.Parent = parent
  1714. SlashSound.Volume = .7
  1715. SlashSound.Pitch = pitch
  1716. SlashSound:play()
  1717. coroutine.resume(coroutine.create(function()
  1718. wait(0.3)
  1719. SlashSound:Stop()
  1720. wait(1)
  1721. SlashSound.Parent = nil
  1722. end))
  1723. end
  1724. function shootsound2(parent,pitch)
  1725. local SlashSound = Instance.new("Sound")
  1726. SlashSound.SoundId = "http://roblox.com/asset/?id=10209803"
  1727. SlashSound.Parent = parent
  1728. SlashSound.Volume = .7
  1729. SlashSound.Pitch = pitch
  1730. SlashSound:play()
  1731. coroutine.resume(coroutine.create(function()
  1732. wait(1)
  1733. SlashSound.Parent = nil
  1734. end))
  1735. end
  1736. function snipersound(parent,pitch)
  1737. local SlashSound = Instance.new("Sound")
  1738. SlashSound.SoundId = "http://roblox.com/asset/?id=10209881"
  1739. SlashSound.Parent = parent
  1740. SlashSound.Volume = .7
  1741. SlashSound.Pitch = pitch
  1742. SlashSound:play()
  1743. coroutine.resume(coroutine.create(function()
  1744. wait(3)
  1745. SlashSound.Parent = nil
  1746. end))
  1747. end
  1748. function snipersound2(parent,pitch)
  1749. local SlashSound = Instance.new("Sound")
  1750. SlashSound.SoundId = "http://roblox.com/asset/?id=10209875"
  1751. SlashSound.Parent = parent
  1752. SlashSound.Volume = .7
  1753. SlashSound.Pitch = pitch
  1754. SlashSound:play()
  1755. coroutine.resume(coroutine.create(function()
  1756. wait(3)
  1757. SlashSound.Parent = nil
  1758. end))
  1759. end
  1760. function rocketreload(parent,pitch)
  1761. local SlashSound = Instance.new("Sound")
  1762. SlashSound.SoundId = "http://roblox.com/asset/?id=10209813"
  1763. SlashSound.Parent = parent
  1764. SlashSound.Volume = .7
  1765. SlashSound.Pitch = pitch
  1766. SlashSound:play()
  1767. coroutine.resume(coroutine.create(function()
  1768. wait(3)
  1769. SlashSound.Parent = nil
  1770. end))
  1771. end
  1772. function rocketshoot(parent,pitch)
  1773. local SlashSound = Instance.new("Sound")
  1774. SlashSound.SoundId = "http://roblox.com/asset/?id=10209821"
  1775. SlashSound.Parent = parent
  1776. SlashSound.Volume = .7
  1777. SlashSound.Pitch = pitch
  1778. SlashSound:play()
  1779. coroutine.resume(coroutine.create(function()
  1780. wait(3)
  1781. SlashSound.Parent = nil
  1782. end))
  1783. end
  1784. function rocketbewmsound(parent,pitch)
  1785. local SlashSound = Instance.new("Sound")
  1786. SlashSound.SoundId = "http://roblox.com/asset/?id=10209236"
  1787. SlashSound.Parent = parent
  1788. SlashSound.Volume = .7
  1789. SlashSound.Pitch = pitch
  1790. SlashSound:play()
  1791. coroutine.resume(coroutine.create(function()
  1792. wait(3)
  1793. SlashSound.Parent = nil
  1794. end))
  1795. end
  1796. function crushsounds(parent)
  1797. local SlashSound = Instance.new("Sound")
  1798. SlashSound.SoundId = "http://roblox.com/asset/?id=10209268"
  1799. SlashSound.Parent = parent
  1800. SlashSound.Volume = .7
  1801. SlashSound.Pitch = 1
  1802. SlashSound:play()
  1803. coroutine.resume(coroutine.create(function()
  1804. wait(3)
  1805. SlashSound.Parent = nil
  1806. end))
  1807. local SlashSound = Instance.new("Sound")
  1808. SlashSound.SoundId = "http://roblox.com/asset/?id=10209588"
  1809. SlashSound.Parent = parent
  1810. SlashSound.Volume = .7
  1811. SlashSound.Pitch = 1
  1812. SlashSound:play()
  1813. coroutine.resume(coroutine.create(function()
  1814. wait(3)
  1815. SlashSound.Parent = nil
  1816. end))
  1817. local SlashSound = Instance.new("Sound")
  1818. SlashSound.SoundId = "http://roblox.com/asset/?id=10209596"
  1819. SlashSound.Parent = parent
  1820. SlashSound.Volume = .7
  1821. SlashSound.Pitch = 0.7
  1822. SlashSound:play()
  1823. coroutine.resume(coroutine.create(function()
  1824. wait(3)
  1825. SlashSound.Parent = nil
  1826. end))
  1827. end
  1828. function cannonsound(parent,pitch)
  1829. local SlashSound = Instance.new("Sound")
  1830. SlashSound.SoundId = "http://roblox.com/asset/?id=10209257"
  1831. SlashSound.Parent = parent
  1832. SlashSound.Volume = .7
  1833. SlashSound.Pitch = pitch
  1834. SlashSound:play()
  1835. coroutine.resume(coroutine.create(function()
  1836. wait(3)
  1837. SlashSound.Parent = nil
  1838. end))
  1839. end
  1840. function elecsound(parent,pitch)
  1841. local SlashSound = Instance.new("Sound")
  1842. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2800815"
  1843. SlashSound.Parent = parent
  1844. SlashSound.Volume = 1
  1845. SlashSound.Pitch = pitch
  1846. SlashSound:play()
  1847. coroutine.resume(coroutine.create(function()
  1848. wait(3)
  1849. SlashSound.Parent = nil
  1850. end))
  1851. end
  1852. function effect()
  1853. local clone = prt3:clone()
  1854. clone.Parent = workspace
  1855. clone.Anchored = true
  1856. clone.Transparency = 0.5
  1857. clone.Reflectance = 0
  1858. clone.Mesh.Scale = clone.Mesh.Scale + Vector3.new(0.1,0.1,0.1)
  1859. clone.BrickColor = BrickColor.new("White")
  1860. coroutine.resume(coroutine.create(function()
  1861. wait(0.25)
  1862. clone.Parent = nil
  1863. end))
  1864. local cloneb = prt4:clone()
  1865. cloneb.Parent = workspace
  1866. cloneb.Anchored = true
  1867. cloneb.Transparency = 0.5
  1868. cloneb.Reflectance = 0
  1869. cloneb.Mesh.Scale = cloneb.Mesh.Scale + Vector3.new(0.1,0.1,0.1)
  1870. cloneb.BrickColor = BrickColor.new("White")
  1871. coroutine.resume(coroutine.create(function()
  1872. wait(0.25)
  1873. cloneb.Parent = nil
  1874. end))
  1875. end
  1876. DBHit=function(hit,DB) --credits to turdulator for making this function :D
  1877. if hit.Parent==nil then
  1878. return
  1879. end
  1880. h=hit.Parent:FindFirstChild("Humanoid")
  1881. t=hit.Parent:FindFirstChild("Torso")
  1882. if h~=nil and t~=nil then
  1883. if h.Parent==Character then
  1884. return
  1885. end
  1886. h:TakeDamage(5)
  1887. vl=Instance.new("BodyVelocity")
  1888. vl.P=4500
  1889. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1890. velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)
  1891. vl.velocity=velocity*1.05+Vector3.new(0,3,0)
  1892. vl.Parent=t
  1893. game:GetService("Debris"):AddItem(vl,.2)
  1894. rl=Instance.new("BodyAngularVelocity")
  1895. rl.P=3000
  1896. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1897. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1898. rl.Parent=t
  1899. game:GetService("Debris"):AddItem(rl,.2)
  1900. else
  1901. if hit.CanCollide==false then
  1902. return
  1903. end
  1904. MagicCom:disconnect()
  1905. -- DBExplode(DB)
  1906. end
  1907. end
  1908. function boomeffect()
  1909. local mesh = Instance.new("SpecialMesh")
  1910. mesh.MeshType = "Sphere"
  1911. mesh.Scale = Vector3.new(0.2,0,0.2)
  1912. local shell = Instance.new("Part")
  1913. mesh.Parent = shell
  1914. shell.Anchored = true
  1915. shell.formFactor = 1
  1916. shell.Size = Vector3.new(2,2,2)
  1917. shell.CFrame = prt13.CFrame * CFrame.new(0,-0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.random(-50,50))
  1918. shell.Parent = game.workspace
  1919. shell.Transparency = 0
  1920. shell.BrickColor = BrickColor.new("Bright yellow")
  1921. shell.CanCollide = false
  1922. coroutine.resume(coroutine.create(function()
  1923. for i = 0 , 1 , 0.2 do
  1924. wait(0.1)
  1925. mesh.Scale = mesh.Scale + Vector3.new(0,0.3,0)
  1926. shell.Transparency = shell.Transparency + 0.2
  1927. end
  1928. shell.Transparency = 1
  1929. shell.Parent = nil
  1930. end))
  1931. local mesh2 = Instance.new("SpecialMesh")
  1932. mesh2.MeshType = "Sphere"
  1933. mesh2.Scale = Vector3.new(0.2,0,0.2)
  1934. local shell2 = Instance.new("Part")
  1935. mesh2.Parent = shell2
  1936. shell2.Anchored = true
  1937. shell2.formFactor = 1
  1938. shell2.Size = Vector3.new(2,2,2)
  1939. shell2.CFrame = shell.CFrame * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1940. shell2.Parent = game.workspace
  1941. shell2.Transparency = 0
  1942. shell2.BrickColor = BrickColor.new("Bright yellow")
  1943. shell2.CanCollide = false
  1944. coroutine.resume(coroutine.create(function()
  1945. for i = 0 , 1 , 0.2 do
  1946. wait(0.1)
  1947. mesh2.Scale = mesh2.Scale + Vector3.new(0,0.3,0)
  1948. shell2.Transparency = shell2.Transparency + 0.2
  1949. end
  1950. shell2.Transparency = 1
  1951. shell2.Parent = nil
  1952. end))
  1953. local mesh3 = Instance.new("SpecialMesh")
  1954. mesh3.MeshType = "Sphere"
  1955. mesh3.Scale = Vector3.new(0.2,0,0.2)
  1956. local shell3 = Instance.new("Part")
  1957. mesh3.Parent = shell3
  1958. shell3.Anchored = true
  1959. shell3.formFactor = 1
  1960. shell3.Size = Vector3.new(2,2,2)
  1961. shell3.CFrame = prt13.CFrame * CFrame.new(0,-0.5,0)
  1962. shell3.Parent = game.workspace
  1963. shell3.Transparency = 0
  1964. shell3.BrickColor = BrickColor.new("Bright yellow")
  1965. shell3.CanCollide = false
  1966. coroutine.resume(coroutine.create(function()
  1967. for i = 0 , 1 , 0.2 do
  1968. wait(0.1)
  1969. mesh3.Scale = mesh3.Scale + Vector3.new(0,0.3,0)
  1970. shell3.Transparency = shell3.Transparency + 0.2
  1971. end
  1972. shell3.Transparency = 1
  1973. shell3.Parent = nil
  1974. end))
  1975. end
  1976. function boomeffect2()
  1977. local mesh = Instance.new("SpecialMesh")
  1978. mesh.Scale = Vector3.new(0.2,0,0.2)
  1979. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1980. local shell = Instance.new("Part")
  1981. mesh.Parent = shell
  1982. shell.Anchored = true
  1983. shell.formFactor = 1
  1984. shell.Size = Vector3.new(2,2,2)
  1985. shell.CFrame = prt23.CFrame * CFrame.new(0,0.35,0)
  1986. shell.Parent = game.workspace
  1987. shell.Transparency = 0
  1988. shell.BrickColor = BrickColor.new("Bright blue")
  1989. shell.CanCollide = false
  1990. coroutine.resume(coroutine.create(function()
  1991. for i = 0 , 1 , 0.2 do
  1992. wait(0.1)
  1993. mesh.Scale = mesh.Scale + Vector3.new(0.3,0.5,0.3)
  1994. shell.CFrame = shell.CFrame * CFrame.new(0,0.3,0)
  1995. shell.Transparency = shell.Transparency + 0.2
  1996. end
  1997. shell.Transparency = 1
  1998. shell.Parent = nil
  1999. end))
  2000. end
  2001. DBHit1=function(hit,DB) --credits to turdulator for making this function :D
  2002. if hit.Parent==nil then
  2003. return
  2004. end
  2005. h=hit.Parent:FindFirstChild("Humanoid")
  2006. t=hit.Parent:FindFirstChild("Torso")
  2007. if h~=nil and t~=nil then
  2008. if h.Parent==Character then
  2009. return
  2010. end
  2011. h:TakeDamage(5)
  2012. vl=Instance.new("BodyVelocity")
  2013. vl.P=4500
  2014. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2015. velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)
  2016. vl.velocity=velocity*1.05+Vector3.new(0,3,0)
  2017. vl.Parent=t
  2018. game:GetService("Debris"):AddItem(vl,.2)
  2019. rl=Instance.new("BodyAngularVelocity")
  2020. rl.P=3000
  2021. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2022. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2023. rl.Parent=t
  2024. game:GetService("Debris"):AddItem(rl,.2)
  2025. else
  2026. if hit.CanCollide==false then
  2027. return
  2028. end
  2029. MagicCom:disconnect()
  2030. -- DBExplode(DB)
  2031. end
  2032. end
  2033. function bulletshoot()
  2034. local freakingbullet = prt6:Clone()
  2035. freakingbullet.formFactor = 1
  2036. freakingbullet.Parent = workspace
  2037. freakingbullet.CanCollide = false
  2038. freakingbullet.BrickColor = BrickColor.new("New Yeller")
  2039. freakingbullet.Name = "Bullet6"
  2040. freakingbullet.Size = Vector3.new(1,1,1)
  2041. freakingbullet.Position = Torso.Position
  2042. freakingbullet.CFrame = prt13.CFrame * CFrame.new(0,-0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2043. freakingbullet.Velocity = Torso.CFrame.lookVector * 100
  2044. local freakingbulmsh = Instance.new("CylinderMesh")
  2045. freakingbulmsh.Parent = freakingbullet
  2046. freakingbulmsh.Scale = Vector3.new(1.1,0.8,0.3)
  2047. local force = Instance.new("BodyForce")
  2048. force.Parent = freakingbullet
  2049. force.force = Vector3.new(0,240,0)
  2050. coroutine.resume(coroutine.create(function()
  2051. while freakingbullet.Parent ~= nil do --I use this function instead of the touch function :3
  2052. wait()
  2053. local c = game.Workspace:GetChildren();
  2054. for i = 1, #c do
  2055. local hum = c[i]:findFirstChild("Humanoid")
  2056. if hum ~= nil and hum.Health ~= 0 then
  2057. local head = c[i]:findFirstChild("Head");
  2058. if head ~= nil then
  2059. local targ = head.Position - freakingbullet.Position;
  2060. local mag = targ.magnitude;
  2061. if mag <= 4 and c[i].Name ~= Player.Name then
  2062. hum:TakeDamage(15)
  2063. v=Instance.new("BodyVelocity")
  2064. v.P=1000
  2065. v.maxForce=Vector3.new(math.huge,0,math.huge)
  2066. v.velocity=Torso.CFrame.lookVector*25+Torso.Velocity/1.05
  2067. v.Parent=hum.Parent.Torso
  2068. coroutine.resume(coroutine.create(function()
  2069. wait(0.3)
  2070. v.Parent = nil
  2071. end))
  2072. game:GetService("Debris"):AddItem(v,.1)
  2073. freakingbullet.Parent = nil
  2074. -- hum:TakeDamage(damage.Value + damageboost)
  2075. end
  2076. end
  2077. end
  2078. end
  2079. end
  2080. end))
  2081. --[[freakingbullet.Touched:connect(function(hit) kill(b,hit) end) --Freaking touched function wont work >:U
  2082. function kill(brick,hit)
  2083. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent.Name ~= "Dr4gOnh4ck3rz2" and hit.Name ~= "Base" and hit.Parent.Name ~= "AccountMoniter" then
  2084. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 5
  2085. freakingbullet.Parent = nil
  2086. end
  2087. end]]
  2088. coroutine.resume(coroutine.create(function()
  2089. freakingbullet.Position = Torso.Position
  2090. freakingbullet.CFrame = prt13.CFrame * CFrame.new(0,-0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2091. for i = 0,5,0.1 do
  2092. wait()
  2093. --freakingbullet.Touched:connect(function(hit) kill(b,hit) end)
  2094. freakingbullet.Velocity = Torso.CFrame.lookVector * 100
  2095. end
  2096. freakingbullet.Parent = nil
  2097. end))
  2098. end
  2099. function sniperbulletshoot()
  2100. local freakingbullet = prt6:Clone()
  2101. freakingbullet.formFactor = 1
  2102. freakingbullet.Reflectance = 0.2
  2103. freakingbullet.Parent = workspace
  2104. freakingbullet.CanCollide = false
  2105. freakingbullet.BrickColor = BrickColor.new("New Yeller")
  2106. freakingbullet.Name = "Bullet6"
  2107. freakingbullet.Size = Vector3.new(1,1,1)
  2108. freakingbullet.Position = Torso.Position
  2109. freakingbullet.CFrame = prt13.CFrame * CFrame.new(0,-0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2110. freakingbullet.Velocity = Torso.CFrame.lookVector * 100
  2111. local freakingbulmsh = Instance.new("CylinderMesh")
  2112. freakingbulmsh.Parent = freakingbullet
  2113. freakingbulmsh.Scale = Vector3.new(1.1,0.8,0.3)
  2114. local force = Instance.new("BodyForce")
  2115. force.Parent = freakingbullet
  2116. force.force = Vector3.new(0,240,0)
  2117. sparkles = Instance.new("Sparkles")
  2118. sparkles.Name = "Sparkles"
  2119. sparkles.Color = Color3.new(1,1,0)
  2120. sparkles.Parent = freakingbullet
  2121. coroutine.resume(coroutine.create(function()
  2122. while freakingbullet.Parent ~= nil do --I use this function instead of the touch function :3
  2123. wait()
  2124. local c = game.Workspace:GetChildren();
  2125. for i = 1, #c do
  2126. local hum = c[i]:findFirstChild("Humanoid")
  2127. if hum ~= nil and hum.Health ~= 0 then
  2128. local head = c[i]:findFirstChild("Head");
  2129. if head ~= nil then
  2130. local targ = head.Position - freakingbullet.Position;
  2131. local mag = targ.magnitude;
  2132. if mag <= 4 and c[i].Name ~= Player.Name then
  2133. hum:TakeDamage(50)
  2134. freakingbullet.Parent = nil
  2135. -- hum:TakeDamage(damage.Value + damageboost)
  2136. end
  2137. end
  2138. end
  2139. end
  2140. end
  2141. end))
  2142. --[[freakingbullet.Touched:connect(function(hit) kill(b,hit) end) --Freaking touched function wont work >:U
  2143. function kill(brick,hit)
  2144. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent.Name ~= "Dr4gOnh4ck3rz2" and hit.Name ~= "Base" and hit.Parent.Name ~= "AccountMoniter" then
  2145. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 5
  2146. freakingbullet.Parent = nil
  2147. end
  2148. end]]
  2149. coroutine.resume(coroutine.create(function()
  2150. freakingbullet.Position = Torso.Position
  2151. freakingbullet.CFrame = prt13.CFrame * CFrame.new(0,-0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2152. for i = 0,10,0.1 do
  2153. wait()
  2154. --freakingbullet.Touched:connect(function(hit) kill(b,hit) end)
  2155. freakingbullet.Velocity = Torso.CFrame.lookVector * 250
  2156. end
  2157. freakingbullet.Parent = nil
  2158. end))
  2159. end
  2160. function bewmshot()
  2161. local freakingbullet = prt6:Clone()
  2162. freakingbullet.formFactor = 1
  2163. freakingbullet.Parent = workspace
  2164. freakingbullet.CanCollide = false
  2165. freakingbullet.BrickColor = BrickColor.new("Bright red")
  2166. freakingbullet.Name = "Bullet6"
  2167. freakingbullet.Size = Vector3.new(1,1,1)
  2168. freakingbullet.Position = Torso.Position
  2169. freakingbullet.CFrame = prt13.CFrame * CFrame.new(0,-0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2170. freakingbullet.Velocity = Torso.CFrame.lookVector * 100
  2171. local freakingbulmsh = Instance.new("CylinderMesh")
  2172. freakingbulmsh.Parent = freakingbullet
  2173. freakingbulmsh.Scale = Vector3.new(1.1,0.8,0.3)
  2174. local force = Instance.new("BodyForce")
  2175. force.Parent = freakingbullet
  2176. force.force = Vector3.new(0,240,0)
  2177. coroutine.resume(coroutine.create(function()
  2178. while freakingbullet.Parent ~= nil do --I use this function instead of the touch function :3
  2179. wait()
  2180. local c = game.Workspace:GetChildren();
  2181. for i = 1, #c do
  2182. local hum = c[i]:findFirstChild("Humanoid")
  2183. if hum ~= nil and hum.Health ~= 0 then
  2184. local head = c[i]:findFirstChild("Head");
  2185. if head ~= nil then
  2186. local targ = head.Position - freakingbullet.Position;
  2187. local mag = targ.magnitude;
  2188. if mag <= 4 and c[i].Name ~= Player.Name then
  2189. hum:TakeDamage(20)
  2190. freakingbullet.Parent = nil
  2191. DBHit(hum.Parent.Torso,freakingbullet)
  2192. local bewm = Instance.new("Explosion")
  2193. bewm.Parent = workspace
  2194. bewm.BlastPressure = 0
  2195. bewm.Position = hum.Parent.Torso.Position
  2196. rocketbewmsound(prt1,1.2)
  2197. -- coroutine.resume(coroutine.create(function()
  2198. wait(0.5)
  2199. rocketbewmsound(prt1,1.2)
  2200. hum:TakeDamage(10)
  2201. DBHit(hum.Parent.Torso,freakingbullet)
  2202. local bewm = Instance.new("Explosion")
  2203. bewm.Parent = workspace
  2204. bewm.BlastPressure = 0
  2205. bewm.Position = hum.Parent.Torso.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2206. wait(0.5)
  2207. rocketbewmsound(prt1,1.2)
  2208. hum:TakeDamage(10)
  2209. DBHit(hum.Parent.Torso,freakingbullet)
  2210. local bewm = Instance.new("Explosion")
  2211. bewm.Parent = workspace
  2212. bewm.BlastPressure = 0
  2213. bewm.Position = hum.Parent.Torso.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2214. wait(0.5)
  2215. rocketbewmsound(prt1,1.2)
  2216. hum:TakeDamage(10)
  2217. DBHit(hum.Parent.Torso,freakingbullet)
  2218. local bewm = Instance.new("Explosion")
  2219. bewm.Parent = workspace
  2220. bewm.BlastPressure = 0
  2221. bewm.Position = hum.Parent.Torso.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2222. -- end))
  2223. -- hum:TakeDamage(damage.Value + damageboost)
  2224. end
  2225. end
  2226. end
  2227. end
  2228. end
  2229. end))
  2230. coroutine.resume(coroutine.create(function()
  2231. freakingbullet.Position = Torso.Position
  2232. freakingbullet.CFrame = prt13.CFrame * CFrame.new(0,-0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2233. for i = 0,5,0.1 do
  2234. wait()
  2235. --freakingbullet.Touched:connect(function(hit) kill(b,hit) end)
  2236. freakingbullet.Velocity = Torso.CFrame.lookVector * 100
  2237. end
  2238. freakingbullet.Parent = nil
  2239. end))
  2240. end
  2241. function elecshot()
  2242. local freakingbullet = prt6:Clone()
  2243. freakingbullet.formFactor = 1
  2244. freakingbullet.Parent = workspace
  2245. freakingbullet.CanCollide = false
  2246. freakingbullet.BrickColor = BrickColor.new("Bright blue")
  2247. freakingbullet.Name = "Bullet6"
  2248. freakingbullet.Size = Vector3.new(1,1,1)
  2249. freakingbullet.Position = Torso.Position
  2250. freakingbullet.CFrame = Torso.CFrame --* CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2251. freakingbullet.Velocity = Torso.CFrame.lookVector * 100
  2252. local freakingbulmsh = Instance.new("CylinderMesh")
  2253. freakingbulmsh.Parent = freakingbullet
  2254. freakingbulmsh.Scale = Vector3.new(1.6,1.3,0.8)
  2255. local force = Instance.new("BodyForce")
  2256. force.Parent = freakingbullet
  2257. force.force = Vector3.new(0,235,0)
  2258. coroutine.resume(coroutine.create(function()
  2259. while freakingbullet.Parent ~= nil do --I use this function instead of the touch function :3
  2260. wait()
  2261. local c = game.Workspace:GetChildren();
  2262. for i = 1, #c do
  2263. local hum = c[i]:findFirstChild("Humanoid")
  2264. if hum ~= nil and hum.Health ~= 0 then
  2265. local head = c[i]:findFirstChild("Head");
  2266. if head ~= nil then
  2267. local targ = head.Position - freakingbullet.Position;
  2268. local mag = targ.magnitude;
  2269. if mag <= 5 and c[i].Name ~= Player.Name then
  2270. hum:TakeDamage(20)
  2271. coroutine.resume(coroutine.create(function()
  2272. for i = 0,6 do
  2273. wait(0.2)
  2274. hum:TakeDamage(3)
  2275. local me = Instance.new("SpecialMesh")
  2276. me.MeshType = "Sphere"
  2277. local wave = Instance.new("Part")
  2278. me.Parent = wave
  2279. wave.formFactor = 1
  2280. wave.Parent = workspace
  2281. wave.CanCollide = false
  2282. wave.Anchored = true
  2283. wave.BrickColor = BrickColor.new("Bright blue")
  2284. wave.Name = "Waveh"
  2285. wave.Size = Vector3.new(1,1,1)
  2286. wave.Position = Torso.Position
  2287. wave.CFrame = hum.Parent.Torso.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2288. elecsound(wave,1.5)
  2289. coroutine.resume(coroutine.create(function()
  2290. for i = 0,1,0.1 do
  2291. wait()
  2292. me.Scale = me.Scale + Vector3.new(1,1,1)
  2293. wave.Transparency = wave.Transparency + 0.1
  2294. end
  2295. wave.Parent = nil
  2296. end))
  2297. DBHit(hum.Parent.Torso,freakingbullet)
  2298. end
  2299. end))
  2300. freakingbullet.Parent = nil
  2301. end
  2302. end
  2303. end
  2304. end
  2305. end
  2306. end))
  2307. coroutine.resume(coroutine.create(function()
  2308. freakingbullet.Position = Torso.Position
  2309. freakingbullet.CFrame = prt24.CFrame * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2310. for i = 0,5,0.1 do
  2311. wait()
  2312. --freakingbullet.Touched:connect(function(hit) kill(b,hit) end)
  2313. freakingbullet.Velocity = Torso.CFrame.lookVector * 100
  2314. end
  2315. freakingbullet.Parent = nil
  2316. end))
  2317. end
  2318. function laz0rshot()
  2319. local laz0rhed = Instance.new("Part")
  2320. laz0rhed.formFactor = 1
  2321. laz0rhed.Parent = workspace
  2322. laz0rhed.CanCollide = false
  2323. laz0rhed.BrickColor = BrickColor.new("New Yeller")
  2324. laz0rhed.Name = "HeadOfTehLaz0r"
  2325. laz0rhed.Size = Vector3.new(3,1,3)
  2326. laz0rhed.Position = Torso.Position
  2327. laz0rhed.CFrame = prt37.CFrame * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2328. local lazmsh = Instance.new("SpecialMesh")
  2329. lazmsh.MeshType = "Sphere"
  2330. lazmsh.Parent = laz0rhed
  2331. lazmsh.Scale = Vector3.new(0,0,0)
  2332. local lazwel = Instance.new("Weld")
  2333. lazwel.Parent = laz0rhed
  2334. lazwel.Part0 = laz0rhed
  2335. lazwel.Part1 = prt37
  2336. for i = 0 , 1 , 0.01 do
  2337. wait(0)
  2338. lazmsh.Scale = lazmsh.Scale + Vector3.new(0.01,0.04,0.01)
  2339. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i+1,0,0)
  2340. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2341. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),0.5*i,-0.1*i)
  2342. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2343. end
  2344. wait(0.3)
  2345. print(lazmsh.Scale)
  2346. laz0rhed.Parent = nil
  2347. local tehlaz0r = Instance.new("Part")
  2348. tehlaz0r.formFactor = 1
  2349. tehlaz0r.Parent = workspace
  2350. tehlaz0r.CanCollide = false
  2351. tehlaz0r.BrickColor = BrickColor.new("New Yeller")
  2352. tehlaz0r.Name = "LAAAAAAAAAAAAAAAZ0R"
  2353. tehlaz0r.Size = Vector3.new(3,5,3)
  2354. tehlaz0r.Position = Torso.Position
  2355. tehlaz0r.CFrame = prt37.CFrame --* CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2356. tehlaz0r.Velocity = Torso.CFrame.lookVector * 50
  2357. --[[v=Instance.new("BodyVelocity")
  2358. v.P=3000
  2359. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2360. v.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)
  2361. v.Parent=tehlaz0r]]
  2362. local TLM = Instance.new("CylinderMesh")
  2363. TLM.Parent = tehlaz0r
  2364. TLM.Scale = lazmsh.Scale - Vector3.new(0,3.5,0)
  2365. lazwel.Part0 = laz0rhed
  2366. lazwel.Part1 = tehlaz0r
  2367. lazwel.C0 = CFrame.new(0, 4, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2368. local force = Instance.new("BodyForce")
  2369. force.Parent = tehlaz0r
  2370. force.force = Vector3.new(0,8480,0)
  2371. local c = game.Workspace:GetChildren();
  2372. for i = 1, #c do
  2373. local hum = c[i]:findFirstChild("Humanoid")
  2374. if hum ~= nil and hum.Health ~= 0 then
  2375. local head = c[i]:findFirstChild("Head");
  2376. if head ~= nil then
  2377. local targ = head.Position - tehlaz0r.Position;
  2378. local mag = targ.magnitude;
  2379. if mag <= 3 and c[i].Name ~= Player.Name then
  2380. coroutine.resume(coroutine.create(function()
  2381. for i = 0,1,0.1 do
  2382. wait()
  2383. DBHit(head.Parent.Torso,tehlaz0r)
  2384. end
  2385. end))
  2386. end
  2387. end
  2388. end
  2389. end
  2390. coroutine.resume(coroutine.create(function()
  2391. wait(20)
  2392. tehlaz0r.Parent = nil
  2393. end))
  2394. coroutine.resume(coroutine.create(function()
  2395. while tehlaz0r.Parent ~= nil do
  2396. wait(0)
  2397. local lazclon = tehlaz0r:Clone()
  2398. lazclon.Anchored = true
  2399. lazclon.Parent = workspace
  2400. local c = game.Workspace:GetChildren();
  2401. for i = 1, #c do
  2402. local hum = c[i]:findFirstChild("Humanoid")
  2403. if hum ~= nil and hum.Health ~= 0 then
  2404. local head = c[i]:findFirstChild("Head");
  2405. if head ~= nil then
  2406. local targ = head.Position - lazclon.Position;
  2407. local mag = targ.magnitude;
  2408. if mag <= 3 and c[i].Name ~= Player.Name then
  2409. coroutine.resume(coroutine.create(function()
  2410. for i = 0,1,0.1 do
  2411. wait()
  2412. DBHit1(head,lazclon)
  2413. end
  2414. end))
  2415. end
  2416. end
  2417. end
  2418. end
  2419. coroutine.resume(coroutine.create(function()
  2420. wait(3)
  2421. for i = 0,1,0.1 do
  2422. wait()
  2423. lazclon.Transparency = lazclon.Transparency + 0.1
  2424. end
  2425. lazclon.Parent = nil
  2426. end))
  2427. end
  2428. end))
  2429. print(TLM.Scale)
  2430. end
  2431. --[[Tool Functions]]--
  2432. hold = false
  2433. function ob1d(mouse)
  2434. hold = true
  2435. oneslash()
  2436. if hold == true then
  2437. twoslash()
  2438. end
  2439. end
  2440. function ob1u(mouse)
  2441. hold = false
  2442. end
  2443. buttonhold = false
  2444. function key(key)
  2445. if attack == true then return end
  2446. if key == "q" then
  2447. unload()
  2448. end
  2449. if key == "e" then
  2450. sniper()
  2451. end
  2452. if key == "r" then
  2453. kerbewmshot()
  2454. end
  2455. if key == "f" then
  2456. crush()
  2457. end
  2458. if key == "z" then
  2459. elecshoot()
  2460. end
  2461. if key == "x" then
  2462. laz0rshoot()
  2463. end
  2464. if key == "c" then
  2465. cycloneskates()
  2466. end
  2467. end
  2468. function key2(key)
  2469. charging2 = false
  2470. tornadoing = false
  2471. end
  2472. function s(mouse)
  2473. mouse.Button1Down:connect(function() ob1d(mouse) end)
  2474. mouse.Button1Up:connect(function() ob1u(mouse) end)
  2475. mouse.KeyDown:connect(key)
  2476. mouse.KeyUp:connect(key2)
  2477. unsheathed = true
  2478. player = Player
  2479. ch = Character
  2480. RSH = ch.Torso["Right Shoulder"]
  2481. LSH = ch.Torso["Left Shoulder"]
  2482. --
  2483. RSH.Parent = nil
  2484. LSH.Parent = nil
  2485. --
  2486. RW.Part0 = ch.Torso
  2487. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2488. RW.C1 = CFrame.new(0, 0.5, 0)
  2489. RW.Part1 = ch["Right Arm"]
  2490. RW.Parent = ch.Torso
  2491. --_G.R = RW
  2492. --
  2493. LW.Part0 = ch.Torso
  2494. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2495. LW.C1 = CFrame.new(0, 0.5, 0)
  2496. LW.Part1 = ch["Left Arm"]
  2497. LW.Parent = ch.Torso
  2498. --_G.L = LW
  2499. --
  2500. equipanim()
  2501. end
  2502. function ds(mouse)
  2503. unsheathed = false
  2504. hideanim()
  2505. Character.Humanoid.WalkSpeed = 16
  2506. RW.Parent = nil
  2507. LW.Parent = nil
  2508. RSH.Parent = player.Character.Torso
  2509. LSH.Parent = player.Character.Torso
  2510. end
  2511. Bin.Selected:connect(s)
  2512. Bin.Deselected:connect(ds)
  2513.  
  2514. function onRunning(speed)
  2515. if skill == true then return end
  2516. end
  2517. Character.Humanoid.Running:connect(onRunning)
  2518. while true do
  2519. wait(0)
  2520. end
  2521. -- lego
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement