Advertisement
PASTEBINWARRIOR

Untitled

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