Advertisement
InfectionBlank

Untitled

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