Advertisement
Silver_cole

dick in my face

Sep 23rd, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Player = game:GetService("Players").silver22352
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. LeftArm = Character["Left Arm"]
  8. LeftLeg = Character["Left Leg"]
  9. RightArm = Character["Right Arm"]
  10. RightLeg = Character["Right Leg"]
  11. LS = Torso["Left Shoulder"]
  12. LH = Torso["Left Hip"]
  13. RS = Torso["Right Shoulder"]
  14. RH = Torso["Right Hip"]
  15. attack = false
  16. attacktype = 1
  17. mindamage = 5
  18. maxdamage = 30
  19. crtmaxdamage = 60
  20. omindamage = 5
  21. omaxdamage = 30
  22. ocrtmaxdamage = 60
  23. crtrate = 12
  24. ssh = false
  25. atktypez = 1
  26. Hitdeb = 0
  27. --player
  28. player = nil
  29. --save shoulders
  30. RSH, LSH , RHL, LHL = nil, nil , nil , nil
  31. --welds
  32. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  33. --what anim
  34. anim = "none"
  35. --other var
  36. player = Player
  37. ch = Character
  38. aa = false
  39. AoETrue = {}
  40. function RWFunc()
  41. RSH = ch.Torso["Right Shoulder"]
  42. RW.Part0 = ch.Torso
  43. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  44. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  45. RW.Part1 = ch["Right Arm"]
  46. RW.Parent = ch.Torso
  47. end
  48. function LWFunc()
  49. LSH = ch.Torso["Left Shoulder"]
  50. LW.Part0 = ch.Torso
  51. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  52. LW.C1 = CFrame.new(0, 0.5, 0)
  53. LW.Part1 = ch["Left Arm"]
  54. LW.Parent = ch.Torso
  55. end
  56. function RWLFunc()
  57. RHL = ch.Torso["Right Hip"]
  58. RWL.Part0 = ch.Torso
  59. RWL.C0 = CFrame.new(1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  60. RWL.C1 = CFrame.new(0.5, 1, 0)
  61. RWL.Part1 = ch["Right Leg"]
  62. RWL.Parent = ch.Torso
  63. end
  64. function LWLFunc()
  65. LHL = ch.Torso["Left Hip"]
  66. LWL.Part0 = ch.Torso
  67. LWL.C0 = CFrame.new(-1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  68. LWL.C1 = CFrame.new(-0.5, 1, 0)
  69. LWL.Part1 = ch["Left Leg"]
  70. LWL.Parent = ch.Torso
  71. end
  72. function RWLRem()
  73. RWL.Parent = nil
  74. RHL.Parent = player.Character.Torso
  75. end
  76. function LWLRem()
  77. LWL.Parent = nil
  78. LHL.Parent = player.Character.Torso
  79. end
  80. function LegsFix()
  81. coroutine.resume(coroutine.create(function()
  82. wait(0.2)
  83. RWL.Parent = nil
  84. LWL.Parent = nil
  85. wait()
  86. LHL.Parent = player.Character.Torso
  87. RHL.Parent = player.Character.Torso
  88. end))
  89. end
  90. function RWRem()
  91. RW.Parent = nil
  92. RSH.Parent = player.Character.Torso
  93. end
  94. function LWRem()
  95. LW.Parent = nil
  96. LSH.Parent = player.Character.Torso
  97. end
  98. if Character:findFirstChild("SoulEater",true) ~= nil then
  99. Character:findFirstChild("SoulEater",true).Parent = nil
  100. end
  101. if Character:findFirstChild("Weapon",true) ~= nil then
  102. Character:findFirstChild("Weapon",true).Parent = nil
  103. end
  104. local swordholder = Instance.new("Model")
  105. swordholder.Name = "SoulEater"
  106. swordholder.Parent = Character
  107. bladecolor = BrickColor.new("Gold")
  108. handlecolor = BrickColor.new("Really black")
  109. local msh1 = Instance.new("CylinderMesh")
  110. msh1.Scale = Vector3.new(0.2,3,0.2)
  111. msh1.Offset = Vector3.new(0,0.5,0)
  112. local msh2 = Instance.new("BlockMesh")
  113. msh2.Scale = Vector3.new(0.1,0.9125,0.5)
  114. msh2.Offset = Vector3.new(0,-0.2,0)
  115. local msh3 = Instance.new("SpecialMesh")
  116. msh3.Scale = Vector3.new(0.1,0.25,0.25)
  117. msh3.MeshType = "Wedge"
  118. local msh4 = Instance.new("SpecialMesh")
  119. msh4.Scale = Vector3.new(0.1,0.25,0.25)
  120. msh4.MeshType = "Wedge"
  121. local msh5 = Instance.new("SpecialMesh")
  122. msh5.Scale = Vector3.new(0.251,0.75,0.5)
  123. msh5.MeshType = "Sphere"
  124. local msh6 = Instance.new("SpecialMesh")
  125. msh6.Scale = Vector3.new(0.275,0.65,0.45)
  126. msh6.MeshType = "Sphere"
  127. local msh7 = Instance.new("SpecialMesh")
  128. msh7.Scale = Vector3.new(0.1,0.25,0.1)
  129. msh7.MeshType = "Wedge"
  130. local msh8 = Instance.new("SpecialMesh")
  131. msh8.Scale = Vector3.new(0.1,0.25,0.1)
  132. msh8.MeshType = "Wedge"
  133. local msh9 = Instance.new("SpecialMesh")
  134. msh9.Scale = Vector3.new(0.1,0.125,0.1)
  135. msh9.MeshType = "Wedge"
  136. local msh10 = Instance.new("SpecialMesh")
  137. msh10.Scale = Vector3.new(0.1,0.125,0.1)
  138. msh10.MeshType = "Wedge"
  139. local msh11 = Instance.new("SpecialMesh")
  140. msh11.Scale = Vector3.new(0.1,0.125,0.1)
  141. msh11.MeshType = "Wedge"
  142. local msh12 = Instance.new("SpecialMesh")
  143. msh12.Scale = Vector3.new(0.1,0.125,0.1)
  144. msh12.MeshType = "Wedge"
  145. local msh13 = Instance.new("SpecialMesh")
  146. msh13.Scale = Vector3.new(0.1,0.125,0.1)
  147. msh13.MeshType = "Wedge"
  148. local msh14 = Instance.new("SpecialMesh")
  149. msh14.Scale = Vector3.new(0.1,0.125,0.1)
  150. msh14.MeshType = "Wedge"
  151. local msh15 = Instance.new("SpecialMesh")
  152. msh15.Scale = Vector3.new(0.1,0.125,0.1)
  153. msh15.MeshType = "Wedge"
  154. local msh16 = Instance.new("SpecialMesh")
  155. msh16.Scale = Vector3.new(0.1,0.125,0.1)
  156. msh16.MeshType = "Wedge"
  157. local msh17 = Instance.new("SpecialMesh")
  158. msh17.Scale = Vector3.new(0.1,0.5,0.1)
  159. msh17.MeshType = "Wedge"
  160. local msh18 = Instance.new("SpecialMesh")
  161. msh18.Scale = Vector3.new(0.1,0.5,0.1)
  162. msh18.MeshType = "Wedge"
  163. local msh19 = Instance.new("SpecialMesh")
  164. msh19.Scale = Vector3.new(0.1,0.25,0.1)
  165. msh19.MeshType = "Wedge"
  166. local msh20 = Instance.new("SpecialMesh")
  167. msh20.Scale = Vector3.new(0.1,0.25,0.1)
  168. msh20.MeshType = "Wedge"
  169. local msh21 = Instance.new("SpecialMesh")
  170. msh21.Scale = Vector3.new(0.1,0.125,0.1)
  171. msh21.MeshType = "Wedge"
  172. local msh22 = Instance.new("SpecialMesh")
  173. msh22.Scale = Vector3.new(0.1,0.125,0.1)
  174. msh22.MeshType = "Wedge"
  175. local msh23 = Instance.new("SpecialMesh")
  176. msh23.Scale = Vector3.new(0.1,0.375,0.2)
  177. msh23.MeshType = "Wedge"
  178. local msh24 = Instance.new("SpecialMesh")
  179. msh24.Scale = Vector3.new(0.1,0.375,0.2)
  180. msh24.MeshType = "Wedge"
  181. local msh25 = Instance.new("SpecialMesh")
  182. msh25.Scale = Vector3.new(0.1,0.0625,0.2)
  183. msh25.MeshType = "Wedge"
  184. local msh26 = Instance.new("SpecialMesh")
  185. msh26.Scale = Vector3.new(0.1,0.0625,0.2)
  186. msh26.MeshType = "Wedge"
  187. local msh27 = Instance.new("SpecialMesh")
  188. msh27.Scale = Vector3.new(0.1,0.5,0.3)
  189. msh27.MeshType = "Wedge"
  190. local msh28 = Instance.new("SpecialMesh")
  191. msh28.Scale = Vector3.new(0.1,0.5,0.3)
  192. msh28.MeshType = "Wedge"
  193. local msh29 = Instance.new("CylinderMesh")
  194. msh29.Scale = Vector3.new(0.2,0.5,0.2)
  195. local msh30 = Instance.new("CylinderMesh")
  196. msh30.Scale = Vector3.new(0.2,0.5,0.2)
  197. local msh31 = Instance.new("SpecialMesh")
  198. msh31.Scale = Vector3.new(0.2,0.25,0.2)
  199. msh31.MeshType = "Wedge"
  200. local msh32 = Instance.new("SpecialMesh")
  201. msh32.Scale = Vector3.new(0.2,0.25,0.2)
  202. msh32.MeshType = "Wedge"
  203. local prt1 = Instance.new("Part")
  204. prt1.formFactor = 1
  205. prt1.CanCollide = false
  206. prt1.Name = "Handle"
  207. prt1.Locked = true
  208. prt1.Size = Vector3.new(1,1,1)
  209. prt1.Parent = swordholder
  210. msh1.Parent = prt1
  211. prt1.BrickColor = handlecolor
  212. local prt2 = Instance.new("Part")
  213. prt2.formFactor = 1
  214. prt2.CanCollide = false
  215. prt2.Name = "Blade"
  216. prt2.Locked = true
  217. prt2.Size = Vector3.new(1,4,1)
  218. prt2.Parent = swordholder
  219. prt2.Reflectance = 0.25
  220. msh2.Parent = prt2
  221. prt2.BrickColor = bladecolor
  222. local prt3 = Instance.new("Part")
  223. prt3.formFactor = 1
  224. prt3.CanCollide = false
  225. prt3.Name = "BladeTip1"
  226. prt3.Locked = true
  227. prt3.Size = Vector3.new(1,1,1)
  228. prt3.Parent = swordholder
  229. prt3.Reflectance = 0.25
  230. msh3.Parent = prt3
  231. prt3.BrickColor = bladecolor
  232. local prt4 = Instance.new("Part")
  233. prt4.formFactor = 1
  234. prt4.CanCollide = false
  235. prt4.Name = "BladeTip2"
  236. prt4.Locked = true
  237. prt4.Size = Vector3.new(1,1,1)
  238. prt4.Parent = swordholder
  239. prt4.Reflectance = 0.25
  240. msh4.Parent = prt4
  241. prt4.BrickColor = bladecolor
  242. local prt5 = Instance.new("Part")
  243. prt5.formFactor = 1
  244. prt5.CanCollide = false
  245. prt5.Name = "BladeP1"
  246. prt5.Locked = true
  247. prt5.Size = Vector3.new(1,1,1)
  248. prt5.Parent = swordholder
  249. prt5.Reflectance = 0
  250. msh5.Parent = prt5
  251. prt5.BrickColor = handlecolor
  252. local prt6 = Instance.new("Part")
  253. prt6.formFactor = 1
  254. prt6.CanCollide = false
  255. prt6.Name = "BladeP2"
  256. prt6.Locked = true
  257. prt6.Size = Vector3.new(1,1,1)
  258. prt6.Parent = swordholder
  259. prt6.Reflectance = 0.2
  260. msh6.Parent = prt6
  261. prt6.BrickColor = bladecolor
  262. local prt7 = Instance.new("Part")
  263. prt7.formFactor = 1
  264. prt7.CanCollide = false
  265. prt7.Name = "BladeP3"
  266. prt7.Locked = true
  267. prt7.Size = Vector3.new(1,1,1)
  268. prt7.Parent = swordholder
  269. prt7.Reflectance = 0.25
  270. msh7.Parent = prt7
  271. prt7.BrickColor = bladecolor
  272. local prt8 = Instance.new("Part")
  273. prt8.formFactor = 1
  274. prt8.CanCollide = false
  275. prt8.Name = "BladeP4"
  276. prt8.Locked = true
  277. prt8.Size = Vector3.new(1,1,1)
  278. prt8.Parent = swordholder
  279. prt8.Reflectance = 0.25
  280. msh8.Parent = prt8
  281. prt8.BrickColor = bladecolor
  282. local prt9 = Instance.new("Part")
  283. prt9.formFactor = 1
  284. prt9.CanCollide = false
  285. prt9.Name = "BladeP5"
  286. prt9.Locked = true
  287. prt9.Size = Vector3.new(1,1,1)
  288. prt9.Parent = swordholder
  289. prt9.Reflectance = 0.25
  290. msh9.Parent = prt9
  291. prt9.BrickColor = bladecolor
  292. local prt10 = Instance.new("Part")
  293. prt10.formFactor = 1
  294. prt10.CanCollide = false
  295. prt10.Name = "BladeP6"
  296. prt10.Locked = true
  297. prt10.Size = Vector3.new(1,1,1)
  298. prt10.Parent = swordholder
  299. prt10.Reflectance = 0.25
  300. msh10.Parent = prt10
  301. prt10.BrickColor = bladecolor
  302. local prt11 = Instance.new("Part")
  303. prt11.formFactor = 1
  304. prt11.CanCollide = false
  305. prt11.Name = "BladeP7"
  306. prt11.Locked = true
  307. prt11.Size = Vector3.new(1,1,1)
  308. prt11.Parent = swordholder
  309. prt11.Reflectance = 0.25
  310. msh11.Parent = prt11
  311. prt11.BrickColor = bladecolor
  312. local prt12 = Instance.new("Part")
  313. prt12.formFactor = 1
  314. prt12.CanCollide = false
  315. prt12.Name = "BladeP8"
  316. prt12.Locked = true
  317. prt12.Size = Vector3.new(1,1,1)
  318. prt12.Parent = swordholder
  319. prt12.Reflectance = 0.25
  320. msh12.Parent = prt12
  321. prt12.BrickColor = bladecolor
  322. local prt13 = Instance.new("Part")
  323. prt13.formFactor = 1
  324. prt13.CanCollide = false
  325. prt13.Name = "BladeP9"
  326. prt13.Locked = true
  327. prt13.Size = Vector3.new(1,1,1)
  328. prt13.Parent = swordholder
  329. prt13.Reflectance = 0.25
  330. msh13.Parent = prt13
  331. prt13.BrickColor = bladecolor
  332. local prt14 = Instance.new("Part")
  333. prt14.formFactor = 1
  334. prt14.CanCollide = false
  335. prt14.Name = "BladeP10"
  336. prt14.Locked = true
  337. prt14.Size = Vector3.new(1,1,1)
  338. prt14.Parent = swordholder
  339. prt14.Reflectance = 0.25
  340. msh14.Parent = prt14
  341. prt14.BrickColor = bladecolor
  342. local prt15 = Instance.new("Part")
  343. prt15.formFactor = 1
  344. prt15.CanCollide = false
  345. prt15.Name = "BladeP11"
  346. prt15.Locked = true
  347. prt15.Size = Vector3.new(1,1,1)
  348. prt15.Parent = swordholder
  349. prt15.Reflectance = 0.25
  350. msh15.Parent = prt15
  351. prt15.BrickColor = bladecolor
  352. local prt16 = Instance.new("Part")
  353. prt16.formFactor = 1
  354. prt16.CanCollide = false
  355. prt16.Name = "BladeP12"
  356. prt16.Locked = true
  357. prt16.Size = Vector3.new(1,1,1)
  358. prt16.Parent = swordholder
  359. prt16.Reflectance = 0.25
  360. msh16.Parent = prt16
  361. prt16.BrickColor = bladecolor
  362. local prt17 = Instance.new("Part")
  363. prt17.formFactor = 1
  364. prt17.CanCollide = false
  365. prt17.Name = "BladeP13"
  366. prt17.Locked = true
  367. prt17.Size = Vector3.new(1,1,1)
  368. prt17.Parent = swordholder
  369. prt17.Reflectance = 0.25
  370. msh17.Parent = prt17
  371. prt17.BrickColor = bladecolor
  372. local prt18 = Instance.new("Part")
  373. prt18.formFactor = 1
  374. prt18.CanCollide = false
  375. prt18.Name = "BladeP14"
  376. prt18.Locked = true
  377. prt18.Size = Vector3.new(1,1,1)
  378. prt18.Parent = swordholder
  379. prt18.Reflectance = 0.25
  380. msh18.Parent = prt18
  381. prt18.BrickColor = bladecolor
  382. local prt19 = Instance.new("Part")
  383. prt19.formFactor = 1
  384. prt19.CanCollide = false
  385. prt19.Name = "BladeP15"
  386. prt19.Locked = true
  387. prt19.Size = Vector3.new(1,1,1)
  388. prt19.Parent = swordholder
  389. prt19.Reflectance = 0.25
  390. msh19.Parent = prt19
  391. prt19.BrickColor = bladecolor
  392. local prt20 = Instance.new("Part")
  393. prt20.formFactor = 1
  394. prt20.CanCollide = false
  395. prt20.Name = "BladeP16"
  396. prt20.Locked = true
  397. prt20.Size = Vector3.new(1,1,1)
  398. prt20.Parent = swordholder
  399. prt20.Reflectance = 0.25
  400. msh20.Parent = prt20
  401. prt20.BrickColor = bladecolor
  402. local prt21 = Instance.new("Part")
  403. prt21.formFactor = 1
  404. prt21.CanCollide = false
  405. prt21.Name = "BladeP17"
  406. prt21.Locked = true
  407. prt21.Size = Vector3.new(1,1,1)
  408. prt21.Parent = swordholder
  409. prt21.Reflectance = 0.25
  410. msh21.Parent = prt21
  411. prt21.BrickColor = bladecolor
  412. local prt22 = Instance.new("Part")
  413. prt22.formFactor = 1
  414. prt22.CanCollide = false
  415. prt22.Name = "BladeP18"
  416. prt22.Locked = true
  417. prt22.Size = Vector3.new(1,1,1)
  418. prt22.Parent = swordholder
  419. prt22.Reflectance = 0.25
  420. msh22.Parent = prt22
  421. prt22.BrickColor = bladecolor
  422. local prt23 = Instance.new("Part")
  423. prt23.formFactor = 1
  424. prt23.CanCollide = false
  425. prt23.Name = "BladeP19"
  426. prt23.Locked = true
  427. prt23.Size = Vector3.new(1,1,1)
  428. prt23.Parent = swordholder
  429. prt23.Reflectance = 0.25
  430. msh23.Parent = prt23
  431. prt23.BrickColor = bladecolor
  432. local prt24 = Instance.new("Part")
  433. prt24.formFactor = 1
  434. prt24.CanCollide = false
  435. prt24.Name = "BladeP20"
  436. prt24.Locked = true
  437. prt24.Size = Vector3.new(1,1,1)
  438. prt24.Parent = swordholder
  439. prt24.Reflectance = 0.25
  440. msh24.Parent = prt24
  441. prt24.BrickColor = bladecolor
  442. local prt25 = Instance.new("Part")
  443. prt25.formFactor = 1
  444. prt25.CanCollide = false
  445. prt25.Name = "BladeP21"
  446. prt25.Locked = true
  447. prt25.Size = Vector3.new(1,1,1)
  448. prt25.Parent = swordholder
  449. prt25.Reflectance = 0.25
  450. msh25.Parent = prt25
  451. prt25.BrickColor = bladecolor
  452. local prt26 = Instance.new("Part")
  453. prt26.formFactor = 1
  454. prt26.CanCollide = false
  455. prt26.Name = "BladeP22"
  456. prt26.Locked = true
  457. prt26.Size = Vector3.new(1,1,1)
  458. prt26.Parent = swordholder
  459. prt26.Reflectance = 0.25
  460. msh26.Parent = prt26
  461. prt26.BrickColor = bladecolor
  462. local prt27 = Instance.new("Part")
  463. prt27.formFactor = 1
  464. prt27.CanCollide = false
  465. prt27.Name = "BladeP23"
  466. prt27.Locked = true
  467. prt27.Size = Vector3.new(1,1,1)
  468. prt27.Parent = swordholder
  469. prt27.Reflectance = 0.25
  470. msh27.Parent = prt27
  471. prt27.BrickColor = bladecolor
  472. local prt28 = Instance.new("Part")
  473. prt28.formFactor = 1
  474. prt28.CanCollide = false
  475. prt28.Name = "BladeP24"
  476. prt28.Locked = true
  477. prt28.Size = Vector3.new(1,1,1)
  478. prt28.Parent = swordholder
  479. prt28.Reflectance = 0.25
  480. msh28.Parent = prt28
  481. prt28.BrickColor = bladecolor
  482. local prt29 = Instance.new("Part")
  483. prt29.formFactor = 1
  484. prt29.CanCollide = false
  485. prt29.Name = "BladeP25"
  486. prt29.Locked = true
  487. prt29.Size = Vector3.new(1,1,1)
  488. prt29.Parent = swordholder
  489. prt29.Reflectance = 0
  490. msh29.Parent = prt29
  491. prt29.BrickColor = handlecolor
  492. local prt30 = Instance.new("Part")
  493. prt30.formFactor = 1
  494. prt30.CanCollide = false
  495. prt30.Name = "BladeP24"
  496. prt30.Locked = true
  497. prt30.Size = Vector3.new(1,1,1)
  498. prt30.Parent = swordholder
  499. prt30.Reflectance = 0
  500. msh30.Parent = prt30
  501. prt30.BrickColor = handlecolor
  502. local prt31 = Instance.new("Part")
  503. prt31.formFactor = 1
  504. prt31.CanCollide = false
  505. prt31.Name = "BladeP25"
  506. prt31.Locked = true
  507. prt31.Size = Vector3.new(1,1,1)
  508. prt31.Parent = swordholder
  509. prt31.Reflectance = 0
  510. msh31.Parent = prt31
  511. prt31.BrickColor = handlecolor
  512. local prt32 = Instance.new("Part")
  513. prt32.formFactor = 1
  514. prt32.CanCollide = false
  515. prt32.Name = "BladeP26"
  516. prt32.Locked = true
  517. prt32.Size = Vector3.new(1,1,1)
  518. prt32.Parent = swordholder
  519. prt32.Reflectance = 0
  520. msh32.Parent = prt32
  521. prt32.BrickColor = handlecolor
  522. local w1 = Instance.new("Weld")
  523. w1.Parent = prt1
  524. w1.Part0 = prt1
  525. local w2 = Instance.new("Weld")
  526. w2.Parent = prt2
  527. w2.Part0 = prt2
  528. w2.Part1 = prt1
  529. w2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  530. w2.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, -2, 0)
  531. local w3 = Instance.new("Weld")
  532. w3.Parent = prt3
  533. w3.Part0 = prt3
  534. w3.Part1 = prt2
  535. w3.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  536. w3.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, (-1.950+0.36), 0.125)
  537. local w4 = Instance.new("Weld")
  538. w4.Parent = prt4
  539. w4.Part0 = prt4
  540. w4.Part1 = prt2
  541. w4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  542. w4.C0 = CFrame.fromEulerAnglesXYZ(0, math.rad(180),0) * CFrame.new(0, (-1.95+0.36), -0.125)
  543. local w5 = Instance.new("Weld")
  544. w5.Parent = prt5
  545. w5.Part0 = prt5
  546. w5.Part1 = prt2
  547. w5.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  548. w5.C0 = CFrame.fromEulerAnglesXYZ(0, math.rad(0),0) * CFrame.new(0, 1.75, 0)
  549. local w6 = Instance.new("Weld")
  550. w6.Parent = prt6
  551. w6.Part0 = prt6
  552. w6.Part1 = prt2
  553. w6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  554. w6.C0 = CFrame.fromEulerAnglesXYZ(0, math.rad(0),0) * CFrame.new(0, 1.75, 0)
  555. local w7 = Instance.new("Weld")
  556. w7.Parent = prt7
  557. w7.Part0 = prt7
  558. w7.Part1 = prt2
  559. w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  560. w7.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(0, (-1.950+0.66), 0.3)
  561. local w8 = Instance.new("Weld")
  562. w8.Parent = prt8
  563. w8.Part0 = prt8
  564. w8.Part1 = prt2
  565. w8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  566. w8.C0 = CFrame.fromEulerAnglesXYZ(0, math.rad(180),0) * CFrame.new(0, (-1.95+0.66), -0.3)
  567. local w9 = Instance.new("Weld")
  568. w9.Parent = prt9
  569. w9.Part0 = prt9
  570. w9.Part1 = prt2
  571. w9.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  572. w9.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(180)) * CFrame.new(0, (-1.950+0.885), 0.3)
  573. local w10 = Instance.new("Weld")
  574. w10.Parent = prt10
  575. w10.Part0 = prt10
  576. w10.Part1 = prt2
  577. w10.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  578. w10.C0 = CFrame.fromEulerAnglesXYZ(0, math.rad(180),math.rad(180)) * CFrame.new(0, (-1.95+0.885), -0.3)
  579. local w11 = Instance.new("Weld")
  580. w11.Parent = prt11
  581. w11.Part0 = prt11
  582. w11.Part1 = prt2
  583. w11.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  584. w11.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(0, (-1.950+1.01), 0.3)
  585. local w12 = Instance.new("Weld")
  586. w12.Parent = prt12
  587. w12.Part0 = prt12
  588. w12.Part1 = prt2
  589. w12.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  590. w12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(180),math.rad(0)) * CFrame.new(0, (-1.95+1.01), -0.3)
  591. local w13 = Instance.new("Weld")
  592. w13.Parent = prt13
  593. w13.Part0 = prt13
  594. w13.Part1 = prt2
  595. w13.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  596. w13.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(180)) * CFrame.new(0, (-1.950+1.16--[[1.685]]), 0.3)
  597. local w14 = Instance.new("Weld")
  598. w14.Parent = prt14
  599. w14.Part0 = prt14
  600. w14.Part1 = prt2
  601. w14.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  602. w14.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(180),math.rad(180)) * CFrame.new(0, (-1.95+1.16), -0.3)
  603. local w15 = Instance.new("Weld")
  604. w15.Parent = prt15
  605. w15.Part0 = prt15
  606. w15.Part1 = prt2
  607. w15.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  608. w15.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(0, (-1.950+1.285), 0.3)
  609. local w16 = Instance.new("Weld")
  610. w16.Parent = prt16
  611. w16.Part0 = prt16
  612. w16.Part1 = prt2
  613. w16.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  614. w16.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(180),math.rad(0)) * CFrame.new(0, (-1.95+1.285), -0.3)
  615. local w17 = Instance.new("Weld")
  616. w17.Parent = prt17
  617. w17.Part0 = prt17
  618. w17.Part1 = prt2
  619. w17.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  620. w17.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(180)) * CFrame.new(0, (-1.950+(1.285+0.375)), 0.3)
  621. local w18 = Instance.new("Weld")
  622. w18.Parent = prt18
  623. w18.Part0 = prt18
  624. w18.Part1 = prt2
  625. w18.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  626. w18.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(180),math.rad(180)) * CFrame.new(0, (-1.95+(1.285+0.375)), -0.3)
  627. local w19 = Instance.new("Weld")
  628. w19.Parent = prt19
  629. w19.Part0 = prt19
  630. w19.Part1 = prt2
  631. w19.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  632. w19.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(0, (-1.950+(1.285+1.08)), 0.3)
  633. local w20 = Instance.new("Weld")
  634. w20.Parent = prt20
  635. w20.Part0 = prt20
  636. w20.Part1 = prt2
  637. w20.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  638. w20.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(180),math.rad(0)) * CFrame.new(0, (-1.95+(1.285+1.08)), -0.3)
  639. local w21 = Instance.new("Weld")
  640. w21.Parent = prt21
  641. w21.Part0 = prt21
  642. w21.Part1 = prt2
  643. w21.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  644. w21.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(180)) * CFrame.new(0, (-1.950+(1.285+1.305)), 0.3)
  645. local w22 = Instance.new("Weld")
  646. w22.Parent = prt22
  647. w22.Part0 = prt22
  648. w22.Part1 = prt2
  649. w22.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  650. w22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(180),math.rad(180)) * CFrame.new(0, (-1.95+(1.285+1.305)), -0.3)
  651. local w23 = Instance.new("Weld")
  652. w23.Parent = prt23
  653. w23.Part0 = prt23
  654. w23.Part1 = prt2
  655. w23.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  656. w23.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(0, (-1.950+(1.285+1.6)), 0.35)
  657. local w24 = Instance.new("Weld")
  658. w24.Parent = prt24
  659. w24.Part0 = prt24
  660. w24.Part1 = prt2
  661. w24.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  662. w24.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(180),math.rad(0)) * CFrame.new(0, (-1.95+(1.285+1.6)), -0.35)
  663. local w25 = Instance.new("Weld")
  664. w25.Parent = prt25
  665. w25.Part0 = prt25
  666. w25.Part1 = prt2
  667. w25.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  668. w25.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(180)) * CFrame.new(0, (-1.95+(1.285+1.8625)), 0.35)
  669. local w26 = Instance.new("Weld")
  670. w26.Parent = prt26
  671. w26.Part0 = prt26
  672. w26.Part1 = prt2
  673. w26.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  674. w26.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(180),math.rad(180)) * CFrame.new(0, (-1.95+(1.285+1.8625)), -0.35)
  675. local w27 = Instance.new("Weld")
  676. w27.Parent = prt27
  677. w27.Part0 = prt27
  678. w27.Part1 = prt2
  679. w27.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  680. w27.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(0, (-1.95+(1.285+2.175)), 0.4)
  681. local w28 = Instance.new("Weld")
  682. w28.Parent = prt28
  683. w28.Part0 = prt28
  684. w28.Part1 = prt2
  685. w28.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  686. w28.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(180),math.rad(0)) * CFrame.new(0, (-1.95+(1.285+2.175)), -0.4)
  687. local w29 = Instance.new("Weld")
  688. w29.Parent = prt29
  689. w29.Part0 = prt29
  690. w29.Part1 = prt2
  691. w29.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  692. w29.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0,math.rad(0)) * CFrame.new(0, (1.95+(0)), 0.4)
  693. local w30 = Instance.new("Weld")
  694. w30.Parent = prt30
  695. w30.Part0 = prt30
  696. w30.Part1 = prt2
  697. w30.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  698. w30.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180),math.rad(0)) * CFrame.new(0, (1.95+(0)), -0.4)
  699. local w31 = Instance.new("Weld")
  700. w31.Parent = prt31
  701. w31.Part0 = prt31
  702. w31.Part1 = prt2
  703. w31.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  704. w31.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-135), 0,math.rad(0)) * CFrame.new(0, (2.05+(0)), -0.74)
  705. local w32 = Instance.new("Weld")
  706. w32.Parent = prt32
  707. w32.Part0 = prt32
  708. w32.Part1 = prt2
  709. w32.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  710. w32.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-135), math.rad(180),math.rad(0)) * CFrame.new(0, (2.05+(0)), 0.74)
  711. local RAP = Instance.new("Part")
  712. RAP.formFactor = 0
  713. RAP.CanCollide = false
  714. RAP.Name = "RAPart"
  715. RAP.Locked = true
  716. RAP.Size = Vector3.new(1,1,1)
  717. RAP.Parent = swordholder
  718. RAP.Transparency = 1
  719. local w = Instance.new("Weld")
  720. w.Parent = RAP
  721. w.Part0 = RAP
  722. w.Part1 = RightArm
  723. w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  724. w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  725. function unequipweld()
  726. w1.Part1 = Torso
  727. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  728. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-225),math.rad(-90), 0) * CFrame.new(-0.7, -1, -0.6)
  729. end
  730. unequipweld()
  731. function equipweld()
  732. w1.Part1 = RAP
  733. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  734. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0) * CFrame.new(0, 0, 0)
  735. end
  736. function ss(parent,p)
  737. local SlashSound = Instance.new("Sound")
  738. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  739. SlashSound.Parent = parent
  740. SlashSound.Volume = .7
  741. SlashSound.Pitch = p
  742. SlashSound.PlayOnRemove = true
  743. coroutine.resume(coroutine.create(function()
  744. wait()
  745. SlashSound.Parent = nil
  746. end))
  747. end
  748. function uss(parent,p)
  749. local SlashSound = Instance.new("Sound")
  750. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  751. SlashSound.Parent = parent
  752. SlashSound.Volume = .7
  753. SlashSound.Pitch = p
  754. SlashSound.PlayOnRemove = true
  755. coroutine.resume(coroutine.create(function()
  756. wait()
  757. SlashSound.Parent = nil
  758. end))
  759. end
  760. function cs(parent,p)
  761. local SlashSound = Instance.new("Sound")
  762. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  763. SlashSound.Parent = parent
  764. SlashSound.Volume = .7
  765. SlashSound.Pitch = p
  766. SlashSound.PlayOnRemove = true
  767. coroutine.resume(coroutine.create(function()
  768. wait()
  769. SlashSound.Parent = nil
  770. end))
  771. end
  772. function ls(parent,p)
  773. local SlashSound = Instance.new("Sound")
  774. SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
  775. SlashSound.Parent = parent
  776. SlashSound.Volume = .7
  777. SlashSound.Pitch = p
  778. SlashSound.PlayOnRemove = true
  779. coroutine.resume(coroutine.create(function()
  780. wait()
  781. SlashSound.Parent = nil
  782. end))
  783. end
  784. function rs(parent,p)
  785. local SlashSound = Instance.new("Sound")
  786. SlashSound.SoundId = "http://www.roblox.com/asset/?id=12222084"
  787. SlashSound.Parent = parent
  788. SlashSound.Volume = .7
  789. SlashSound.Pitch = p
  790. SlashSound.PlayOnRemove = true
  791. coroutine.resume(coroutine.create(function()
  792. wait()
  793. SlashSound.Parent = nil
  794. end))
  795. end
  796. function b2s(parent,p)
  797. local SlashSound = Instance.new("Sound")
  798. SlashSound.SoundId = "http://www.roblox.com/asset/?id=12222065"
  799. SlashSound.Parent = parent
  800. SlashSound.Volume = .7
  801. SlashSound.Pitch = p
  802. SlashSound.PlayOnRemove = true
  803. coroutine.resume(coroutine.create(function()
  804. wait(0.1)
  805. SlashSound.Parent = nil
  806. end))
  807. end
  808. function hideanim()
  809. coroutine.resume(coroutine.create(function()
  810. for i = 1, 0 , -0.1 do
  811. wait()
  812. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)*i) * CFrame.new(0, 0, 0.75*i)
  813. end
  814. end))
  815. for i = 1 , 0 , -0.1 do
  816. wait()
  817. RW.C0 = CFrame.new(1.5-0.5*i,0.5-0.25*i,-0.75*i) * CFrame.fromEulerAnglesXYZ(math.rad(67.5-22.5*i), 0, math.rad(22.5-67.5*i))
  818. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  819. LW.C0 = CFrame.new(-1.5+0.5*i, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45*i),0,math.rad(45*i))
  820. LW.C1 = CFrame.new(0, 0.5, 0)
  821. end
  822. LWRem()
  823. for i = 1 , 0 , -0.15 do
  824. wait()
  825. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(135)-math.rad(67.5)*i, 0, math.rad(45-22.5*i))
  826. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  827. LW.C0 = CFrame.new(-1.5, 0.5, -0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,1-1*i)
  828. LW.C1 = CFrame.new(0, 0.5, 0)
  829. end
  830. coroutine.resume(coroutine.create(function()
  831. for i = 1 , 0 , -0.1 do
  832. wait()
  833. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, 0) * CFrame.new(0, 0,0.75)
  834. end
  835. end))
  836. for i = 1 , 0 , -0.1 do
  837. wait()
  838. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(270)-math.rad(135)*i, 1-1*i,-1+(1+math.rad(45))*i)
  839. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  840. LW.C0 = CFrame.new(-1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,1*i)
  841. LW.C1 = CFrame.new(0, 0.5, 0)
  842. end
  843. unequipweld()
  844. for i = 1 , 0 , -0.2 do
  845. wait()
  846. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(270)*i, 1*i,-1*i)
  847. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  848. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  849. LW.C1 = CFrame.new(0, 0.5, 0)
  850. end
  851. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0)
  852. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  853. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  854. LW.C1 = CFrame.new(0, 0.5, 0)
  855. end
  856. function equipanim()
  857. attack = true
  858. for i = 0 , 1 , 0.2 do
  859. wait()
  860. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(270)*i, 1*i,-1*i)
  861. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  862. end
  863. equipweld()
  864. coroutine.resume(coroutine.create(function()
  865. for i = 0 , 1 , 0.1 do
  866. wait()
  867. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, 0) * CFrame.new(0, 0, 0)
  868. end
  869. end))
  870. uss(game.Workspace,1)
  871. for i = 0 , 1 , 0.1 do
  872. wait()
  873. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(270)-math.rad(135)*i, 1-1*i,-1+(1+math.rad(45))*i)
  874. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  875. end
  876. for i = 0 , 1 , 0.15 do
  877. wait()
  878. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(135)-math.rad(67.5)*i, 0, math.rad(45-22.5*i))
  879. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  880. end
  881. LWFunc()
  882. coroutine.resume(coroutine.create(function()
  883. for i = 0 , 1 , 0.1 do
  884. wait()
  885. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)*i) * CFrame.new(0, 0, 0.75*i)
  886. end
  887. end))
  888. for i = 0 , 1 , 0.1 do
  889. wait()
  890. RW.C0 = CFrame.new(1.5-0.5*i,0.5-0.25*i,-0.75*i) * CFrame.fromEulerAnglesXYZ(math.rad(67.5-42.5*i), 0, math.rad(22.5-67.5*i))
  891. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  892. LW.C0 = CFrame.new(-1.5+0.5*i, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25*i),0,math.rad(45*i))
  893. LW.C1 = CFrame.new(0, 0.5, 0)
  894. end
  895. attack = false
  896. end
  897. function blast(n,s,c,prt)
  898. local colors = {BrickColor.new(c)}
  899. local randomv = Vector3.new(n,n,n)
  900. local mesh = Instance.new("SpecialMesh")
  901. mesh.MeshType = "Sphere"
  902. mesh.Scale = randomv * Vector3.new(0.15,0.15,0.15)
  903. local shell = Instance.new("Part")
  904. mesh.Parent = shell
  905. shell.Anchored = true
  906. shell.formFactor = 1
  907. shell.Size = Vector3.new(1,1,1)
  908. shell.CFrame = prt.CFrame
  909. shell.Parent = swordholder
  910. shell.Transparency = 0
  911. shell.BrickColor = colors[math.random(1,#colors)]
  912. shell.CanCollide = false
  913. coroutine.resume(coroutine.create(function()
  914. for i = 0 , 1 , 0.15*s do
  915. wait()
  916. mesh.Scale = randomv * Vector3.new(i,i,i)
  917. shell.Transparency = 1*i
  918. end
  919. shell.Transparency = 1
  920. shell.Parent = nil
  921. end))
  922. end
  923. function bubblyblast(n,s,c,prt,withwaitornot)
  924. local colors = {BrickColor.new(c)}
  925. local randomv = Vector3.new(n,n,n)
  926. for i = 1 , 5 do
  927. local C = prt.CFrame
  928. local mesh = Instance.new("SpecialMesh")
  929. mesh.MeshType = "Sphere"
  930. mesh.Scale = Vector3.new(0,0,0)
  931. local shell = Instance.new("Part")
  932. mesh.Parent = shell
  933. shell.Anchored = true
  934. shell.formFactor = 0
  935. shell.Size = Vector3.new(1,1,1)
  936. shell.CFrame = CFrame.new(C.p,C.p + Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360)))
  937. shell.CFrame = shell.CFrame
  938. shell.Parent = swordholder
  939. shell.Transparency = 0
  940. shell.BrickColor = colors[math.random(1,#colors)]
  941. shell.CanCollide = false
  942. coroutine.resume(coroutine.create(function()
  943. for i = 0 , 1 , 0.1*s do
  944. wait()
  945. shell.Transparency = 1*i
  946. shell.CFrame = shell.CFrame + (shell.CFrame.lookVector * 0.25)
  947. mesh.Scale = randomv * Vector3.new(i,i,i)
  948. end
  949. shell.Transparency = 1
  950. shell.Parent = nil
  951. end))
  952. if withwaitornot == true then
  953. wait()
  954. end
  955. end
  956. end
  957. function ringblast(n,s,c,prt)
  958. local colors = {BrickColor.new(c)}
  959. local randomv = Vector3.new(n,n,n)
  960. local mesh = Instance.new("SpecialMesh")
  961. mesh.MeshType = "FileMesh"
  962. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  963. mesh.Scale = randomv * Vector3.new(2,2,2)
  964. local shell = Instance.new("Part")
  965. mesh.Parent = shell
  966. shell.Anchored = true
  967. shell.formFactor = 1
  968. shell.Size = Vector3.new(1,1,1)
  969. shell.CFrame = prt.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  970. shell.Parent = swordholder
  971. shell.Transparency = 0
  972. shell.BrickColor = colors[math.random(1,#colors)]
  973. shell.CanCollide = false
  974. coroutine.resume(coroutine.create(function()
  975. for i = 0 , 1 , 0.15*s do
  976. wait()
  977. mesh.Scale = (randomv * Vector3.new(2,2,2)) * Vector3.new(i,i,i)
  978. shell.Transparency = 1*i
  979. end
  980. shell.Transparency = 1
  981. shell.Parent = nil
  982. end))
  983. end
  984. if (script.Parent.className ~= "HopperBin") then
  985. Tool = Instance.new("HopperBin")
  986. Tool.Parent = Backpack
  987. Tool.Name = "Soul Eater"
  988. script.Parent = Tool
  989. end
  990. Bin = script.Parent
  991. function damagesplat(dmg,hit,critornot,healornot)
  992. local OffsetX = -2.5
  993. local OffsetY = 5
  994. local OffsetZ = 0
  995. local bill = Instance.new("BillboardGui")
  996. bill.Size = UDim2.new(1,0,1,0)
  997. bill.Adornee = hit
  998. bill.StudsOffset = Vector3.new(OffsetX,OffsetY,OffsetZ)
  999. bill.Parent = hit.Parent
  1000. bill.Name = "DamageSplat"
  1001. local tex = Instance.new("TextLabel")
  1002. tex.Size = UDim2.new(5,0,2.5,0)
  1003. tex.Parent = bill
  1004. tex.Text = dmg
  1005. tex.BackgroundTransparency = 1
  1006. tex.ZIndex = 4
  1007. tex.FontSize = "Size24"
  1008. local tex2 = Instance.new("ImageLabel")
  1009. tex2.Size = UDim2.new(1,0,1,0)
  1010. tex2.Parent = tex
  1011. tex2.BackgroundTransparency = 1
  1012. tex2.Image = "http://www.roblox.com/asset/?id=42611276"
  1013. if critornot == true then
  1014. tex.TextColor3 = Color3.new(1,0.2,0.2)
  1015. elseif critornot == false then
  1016. tex.TextColor3 = Color3.new(0,0,0)
  1017. end
  1018. if healornot == true then
  1019. tex.TextColor3 = Color3.new(0.2,0.5,0.5)
  1020. end
  1021. coroutine.resume(coroutine.create(function()
  1022. wait(0.25)
  1023. for i = 0 , 1 , 0.075 do
  1024. wait()
  1025. bill.StudsOffset = Vector3.new(OffsetX,OffsetY+5*i,OffsetZ)
  1026. tex.TextTransparency = 1*i
  1027. end
  1028. bill.Parent = nil
  1029. end))
  1030. end
  1031. function OT(hit)
  1032. if Hitdeb == 1 then return end
  1033. if hit.Parent == nil then return end
  1034. local hum = hit.Parent:findFirstChild("Humanoid")
  1035. if hum ~= nil and hum ~= Character.Humanoid then
  1036. local critrandomizer = math.random(1,crtrate)
  1037. if critrandomizer ~= 1 then
  1038. local rndmdamage = math.random(mindamage,maxdamage)
  1039. damagesplat(rndmdamage,hit,false)
  1040. hum:TakeDamage(rndmdamage)
  1041. elseif critrandomizer == 1 then
  1042. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  1043. damagesplat(rndmdamage,hit,true)
  1044. hum:TakeDamage(rndmdamage)
  1045. end
  1046. Hitdeb = 1
  1047. end
  1048. end
  1049. function OT(hit)
  1050. if Hitdeb == 1 then return end
  1051. if hit.Parent == nil then return end
  1052. local hum = hit.Parent:findFirstChild("Humanoid")
  1053. if hum ~= nil and hum ~= Character.Humanoid then
  1054. local critrandomizer = math.random(1,crtrate)
  1055. if critrandomizer ~= 1 then
  1056. local rndmdamage = math.random(mindamage,maxdamage)
  1057. damagesplat(rndmdamage,hit,false)
  1058. hum:TakeDamage(rndmdamage)
  1059. elseif critrandomizer == 1 then
  1060. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  1061. damagesplat(rndmdamage,hit,true)
  1062. hum:TakeDamage(rndmdamage)
  1063. end
  1064. Hitdeb = 1
  1065. end
  1066. end
  1067. function OT2(hit)
  1068. if Hitdeb == 1 then return end
  1069. if hit.Parent == nil then return end
  1070. local hum = hit.Parent:findFirstChild("Humanoid")
  1071. if hum ~= nil and hum ~= Character.Humanoid then
  1072. local critrandomizer = math.random(1,crtrate)
  1073. if critrandomizer ~= 1 then
  1074. local rndmdamage = math.random(mindamage,maxdamage)
  1075. damagesplat(rndmdamage,hit,false,false)
  1076. damagesplat(rndmdamage,Head,false,true)
  1077. hum:TakeDamage(rndmdamage)
  1078. Character.Humanoid:TakeDamage(-rndmdamage)
  1079. bubblyblast(2.5,0.5,"Bright green",hit)
  1080. elseif critrandomizer == 1 then
  1081. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  1082. damagesplat(rndmdamage,hit,true)
  1083. damagesplat(rndmdamage,Head,false,true)
  1084. hum:TakeDamage(rndmdamage)
  1085. Character.Humanoid:TakeDamage(-rndmdamage)
  1086. bubblyblast(2.5,0.5,"Bright green",hit)
  1087. end
  1088. Hitdeb = 1
  1089. end
  1090. end
  1091. function OT3(hit)
  1092. if Hitdeb == 1 then return end
  1093. if hit.Parent == nil then return end
  1094. local hum = hit.Parent:findFirstChild("Humanoid")
  1095. if hum ~= nil and hum ~= Character.Humanoid then
  1096. local hitornotrandomizer = math.random(1,3)
  1097. if hitornotrandomizer ~= 1 then
  1098. damagesplat(0,hit,false)
  1099. end
  1100. if hitornotrandomizer == 1 then
  1101. local critrandomizer = math.random(1,crtrate)
  1102. if critrandomizer ~= 1 then
  1103. local rndmdamage = math.random(mindamage,maxdamage)
  1104. damagesplat(rndmdamage,hit,false)
  1105. hum:TakeDamage(rndmdamage)
  1106. elseif critrandomizer == 1 then
  1107. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  1108. damagesplat(rndmdamage,hit,true)
  1109. hum:TakeDamage(rndmdamage)
  1110. end
  1111. end
  1112. Hitdeb = 1
  1113. end
  1114. end
  1115. function AoE(p,magnitude,damage,critornot)
  1116. local c = game.Workspace:GetChildren();
  1117. for i = 1, #c do
  1118. local hum = c[i]:findFirstChild("Humanoid")
  1119. if hum ~= nil and hum.Health ~= 0 then
  1120. local head = c[i]:findFirstChild("Head");
  1121. if head ~= nil then
  1122. local targ = head.Position - p.Position;
  1123. local mag = targ.magnitude;
  1124. if mag <= magnitude and c[i].Name ~= Character.Name then
  1125. local foundd = false
  1126. for ii = 1 , #AoETrue do
  1127. if AoETrue[ii] == c[i].Name then
  1128. foundd = true
  1129. end
  1130. end
  1131. if foundd then
  1132. end
  1133. --
  1134. if not foundd then
  1135. hum:TakeDamage(damage)
  1136. damagesplat(damage,head,critornot)
  1137. table.insert(AoETrue,c[i].Name)
  1138. end
  1139. end
  1140. end
  1141. end
  1142. end
  1143. end
  1144. function AoETremor(p,magnitude,damage,critornot)
  1145. local c = game.Workspace:GetChildren();
  1146. local founded = {}
  1147. for o = 1, #c do
  1148. local hum = c[o]:findFirstChild("Humanoid")
  1149. if hum ~= nil and hum.Health ~= 0 then
  1150. local head = c[o]:findFirstChild("Head");
  1151. if head ~= nil then
  1152. local targ = head.Position - p.Position;
  1153. local mag = targ.magnitude;
  1154. if mag <= magnitude and c[o].Name ~= Character.Name then
  1155. table.insert(founded,c[o])
  1156. end
  1157. end
  1158. end
  1159. end
  1160. if #founded ~= 0 then
  1161. local foundd = false
  1162. local randommm = math.floor(math.random(1,#founded))
  1163. for i = 1, #founded do
  1164. if randommm == i then
  1165. local hum = founded[i].Humanoid
  1166. local c = founded[i]
  1167. local CF = c.Torso.CFrame * CFrame.new(0,-4,0) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0)
  1168. local F = CFrame.new(c.Torso.Position,Torso.Position)
  1169. local CF2 = F * CFrame.new(0,-5,0) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0) + F.lookVector * 2
  1170. local earthm = Instance.new("BlockMesh")
  1171. earthm.Scale = Vector3.new(2.5,2.5,2.5)
  1172. local earth = Instance.new("Part")
  1173. earth.formFactor = 0
  1174. earth.CanCollide = false
  1175. earth.Name = "Earth1"
  1176. earth.Locked = true
  1177. earth.Anchored = true
  1178. earth.Size = Vector3.new(1,1,1)
  1179. earth.Parent = swordholder
  1180. earth.CFrame = CF
  1181. earthm.Parent = earth
  1182. earth.BrickColor = BrickColor.new("Brown")
  1183. earth.Transparency = 0
  1184. local earthm2 = Instance.new("BlockMesh")
  1185. earthm2.Scale = Vector3.new(1.5,5,1.5)
  1186. local earth2 = Instance.new("Part")
  1187. earth2.formFactor = 0
  1188. earth2.CanCollide = false
  1189. earth2.Name = "Earth2"
  1190. earth2.Locked = true
  1191. earth2.Anchored = true
  1192. earth2.Size = Vector3.new(1,1,1)
  1193. earth2.Parent = swordholder
  1194. earth2.CFrame = CF2
  1195. earthm2.Parent = earth2
  1196. earth2.BrickColor = BrickColor.new("Brown")
  1197. earth2.Transparency = 0
  1198. local earthm3 = Instance.new("SpecialMesh")
  1199. earthm3.Scale = Vector3.new(1.5,2.5,1.5)
  1200. earthm3.MeshType = "Wedge"
  1201. local earth3 = Instance.new("Part")
  1202. earth3.formFactor = 0
  1203. earth3.CanCollide = false
  1204. earth3.Name = "Earth3"
  1205. earth3.Locked = true
  1206. earth3.Anchored = true
  1207. earth3.Size = Vector3.new(1,1,1)
  1208. earth3.Parent = swordholder
  1209. earth3.CFrame = earth2.CFrame * CFrame.new(0,5,0)
  1210. earthm3.Parent = earth3
  1211. earth3.BrickColor = BrickColor.new("Brown")
  1212. earth3.Transparency = 0
  1213. hum:TakeDamage(damage)
  1214. damagesplat(damage,c.Head,critornot)
  1215. table.insert(AoETrue,founded[i].Name)
  1216. coroutine.resume(coroutine.create(function()
  1217. for i = 1 , 1 do
  1218. rs(game.Workspace,5)
  1219. end
  1220. for z = 0 , 1 , 0.2 do
  1221. wait()
  1222. earth.CFrame = CF + Vector3.new(0,1*z,0)
  1223. earth2.CFrame = CF2 + Vector3.new(0,1.5*z,0) + (F.lookVector * -2*z)
  1224. earth3.CFrame = earth2.CFrame * CFrame.new(0,3.75,0)
  1225. end
  1226. wait(2)
  1227. earth.Parent = nil
  1228. earth2.Parent = nil
  1229. earth3.Parent = nil
  1230. end))
  1231.  
  1232. end
  1233. end
  1234. end
  1235. end
  1236. function AoEQuake(p,magnitude,damage,critornot)
  1237. local c = game.Workspace:GetChildren();
  1238. local founded = {}
  1239. for o = 1, #c do
  1240. local hum = c[o]:findFirstChild("Humanoid")
  1241. if hum ~= nil and hum.Health ~= 0 then
  1242. local head = c[o]:findFirstChild("Head");
  1243. if head ~= nil then
  1244. local targ = head.Position - p.Position;
  1245. local mag = targ.magnitude;
  1246. if mag <= magnitude and c[o].Name ~= Character.Name then
  1247. table.insert(founded,c[o])
  1248. end
  1249. end
  1250. end
  1251. end
  1252. if #founded ~= 0 then
  1253. local foundd = false
  1254. local randommm = math.floor(math.random(1,#founded))
  1255. for i = 1, #founded do
  1256. if randommm == i then
  1257. local hum = founded[i].Humanoid
  1258. local c = founded[i]
  1259. local F = CFrame.new(c.Torso.Position,Torso.Position)
  1260. local CF = c.Torso.CFrame * CFrame.new(0,-4.5,1) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0) + (F.lookVector * 1)
  1261. local CF2 = (c.Torso.CFrame) * CFrame.new(0,-4.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(45+90),math.rad(0),0) + (F.lookVector * -1)
  1262. local CF3 = (c.Torso.CFrame) * CFrame.new(1.5,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-45)) + (F.lookVector * 1)
  1263. local CF4 = (c.Torso.CFrame) * CFrame.new(-1.5,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(45)) + (F.lookVector * -1)
  1264. local CF5 = (c.Torso.CFrame) * CFrame.new(0,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)) + (F.lookVector * 0)
  1265. local earthm = Instance.new("BlockMesh")
  1266. earthm.Scale = Vector3.new(1.5,4,1.5)
  1267. local earth = Instance.new("Part")
  1268. earth.formFactor = 0
  1269. earth.CanCollide = false
  1270. earth.Name = "Earth1"
  1271. earth.Locked = true
  1272. earth.Anchored = true
  1273. earth.Size = Vector3.new(1,1,1)
  1274. earth.Parent = swordholder
  1275. earth.CFrame = CF
  1276. earthm.Parent = earth
  1277. earth.BrickColor = BrickColor.new("Brown")
  1278. earth.Transparency = 0
  1279. local earthm2 = Instance.new("BlockMesh")
  1280. earthm2.Scale = Vector3.new(1.5,4,1.5)
  1281. local earth2 = Instance.new("Part")
  1282. earth2.formFactor = 0
  1283. earth2.CanCollide = false
  1284. earth2.Name = "Earth2"
  1285. earth2.Locked = true
  1286. earth2.Anchored = true
  1287. earth2.Size = Vector3.new(1,1,1)
  1288. earth2.Parent = swordholder
  1289. earth2.CFrame = CF2
  1290. earthm2.Parent = earth2
  1291. earth2.BrickColor = BrickColor.new("Brown")
  1292. earth2.Transparency = 0
  1293. local earthm3 = Instance.new("BlockMesh")
  1294. earthm3.Scale = Vector3.new(1.5,4,1.5)
  1295. local earth3 = Instance.new("Part")
  1296. earth3.formFactor = 0
  1297. earth3.CanCollide = false
  1298. earth3.Name = "Earth3"
  1299. earth3.Locked = true
  1300. earth3.Anchored = true
  1301. earth3.Size = Vector3.new(1,1,1)
  1302. earth3.Parent = swordholder
  1303. earth3.CFrame = CF3
  1304. earthm3.Parent = earth3
  1305. earth3.BrickColor = BrickColor.new("Brown")
  1306. earth3.Transparency = 0
  1307. local earthm4 = Instance.new("BlockMesh")
  1308. earthm4.Scale = Vector3.new(1.5,4,1.5)
  1309. local earth4 = Instance.new("Part")
  1310. earth4.formFactor = 0
  1311. earth4.CanCollide = false
  1312. earth4.Name = "Earth4"
  1313. earth4.Locked = true
  1314. earth4.Anchored = true
  1315. earth4.Size = Vector3.new(1,1,1)
  1316. earth4.Parent = swordholder
  1317. earth4.CFrame = CF4
  1318. earthm4.Parent = earth4
  1319. earth4.BrickColor = BrickColor.new("Brown")
  1320. earth4.Transparency = 0
  1321. local earthm5 = Instance.new("SpecialMesh")
  1322. earthm5.Scale = Vector3.new(3,5,3)
  1323. earthm5.MeshType = "FileMesh"
  1324. earthm5.MeshId = "http://www.roblox.com/asset/?id=1778999"
  1325. local earth5 = Instance.new("Part")
  1326. earth5.formFactor = 0
  1327. earth5.CanCollide = false
  1328. earth5.Name = "Earth5"
  1329. earth5.Locked = true
  1330. earth5.Anchored = true
  1331. earth5.Size = Vector3.new(1,1,1)
  1332. earth5.Parent = swordholder
  1333. earth5.CFrame = CF5
  1334. earthm5.Parent = earth5
  1335. earth5.BrickColor = BrickColor.new("Brown")
  1336. earth5.Transparency = 0
  1337. hum:TakeDamage(damage)
  1338. damagesplat(damage,c.Head,critornot)
  1339. table.insert(AoETrue,founded[i].Name)
  1340. coroutine.resume(coroutine.create(function()
  1341. for i = 1 , 3 do
  1342. rs(game.Workspace,3)
  1343. end
  1344. for z = 0 , 1 , 0.2 do
  1345. wait()
  1346. earth.CFrame = CF + Vector3.new(0,2*z,0)
  1347. earth2.CFrame = CF2 + Vector3.new(0,2*z,0)
  1348. earth3.CFrame = CF3 + Vector3.new(0,2*z,0)
  1349. earth4.CFrame = CF4 + Vector3.new(0,2*z,0)
  1350. earth5.CFrame = CF5 + Vector3.new(0,4*z,0)
  1351. end
  1352. wait(2)
  1353. for z = 0 , 1 , 0.2 do
  1354. wait()
  1355. earth.CFrame = CF + Vector3.new(0,2-2*z,0)
  1356. earth2.CFrame = CF2 + Vector3.new(0,2-2*z,0)
  1357. earth3.CFrame = CF3 + Vector3.new(0,2-2*z,0)
  1358. earth4.CFrame = CF4 + Vector3.new(0,2-2*z,0)
  1359. earth5.CFrame = CF5 + Vector3.new(0,4-7*z,0)
  1360. end
  1361. earth.Parent = nil
  1362. earth2.Parent = nil
  1363. earth3.Parent = nil
  1364. earth4.Parent = nil
  1365. earth5.Parent = nil
  1366. end))
  1367.  
  1368. end
  1369. end
  1370. end
  1371. end
  1372. function AoECataclysm(p,magnitude,damage,critornot)
  1373. local c = game.Workspace:GetChildren();
  1374. local founded = {}
  1375. for o = 1, #c do
  1376. local hum = c[o]:findFirstChild("Humanoid")
  1377. if hum ~= nil and hum.Health ~= 0 then
  1378. local head = c[o]:findFirstChild("Head");
  1379. if head ~= nil then
  1380. local targ = head.Position - p.Position;
  1381. local mag = targ.magnitude;
  1382. if mag <= magnitude and c[o].Name ~= Character.Name then
  1383. table.insert(founded,c[o])
  1384. --blast(2.5,0.5,"Gold",prt2,false)
  1385. end
  1386. end
  1387. end
  1388. end
  1389. if #founded ~= 0 then
  1390. local foundd = false
  1391. local randommm = math.floor(math.random(1,#founded))
  1392. for i = 1, #founded do
  1393. if randommm == i then
  1394. local hum = founded[i].Humanoid
  1395. local c = founded[i]
  1396. local F = CFrame.new(c.Torso.Position,Torso.Position)
  1397. local CF = c.Torso.CFrame * CFrame.new(0,-4.5,2.5) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0) + (F.lookVector * 1)
  1398. local CF2 = (c.Torso.CFrame) * CFrame.new(0,-4.5,-2.5) * CFrame.fromEulerAnglesXYZ(math.rad(45+90),math.rad(0),0) + (F.lookVector * -1)
  1399. local CF3 = (c.Torso.CFrame) * CFrame.new(3,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-45)) + (F.lookVector * 1)
  1400. local CF4 = (c.Torso.CFrame) * CFrame.new(-3,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(45)) + (F.lookVector * -1)
  1401. local CF5 = (c.Torso.CFrame) * CFrame.new(0,-20,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(math.random(-360,350)),math.rad(0)) + (F.lookVector * 0)
  1402. local earthm = Instance.new("BlockMesh")
  1403. earthm.Scale = Vector3.new(1.5,4,1.5)
  1404. local earth = Instance.new("Part")
  1405. earth.formFactor = 0
  1406. earth.CanCollide = false
  1407. earth.Name = "Earth1"
  1408. earth.Locked = true
  1409. earth.Anchored = true
  1410. earth.Size = Vector3.new(1,1,1)
  1411. earth.Parent = swordholder
  1412. earth.CFrame = CF
  1413. earthm.Parent = earth
  1414. earth.BrickColor = BrickColor.new("Brown")
  1415. earth.Transparency = 0
  1416. local earthm2 = Instance.new("BlockMesh")
  1417. earthm2.Scale = Vector3.new(1.5,4,1.5)
  1418. local earth2 = Instance.new("Part")
  1419. earth2.formFactor = 0
  1420. earth2.CanCollide = false
  1421. earth2.Name = "Earth2"
  1422. earth2.Locked = true
  1423. earth2.Anchored = true
  1424. earth2.Size = Vector3.new(1,1,1)
  1425. earth2.Parent = swordholder
  1426. earth2.CFrame = CF2
  1427. earthm2.Parent = earth2
  1428. earth2.BrickColor = BrickColor.new("Brown")
  1429. earth2.Transparency = 0
  1430. local earthm3 = Instance.new("BlockMesh")
  1431. earthm3.Scale = Vector3.new(1.5,4,1.5)
  1432. local earth3 = Instance.new("Part")
  1433. earth3.formFactor = 0
  1434. earth3.CanCollide = false
  1435. earth3.Name = "Earth3"
  1436. earth3.Locked = true
  1437. earth3.Anchored = true
  1438. earth3.Size = Vector3.new(1,1,1)
  1439. earth3.Parent = swordholder
  1440. earth3.CFrame = CF3
  1441. earthm3.Parent = earth3
  1442. earth3.BrickColor = BrickColor.new("Brown")
  1443. earth3.Transparency = 0
  1444. local earthm4 = Instance.new("BlockMesh")
  1445. earthm4.Scale = Vector3.new(1.5,4,1.5)
  1446. local earth4 = Instance.new("Part")
  1447. earth4.formFactor = 0
  1448. earth4.CanCollide = false
  1449. earth4.Name = "Earth4"
  1450. earth4.Locked = true
  1451. earth4.Anchored = true
  1452. earth4.Size = Vector3.new(1,1,1)
  1453. earth4.Parent = swordholder
  1454. earth4.CFrame = CF4
  1455. earthm4.Parent = earth4
  1456. earth4.BrickColor = BrickColor.new("Brown")
  1457. earth4.Transparency = 0
  1458. local earthm5 = Instance.new("BlockMesh")
  1459. earthm5.Scale = Vector3.new(5,15,1)
  1460. local earth5 = Instance.new("Part")
  1461. earth5.formFactor = 0
  1462. earth5.CanCollide = false
  1463. earth5.Name = "Earth5"
  1464. earth5.Locked = true
  1465. earth5.Anchored = true
  1466. earth5.Size = Vector3.new(1,1,1)
  1467. earth5.Parent = swordholder
  1468. earth5.CFrame = CF5
  1469. earthm5.Parent = earth5
  1470. earth5.BrickColor = BrickColor.new("Brown")
  1471. earth5.Transparency = 0
  1472. local earthm6 = Instance.new("SpecialMesh")
  1473. earthm6.Scale = Vector3.new(1,2,2.5)
  1474. earthm6.MeshType = "Wedge"
  1475. local earth6 = Instance.new("Part")
  1476. earth6.formFactor = 0
  1477. earth6.CanCollide = false
  1478. earth6.Name = "EarthTip1"
  1479. earth6.Locked = true
  1480. earth6.Anchored = true
  1481. earth6.Size = Vector3.new(1,1,1)
  1482. earth6.Parent = swordholder
  1483. earth6.CFrame = CF5 * CFrame.new(-1.25,8.5+22,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  1484. earthm6.Parent = earth6
  1485. earth6.BrickColor = BrickColor.new("Brown")
  1486. earth6.Transparency = 0
  1487. local earthm7 = Instance.new("SpecialMesh")
  1488. earthm7.Scale = Vector3.new(1,2,2.5)
  1489. earthm7.MeshType = "Wedge"
  1490. local earth7 = Instance.new("Part")
  1491. earth7.formFactor = 0
  1492. earth7.CanCollide = false
  1493. earth7.Name = "EarthTip2"
  1494. earth7.Locked = true
  1495. earth7.Anchored = true
  1496. earth7.Size = Vector3.new(1,1,1)
  1497. earth7.Parent = swordholder
  1498. earth7.CFrame = CF5 * CFrame.new(1.25,8.5+22,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90+180),0)
  1499. earthm7.Parent = earth7
  1500. earth7.BrickColor = BrickColor.new("Brown")
  1501. earth7.Transparency = 0
  1502. hum:TakeDamage(damage)
  1503. damagesplat(damage,c.Head,critornot)
  1504. table.insert(AoETrue,founded[i].Name)
  1505. coroutine.resume(coroutine.create(function()
  1506. for i = 1 , 5 do
  1507. rs(game.Workspace,2)
  1508. end
  1509. for z = 0 , 1 , 0.1 do
  1510. wait()
  1511. earth.CFrame = CF + Vector3.new(0,2*z,0)
  1512. earth2.CFrame = CF2 + Vector3.new(0,2*z,0)
  1513. earth3.CFrame = CF3 + Vector3.new(0,2*z,0)
  1514. earth4.CFrame = CF4 + Vector3.new(0,2*z,0)
  1515. earth5.CFrame = CF5 + Vector3.new(0,22*z,0)
  1516. earth6.CFrame = CF5 * CFrame.new(-1.25,8.5+22*z,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  1517. earth7.CFrame = CF5 * CFrame.new(1.25,8.5+22*z,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90+180),0)
  1518. end
  1519. wait(2)
  1520. for z = 0 , 1 , 0.2 do
  1521. wait()
  1522. earth.CFrame = CF + Vector3.new(0,2-2*z,0)
  1523. earth2.CFrame = CF2 + Vector3.new(0,2-2*z,0)
  1524. earth3.CFrame = CF3 + Vector3.new(0,2-2*z,0)
  1525. earth4.CFrame = CF4 + Vector3.new(0,2-2*z,0)
  1526. earth5.CFrame = CF5 + Vector3.new(0,22-30*z,0)
  1527. earth6.CFrame = CF5 * CFrame.new(-1.25,30.5-22*z,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  1528. earth7.CFrame = CF5 * CFrame.new(1.25,30.5-22*z,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90+180),0)
  1529. end
  1530. earth.Parent = nil
  1531. earth2.Parent = nil
  1532. earth3.Parent = nil
  1533. earth4.Parent = nil
  1534. earth5.Parent = nil
  1535. earth6.Parent = nil
  1536. earth7.Parent = nil
  1537. end))
  1538.  
  1539. end
  1540. end
  1541. end
  1542. end
  1543. function AoETundra(p,magnitude,damage,critornot)
  1544. local c = game.Workspace:GetChildren();
  1545. local founded = {}
  1546. for o = 1, #c do
  1547. local hum = c[o]:findFirstChild("Humanoid")
  1548. if hum ~= nil and hum.Health ~= 0 then
  1549. local head = c[o]:findFirstChild("Head");
  1550. if head ~= nil then
  1551. local targ = head.Position - p.Position;
  1552. local mag = targ.magnitude;
  1553. if mag <= magnitude and c[o].Name ~= Character.Name then
  1554. table.insert(founded,c[o])
  1555. end
  1556. end
  1557. end
  1558. end
  1559. if #founded ~= 0 then
  1560. local foundd = false
  1561. local randommm = math.floor(math.random(1,#founded))
  1562. for i = 1, #founded do
  1563. if randommm == i then
  1564. local hum = founded[i].Humanoid
  1565. local c = founded[i]
  1566. local F = CFrame.new(c.Torso.Position,Torso.Position)
  1567. local CF = c.Torso.CFrame * CFrame.new(0,-4.5,1) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0) + (F.lookVector * 1)
  1568. local CF2 = (c.Torso.CFrame) * CFrame.new(0,-4.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(45+90),math.rad(0),0) + (F.lookVector * -1)
  1569. local CF3 = (c.Torso.CFrame) * CFrame.new(1.5,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-45)) + (F.lookVector * 1)
  1570. local CF4 = (c.Torso.CFrame) * CFrame.new(-1.5,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(45)) + (F.lookVector * -1)
  1571. local CF5 = (c.Torso.CFrame) * CFrame.new(0,-5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(math.random(-360,350)),math.rad(0)) + (F.lookVector * 0)
  1572. local earthm = Instance.new("BlockMesh")
  1573. earthm.Scale = Vector3.new(1.5,4,1.5)
  1574. local earth = Instance.new("Part")
  1575. earth.formFactor = 0
  1576. earth.CanCollide = false
  1577. earth.Name = "Earth1"
  1578. earth.Locked = true
  1579. earth.Anchored = true
  1580. earth.Size = Vector3.new(1,1,1)
  1581. earth.Parent = swordholder
  1582. earth.CFrame = CF
  1583. earthm.Parent = earth
  1584. earth.BrickColor = BrickColor.new("Brown")
  1585. earth.Transparency = 0
  1586. local earthm2 = Instance.new("BlockMesh")
  1587. earthm2.Scale = Vector3.new(1.5,4,1.5)
  1588. local earth2 = Instance.new("Part")
  1589. earth2.formFactor = 0
  1590. earth2.CanCollide = false
  1591. earth2.Name = "Earth2"
  1592. earth2.Locked = true
  1593. earth2.Anchored = true
  1594. earth2.Size = Vector3.new(1,1,1)
  1595. earth2.Parent = swordholder
  1596. earth2.CFrame = CF2
  1597. earthm2.Parent = earth2
  1598. earth2.BrickColor = BrickColor.new("Brown")
  1599. earth2.Transparency = 0
  1600. local earthm3 = Instance.new("BlockMesh")
  1601. earthm3.Scale = Vector3.new(1.5,4,1.5)
  1602. local earth3 = Instance.new("Part")
  1603. earth3.formFactor = 0
  1604. earth3.CanCollide = false
  1605. earth3.Name = "Earth3"
  1606. earth3.Locked = true
  1607. earth3.Anchored = true
  1608. earth3.Size = Vector3.new(1,1,1)
  1609. earth3.Parent = swordholder
  1610. earth3.CFrame = CF3
  1611. earthm3.Parent = earth3
  1612. earth3.BrickColor = BrickColor.new("Brown")
  1613. earth3.Transparency = 0
  1614. local earthm4 = Instance.new("BlockMesh")
  1615. earthm4.Scale = Vector3.new(1.5,4,1.5)
  1616. local earth4 = Instance.new("Part")
  1617. earth4.formFactor = 0
  1618. earth4.CanCollide = false
  1619. earth4.Name = "Earth4"
  1620. earth4.Locked = true
  1621. earth4.Anchored = true
  1622. earth4.Size = Vector3.new(1,1,1)
  1623. earth4.Parent = swordholder
  1624. earth4.CFrame = CF4
  1625. earthm4.Parent = earth4
  1626. earth4.BrickColor = BrickColor.new("Brown")
  1627. earth4.Transparency = 0
  1628. local earthm5 = Instance.new("SpecialMesh")
  1629. earthm5.Scale = Vector3.new(3,5,3)
  1630. earthm5.MeshType = "Wedge"
  1631. local earth5 = Instance.new("Part")
  1632. earth5.formFactor = 0
  1633. earth5.CanCollide = false
  1634. earth5.Name = "Earth5"
  1635. earth5.Locked = true
  1636. earth5.Anchored = true
  1637. earth5.Size = Vector3.new(1,1,1)
  1638. earth5.Parent = swordholder
  1639. earth5.CFrame = CF5
  1640. earthm5.Parent = earth5
  1641. earth5.BrickColor = BrickColor.new("Bright blue")
  1642. earth5.Reflectance = 0.5
  1643. earth5.Transparency = 0.25
  1644. hum:TakeDamage(damage)
  1645. damagesplat(damage,c.Head,critornot)
  1646. table.insert(AoETrue,founded[i].Name)
  1647. coroutine.resume(coroutine.create(function()
  1648. for i = 1 , 3 do
  1649. rs(game.Workspace,3)
  1650. end
  1651. for z = 0 , 1 , 0.2 do
  1652. wait()
  1653. earth.CFrame = CF + Vector3.new(0,2*z,0)
  1654. earth2.CFrame = CF2 + Vector3.new(0,2*z,0)
  1655. earth3.CFrame = CF3 + Vector3.new(0,2*z,0)
  1656. earth4.CFrame = CF4 + Vector3.new(0,2*z,0)
  1657. earth5.CFrame = CF5 + Vector3.new(0,3*z,0)
  1658. end
  1659. wait(2)
  1660. for z = 0 , 1 , 0.2 do
  1661. wait()
  1662. earth.CFrame = CF + Vector3.new(0,2-2*z,0)
  1663. earth2.CFrame = CF2 + Vector3.new(0,2-2*z,0)
  1664. earth3.CFrame = CF3 + Vector3.new(0,2-2*z,0)
  1665. earth4.CFrame = CF4 + Vector3.new(0,2-2*z,0)
  1666. earth5.CFrame = CF5 + Vector3.new(0,3-7*z,0)
  1667. end
  1668. earth.Parent = nil
  1669. earth2.Parent = nil
  1670. earth3.Parent = nil
  1671. earth4.Parent = nil
  1672. earth5.Parent = nil
  1673. end))
  1674.  
  1675. end
  1676. end
  1677. end
  1678. end
  1679. function AoEIceberg(p,magnitude,damage,critornot)
  1680. local c = game.Workspace:GetChildren();
  1681. local founded = {}
  1682. for o = 1, #c do
  1683. local hum = c[o]:findFirstChild("Humanoid")
  1684. if hum ~= nil and hum.Health ~= 0 then
  1685. local head = c[o]:findFirstChild("Head");
  1686. if head ~= nil then
  1687. local targ = head.Position - p.Position;
  1688. local mag = targ.magnitude;
  1689. if mag <= magnitude and c[o].Name ~= Character.Name then
  1690. table.insert(founded,c[o])
  1691. end
  1692. end
  1693. end
  1694. end
  1695. if #founded ~= 0 then
  1696. local foundd = false
  1697. local randommm = math.floor(math.random(1,#founded))
  1698. for i = 1, #founded do
  1699. if randommm == i then
  1700. local hum = founded[i].Humanoid
  1701. local c = founded[i]
  1702. local F = CFrame.new(c.Torso.Position,Torso.Position)
  1703. local CF = c.Torso.CFrame * CFrame.new(0,-4.5,2.5) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0) + (F.lookVector * 1)
  1704. local CF2 = (c.Torso.CFrame) * CFrame.new(0,-4.5,-2.5) * CFrame.fromEulerAnglesXYZ(math.rad(45+90),math.rad(0),0) + (F.lookVector * -1)
  1705. local CF3 = (c.Torso.CFrame) * CFrame.new(3,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-45)) + (F.lookVector * 1)
  1706. local CF4 = (c.Torso.CFrame) * CFrame.new(-3,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(45)) + (F.lookVector * -1)
  1707. local CF5 = (c.Torso.CFrame) * CFrame.new(0,-20,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(math.random(-360,350)),math.rad(0)) + (F.lookVector * 0)
  1708. local earthm = Instance.new("BlockMesh")
  1709. earthm.Scale = Vector3.new(1.5,4,1.5)
  1710. local earth = Instance.new("Part")
  1711. earth.formFactor = 0
  1712. earth.CanCollide = false
  1713. earth.Name = "Earth1"
  1714. earth.Locked = true
  1715. earth.Anchored = true
  1716. earth.Size = Vector3.new(1,1,1)
  1717. earth.Parent = swordholder
  1718. earth.CFrame = CF
  1719. earthm.Parent = earth
  1720. earth.BrickColor = BrickColor.new("Brown")
  1721. earth.Transparency = 0
  1722. local earthm2 = Instance.new("BlockMesh")
  1723. earthm2.Scale = Vector3.new(1.5,4,1.5)
  1724. local earth2 = Instance.new("Part")
  1725. earth2.formFactor = 0
  1726. earth2.CanCollide = false
  1727. earth2.Name = "Earth2"
  1728. earth2.Locked = true
  1729. earth2.Anchored = true
  1730. earth2.Size = Vector3.new(1,1,1)
  1731. earth2.Parent = swordholder
  1732. earth2.CFrame = CF2
  1733. earthm2.Parent = earth2
  1734. earth2.BrickColor = BrickColor.new("Brown")
  1735. earth2.Transparency = 0
  1736. local earthm3 = Instance.new("BlockMesh")
  1737. earthm3.Scale = Vector3.new(1.5,4,1.5)
  1738. local earth3 = Instance.new("Part")
  1739. earth3.formFactor = 0
  1740. earth3.CanCollide = false
  1741. earth3.Name = "Earth3"
  1742. earth3.Locked = true
  1743. earth3.Anchored = true
  1744. earth3.Size = Vector3.new(1,1,1)
  1745. earth3.Parent = swordholder
  1746. earth3.CFrame = CF3
  1747. earthm3.Parent = earth3
  1748. earth3.BrickColor = BrickColor.new("Brown")
  1749. earth3.Transparency = 0
  1750. local earthm4 = Instance.new("BlockMesh")
  1751. earthm4.Scale = Vector3.new(1.5,4,1.5)
  1752. local earth4 = Instance.new("Part")
  1753. earth4.formFactor = 0
  1754. earth4.CanCollide = false
  1755. earth4.Name = "Earth4"
  1756. earth4.Locked = true
  1757. earth4.Anchored = true
  1758. earth4.Size = Vector3.new(1,1,1)
  1759. earth4.Parent = swordholder
  1760. earth4.CFrame = CF4
  1761. earthm4.Parent = earth4
  1762. earth4.BrickColor = BrickColor.new("Brown")
  1763. earth4.Transparency = 0
  1764. local earthm5 = Instance.new("BlockMesh")
  1765. earthm5.Scale = Vector3.new(5,15,1)
  1766. local earth5 = Instance.new("Part")
  1767. earth5.formFactor = 0
  1768. earth5.CanCollide = false
  1769. earth5.Name = "Earth5"
  1770. earth5.Locked = true
  1771. earth5.Anchored = true
  1772. earth5.Size = Vector3.new(1,1,1)
  1773. earth5.Parent = swordholder
  1774. earth5.CFrame = CF5
  1775. earthm5.Parent = earth5
  1776. earth5.BrickColor = BrickColor.new("Bright blue")
  1777. earth5.Reflectance = 0.5
  1778. earth5.Transparency = 0.25
  1779. local earthm6 = Instance.new("SpecialMesh")
  1780. earthm6.Scale = Vector3.new(1,2,2.5)
  1781. earthm6.MeshType = "Wedge"
  1782. local earth6 = Instance.new("Part")
  1783. earth6.formFactor = 0
  1784. earth6.CanCollide = false
  1785. earth6.Name = "EarthTip1"
  1786. earth6.Locked = true
  1787. earth6.Anchored = true
  1788. earth6.Size = Vector3.new(1,1,1)
  1789. earth6.Parent = swordholder
  1790. earth6.CFrame = CF5 * CFrame.new(-1.25,8.5+22,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  1791. earthm6.Parent = earth6
  1792. earth6.BrickColor = BrickColor.new("Bright blue")
  1793. earth6.Reflectance = 0.5
  1794. earth6.Transparency = 0.25
  1795. local earthm7 = Instance.new("SpecialMesh")
  1796. earthm7.Scale = Vector3.new(1,2,2.5)
  1797. earthm7.MeshType = "Wedge"
  1798. local earth7 = Instance.new("Part")
  1799. earth7.formFactor = 0
  1800. earth7.CanCollide = false
  1801. earth7.Name = "EarthTip2"
  1802. earth7.Locked = true
  1803. earth7.Anchored = true
  1804. earth7.Size = Vector3.new(1,1,1)
  1805. earth7.Parent = swordholder
  1806. earth7.CFrame = CF5 * CFrame.new(1.25,8.5+22,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90+180),0)
  1807. earthm7.Parent = earth7
  1808. earth7.BrickColor = BrickColor.new("Bright blue")
  1809. earth7.Reflectance = 0.5
  1810. earth7.Transparency = 0.25
  1811. hum:TakeDamage(damage)
  1812. damagesplat(damage,c.Head,critornot)
  1813. table.insert(AoETrue,founded[i].Name)
  1814. coroutine.resume(coroutine.create(function()
  1815. for i = 1 , 5 do
  1816. rs(game.Workspace,2)
  1817. end
  1818. for z = 0 , 1 , 0.1 do
  1819. wait()
  1820. earth.CFrame = CF + Vector3.new(0,2*z,0)
  1821. earth2.CFrame = CF2 + Vector3.new(0,2*z,0)
  1822. earth3.CFrame = CF3 + Vector3.new(0,2*z,0)
  1823. earth4.CFrame = CF4 + Vector3.new(0,2*z,0)
  1824. earth5.CFrame = CF5 + Vector3.new(0,22*z,0)
  1825. earth6.CFrame = CF5 * CFrame.new(-1.25,8.5+22*z,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  1826. earth7.CFrame = CF5 * CFrame.new(1.25,8.5+22*z,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90+180),0)
  1827. end
  1828. wait(2)
  1829. for z = 0 , 1 , 0.2 do
  1830. wait()
  1831. earth.CFrame = CF + Vector3.new(0,2-2*z,0)
  1832. earth2.CFrame = CF2 + Vector3.new(0,2-2*z,0)
  1833. earth3.CFrame = CF3 + Vector3.new(0,2-2*z,0)
  1834. earth4.CFrame = CF4 + Vector3.new(0,2-2*z,0)
  1835. earth5.CFrame = CF5 + Vector3.new(0,22-30*z,0)
  1836. earth6.CFrame = CF5 * CFrame.new(-1.25,30.5-22*z,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  1837. earth7.CFrame = CF5 * CFrame.new(1.25,30.5-22*z,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(90+180),0)
  1838. end
  1839. earth.Parent = nil
  1840. earth2.Parent = nil
  1841. earth3.Parent = nil
  1842. earth4.Parent = nil
  1843. earth5.Parent = nil
  1844. earth6.Parent = nil
  1845. earth7.Parent = nil
  1846. end))
  1847.  
  1848. end
  1849. end
  1850. end
  1851. end
  1852. function AoEFume(p,magnitude,damage,critornot)
  1853. local c = game.Workspace:GetChildren();
  1854. local founded = {}
  1855. for o = 1, #c do
  1856. local hum = c[o]:findFirstChild("Humanoid")
  1857. if hum ~= nil and hum.Health ~= 0 then
  1858. local head = c[o]:findFirstChild("Head");
  1859. if head ~= nil then
  1860. local targ = head.Position - p.Position;
  1861. local mag = targ.magnitude;
  1862. if mag <= magnitude and c[o].Name ~= Character.Name then
  1863. table.insert(founded,c[o])
  1864. --blast(2.5,0.5,"Gold",prt2,false)
  1865. end
  1866. end
  1867. end
  1868. end
  1869. if #founded ~= 0 then
  1870. local foundd = false
  1871. local randommm = math.floor(math.random(1,#founded))
  1872. for i = 1, #founded do
  1873. if randommm == i then
  1874. local hum = founded[i].Humanoid
  1875. local c = founded[i]
  1876. local F = CFrame.new(c.Torso.Position,Torso.Position)
  1877. local CF = c.Torso.CFrame * CFrame.new(0,-4.5,1) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0) + (F.lookVector * 1)
  1878. local CF2 = (c.Torso.CFrame) * CFrame.new(0,-4.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(45+90),math.rad(0),0) + (F.lookVector * -1)
  1879. local CF3 = (c.Torso.CFrame) * CFrame.new(1.5,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-45)) + (F.lookVector * 1)
  1880. local CF4 = (c.Torso.CFrame) * CFrame.new(-1.5,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(45)) + (F.lookVector * -1)
  1881. local CF5 = (c.Torso.CFrame) * CFrame.new(0,1,0)
  1882. local earthm = Instance.new("BlockMesh")
  1883. earthm.Scale = Vector3.new(1.5,4,1.5)
  1884. local earth = Instance.new("Part")
  1885. earth.formFactor = 0
  1886. earth.CanCollide = false
  1887. earth.Name = "Earth1"
  1888. earth.Locked = true
  1889. earth.Anchored = true
  1890. earth.Size = Vector3.new(1,1,1)
  1891. earth.Parent = swordholder
  1892. earth.CFrame = CF
  1893. earthm.Parent = earth
  1894. earth.BrickColor = BrickColor.new("Brown")
  1895. earth.Transparency = 0
  1896. local earthm2 = Instance.new("BlockMesh")
  1897. earthm2.Scale = Vector3.new(1.5,4,1.5)
  1898. local earth2 = Instance.new("Part")
  1899. earth2.formFactor = 0
  1900. earth2.CanCollide = false
  1901. earth2.Name = "Earth2"
  1902. earth2.Locked = true
  1903. earth2.Anchored = true
  1904. earth2.Size = Vector3.new(1,1,1)
  1905. earth2.Parent = swordholder
  1906. earth2.CFrame = CF2
  1907. earthm2.Parent = earth2
  1908. earth2.BrickColor = BrickColor.new("Brown")
  1909. earth2.Transparency = 0
  1910. local earthm3 = Instance.new("BlockMesh")
  1911. earthm3.Scale = Vector3.new(1.5,4,1.5)
  1912. local earth3 = Instance.new("Part")
  1913. earth3.formFactor = 0
  1914. earth3.CanCollide = false
  1915. earth3.Name = "Earth3"
  1916. earth3.Locked = true
  1917. earth3.Anchored = true
  1918. earth3.Size = Vector3.new(1,1,1)
  1919. earth3.Parent = swordholder
  1920. earth3.CFrame = CF3
  1921. earthm3.Parent = earth3
  1922. earth3.BrickColor = BrickColor.new("Brown")
  1923. earth3.Transparency = 0
  1924. local earthm4 = Instance.new("BlockMesh")
  1925. earthm4.Scale = Vector3.new(1.5,4,1.5)
  1926. local earth4 = Instance.new("Part")
  1927. earth4.formFactor = 0
  1928. earth4.CanCollide = false
  1929. earth4.Name = "Earth4"
  1930. earth4.Locked = true
  1931. earth4.Anchored = true
  1932. earth4.Size = Vector3.new(1,1,1)
  1933. earth4.Parent = swordholder
  1934. earth4.CFrame = CF4
  1935. earthm4.Parent = earth4
  1936. earth4.BrickColor = BrickColor.new("Brown")
  1937. earth4.Transparency = 0
  1938. hum:TakeDamage(damage)
  1939. damagesplat(damage,c.Head,critornot)
  1940. table.insert(AoETrue,founded[i].Name)
  1941. coroutine.resume(coroutine.create(function()
  1942. for i = 1 , 3 do
  1943. b2s(game.Workspace,1)
  1944. end
  1945. for z = 0 , 1 , 0.2 do
  1946. wait()
  1947. earth.CFrame = CF + Vector3.new(0,2*z,0)
  1948. earth2.CFrame = CF2 + Vector3.new(0,2*z,0)
  1949. earth3.CFrame = CF3 + Vector3.new(0,2*z,0)
  1950. earth4.CFrame = CF4 + Vector3.new(0,2*z,0)
  1951. end
  1952. for i = 1 , 15 do
  1953. local colors = {BrickColor.new("Gold"),BrickColor.new("Bright orange")}
  1954. local rndm = math.random(1,5)
  1955. local randomv = Vector3.new(rndm,rndm,rndm)
  1956. local mesh = Instance.new("SpecialMesh")
  1957. mesh.MeshType = "Sphere"
  1958. mesh.Scale = Vector3.new(0,0,0)
  1959. local shell = Instance.new("Part")
  1960. mesh.Parent = shell
  1961. shell.Anchored = true
  1962. shell.formFactor = 0
  1963. shell.Size = Vector3.new(1,1,1)
  1964. local dir = CFrame.new(c.Torso.Position + Vector3.new(0,1,0),(c.Torso.Position + Vector3.new(0,1,0)) + Vector3.new(math.random(-2,2),3,math.random(-2,2)))
  1965. shell.CFrame = (c.Torso.CFrame * CFrame.new(0,0,0))
  1966. shell.CFrame = shell.CFrame
  1967. shell.Parent = swordholder
  1968. shell.Transparency = 0
  1969. shell.BrickColor = colors[math.random(1,#colors)]
  1970. shell.CanCollide = false
  1971. coroutine.resume(coroutine.create(function()
  1972. for i = 0 , 1 , 0.05 do
  1973. wait()
  1974. shell.Transparency = 1*i
  1975. shell.CFrame = shell.CFrame + (dir.lookVector * 1*i)
  1976. mesh.Scale = randomv * Vector3.new(i,i,i)
  1977. end
  1978. shell.Transparency = 1
  1979. shell.Parent = nil
  1980. end))
  1981. wait()
  1982. end
  1983. wait(2)
  1984. for z = 0 , 1 , 0.2 do
  1985. wait()
  1986. earth.CFrame = CF + Vector3.new(0,2-2*z,0)
  1987. earth2.CFrame = CF2 + Vector3.new(0,2-2*z,0)
  1988. earth3.CFrame = CF3 + Vector3.new(0,2-2*z,0)
  1989. earth4.CFrame = CF4 + Vector3.new(0,2-2*z,0)
  1990. end
  1991. earth.Parent = nil
  1992. earth2.Parent = nil
  1993. earth3.Parent = nil
  1994. earth4.Parent = nil
  1995. end))
  1996.  
  1997. end
  1998.  
  1999. end
  2000. end
  2001. end
  2002. function AoEEruption(p,magnitude,damage,critornot)
  2003. local c = game.Workspace:GetChildren();
  2004. local founded = {}
  2005. for o = 1, #c do
  2006. local hum = c[o]:findFirstChild("Humanoid")
  2007. if hum ~= nil and hum.Health ~= 0 then
  2008. local head = c[o]:findFirstChild("Head");
  2009. if head ~= nil then
  2010. local targ = head.Position - p.Position;
  2011. local mag = targ.magnitude;
  2012. if mag <= magnitude and c[o].Name ~= Character.Name then
  2013. table.insert(founded,c[o])
  2014. end
  2015. end
  2016. end
  2017. end
  2018. if #founded ~= 0 then
  2019. local foundd = false
  2020. local randommm = math.floor(math.random(1,#founded))
  2021. for i = 1, #founded do
  2022. if randommm == i then
  2023. local hum = founded[i].Humanoid
  2024. local c = founded[i]
  2025. local F = CFrame.new(c.Torso.Position,Torso.Position)
  2026. local CF = c.Torso.CFrame * CFrame.new(0,-4.5,2.5) * CFrame.fromEulerAnglesXYZ(math.rad(45),0,0) + (F.lookVector * 1)
  2027. local CF2 = (c.Torso.CFrame) * CFrame.new(0,-4.5,-2.5) * CFrame.fromEulerAnglesXYZ(math.rad(45+90),math.rad(0),0) + (F.lookVector * -1)
  2028. local CF3 = (c.Torso.CFrame) * CFrame.new(3,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(-45)) + (F.lookVector * 1)
  2029. local CF4 = (c.Torso.CFrame) * CFrame.new(-3,-4.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(45)) + (F.lookVector * -1)
  2030. local CF5 = (c.Torso.CFrame) * CFrame.new(0,-20,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(math.random(-360,350)),math.rad(0)) + (F.lookVector * 0)
  2031. local earthm = Instance.new("BlockMesh")
  2032. earthm.Scale = Vector3.new(1.5,4,1.5)
  2033. local earth = Instance.new("Part")
  2034. earth.formFactor = 0
  2035. earth.CanCollide = false
  2036. earth.Name = "Earth1"
  2037. earth.Locked = true
  2038. earth.Anchored = true
  2039. earth.Size = Vector3.new(1,1,1)
  2040. earth.Parent = swordholder
  2041. earth.CFrame = CF
  2042. earthm.Parent = earth
  2043. earth.BrickColor = BrickColor.new("Brown")
  2044. earth.Transparency = 0
  2045. local earthm2 = Instance.new("BlockMesh")
  2046. earthm2.Scale = Vector3.new(1.5,4,1.5)
  2047. local earth2 = Instance.new("Part")
  2048. earth2.formFactor = 0
  2049. earth2.CanCollide = false
  2050. earth2.Name = "Earth2"
  2051. earth2.Locked = true
  2052. earth2.Anchored = true
  2053. earth2.Size = Vector3.new(1,1,1)
  2054. earth2.Parent = swordholder
  2055. earth2.CFrame = CF2
  2056. earthm2.Parent = earth2
  2057. earth2.BrickColor = BrickColor.new("Brown")
  2058. earth2.Transparency = 0
  2059. local earthm3 = Instance.new("BlockMesh")
  2060. earthm3.Scale = Vector3.new(1.5,4,1.5)
  2061. local earth3 = Instance.new("Part")
  2062. earth3.formFactor = 0
  2063. earth3.CanCollide = false
  2064. earth3.Name = "Earth3"
  2065. earth3.Locked = true
  2066. earth3.Anchored = true
  2067. earth3.Size = Vector3.new(1,1,1)
  2068. earth3.Parent = swordholder
  2069. earth3.CFrame = CF3
  2070. earthm3.Parent = earth3
  2071. earth3.BrickColor = BrickColor.new("Brown")
  2072. earth3.Transparency = 0
  2073. local earthm4 = Instance.new("BlockMesh")
  2074. earthm4.Scale = Vector3.new(1.5,4,1.5)
  2075. local earth4 = Instance.new("Part")
  2076. earth4.formFactor = 0
  2077. earth4.CanCollide = false
  2078. earth4.Name = "Earth4"
  2079. earth4.Locked = true
  2080. earth4.Anchored = true
  2081. earth4.Size = Vector3.new(1,1,1)
  2082. earth4.Parent = swordholder
  2083. earth4.CFrame = CF4
  2084. earthm4.Parent = earth4
  2085. earth4.BrickColor = BrickColor.new("Brown")
  2086. earth4.Transparency = 0
  2087. local earthm5 = Instance.new("CylinderMesh")
  2088. earthm5.Scale = Vector3.new(5,15,5)
  2089. local earth5 = Instance.new("Part")
  2090. earth5.formFactor = 0
  2091. earth5.CanCollide = false
  2092. earth5.Name = "Earth5"
  2093. earth5.Locked = true
  2094. earth5.Anchored = true
  2095. earth5.Size = Vector3.new(1,1,1)
  2096. earth5.Parent = swordholder
  2097. earth5.CFrame = CF5
  2098. earthm5.Parent = earth5
  2099. earth5.BrickColor = BrickColor.new("Gold")
  2100. earth5.Transparency = 0.25
  2101. hum:TakeDamage(damage)
  2102. damagesplat(damage,c.Head,critornot)
  2103. table.insert(AoETrue,founded[i].Name)
  2104. coroutine.resume(coroutine.create(function()
  2105. for i = 1 , 5 do
  2106. rs(game.Workspace,2)
  2107. end
  2108. for z = 0 , 1 , 0.2 do
  2109. wait()
  2110. earth.CFrame = CF + Vector3.new(0,2*z,0)
  2111. earth2.CFrame = CF2 + Vector3.new(0,2*z,0)
  2112. earth3.CFrame = CF3 + Vector3.new(0,2*z,0)
  2113. earth4.CFrame = CF4 + Vector3.new(0,2*z,0)
  2114. earth5.CFrame = CF5 + Vector3.new(0,22*z,0)
  2115. end
  2116. for z = 0 , 1 , 0.1 do
  2117. wait()
  2118. earthm5.Scale = Vector3.new(5,15+500*z,5)
  2119. end
  2120. for i = 1 , 30 do
  2121. local colors = {BrickColor.new("Gold"),BrickColor.new("Bright orange")}
  2122. local rndm = math.random(1,5)
  2123. local randomv = Vector3.new(rndm,rndm,rndm)
  2124. local mesh = Instance.new("SpecialMesh")
  2125. mesh.MeshType = "Sphere"
  2126. mesh.Scale = Vector3.new(0,0,0)
  2127. local shell = Instance.new("Part")
  2128. mesh.Parent = shell
  2129. shell.Anchored = true
  2130. shell.formFactor = 0
  2131. shell.Size = Vector3.new(1,1,1)
  2132. local dir = CFrame.new(c.Torso.Position + Vector3.new(0,1,0),(c.Torso.Position + Vector3.new(0,1,0)) + Vector3.new(math.random(-2,2),3,math.random(-2,2)))
  2133. shell.CFrame = (c.Torso.CFrame * CFrame.new(0,0,0))
  2134. shell.CFrame = shell.CFrame
  2135. shell.Parent = swordholder
  2136. shell.Transparency = 0
  2137. shell.BrickColor = colors[math.random(1,#colors)]
  2138. shell.CanCollide = false
  2139. coroutine.resume(coroutine.create(function()
  2140. for i = 0 , 1 , 0.05 do
  2141. wait()
  2142. shell.Transparency = 1*i
  2143. shell.CFrame = shell.CFrame + (dir.lookVector * 1*i)
  2144. mesh.Scale = randomv * Vector3.new(i,i,i)
  2145. end
  2146. shell.Transparency = 1
  2147. shell.Parent = nil
  2148. end))
  2149. wait()
  2150. end
  2151. wait(1)
  2152. for z = 0 , 1 , 0.2 do
  2153. wait()
  2154. earth.CFrame = CF + Vector3.new(0,2-2*z,0)
  2155. earth2.CFrame = CF2 + Vector3.new(0,2-2*z,0)
  2156. earth3.CFrame = CF3 + Vector3.new(0,2-2*z,0)
  2157. earth4.CFrame = CF4 + Vector3.new(0,2-2*z,0)
  2158. earth5.CFrame = CF5 + Vector3.new(0,22-30*z,0)
  2159. earthm5.Scale = Vector3.new(5-5*z,515-500*z,5-5*z)
  2160. end
  2161. earth.Parent = nil
  2162. earth2.Parent = nil
  2163. earth3.Parent = nil
  2164. earth4.Parent = nil
  2165. earth5.Parent = nil
  2166. end))
  2167.  
  2168. end
  2169. end
  2170. end
  2171. end
  2172. function effect()
  2173. local clone = prt2:clone()
  2174. clone.Parent = Character
  2175. clone.Anchored = true
  2176. clone.Transparency = 0
  2177. clone.BrickColor = BrickColor.new("Gold")
  2178. coroutine.resume(coroutine.create(function()
  2179. for i = 0 , 1 , 0.1 do
  2180. clone.Transparency = 1*i
  2181. wait()
  2182. end
  2183. clone.Parent = nil
  2184. end))
  2185. local clone = prt3:clone()
  2186. clone.Parent = Character
  2187. clone.Anchored = true
  2188. clone.Transparency = 0
  2189. clone.BrickColor = BrickColor.new("Gold")
  2190. coroutine.resume(coroutine.create(function()
  2191. for i = 0 , 1 , 0.1 do
  2192. clone.Transparency = 1*i
  2193. wait()
  2194. end
  2195. clone.Parent = nil
  2196. end))
  2197. local clone = prt4:clone()
  2198. clone.Parent = Character
  2199. clone.Anchored = true
  2200. clone.Transparency = 0
  2201. clone.BrickColor = BrickColor.new("Gold")
  2202. coroutine.resume(coroutine.create(function()
  2203. for i = 0 , 1 , 0.1 do
  2204. clone.Transparency = 1*i
  2205. wait()
  2206. end
  2207. clone.Parent = nil
  2208. end))
  2209. end
  2210. function walkspeed(value)
  2211. Character.Humanoid.WalkSpeed = value
  2212. end
  2213. function atktype(s,e)
  2214. coroutine.resume(coroutine.create(function ()
  2215. attacktype = e
  2216. wait(0.25)
  2217. if attack == false then
  2218. attacktype = s
  2219. end
  2220. end))
  2221. end
  2222. function slash()
  2223. attack = true
  2224. for i = 0 , 1 , 0.1 do
  2225. wait()
  2226. RW.C0 = CFrame.new(1,0.25+0.75*i,-0.75) * CFrame.fromEulerAnglesXYZ(math.rad(45+135*i), 0, math.rad(-45))
  2227. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2228. LW.C0 = CFrame.new(-1, 0.25+0.75*i, -0.75) * CFrame.fromEulerAnglesXYZ(math.rad(45+135*i),0,math.rad(45))
  2229. LW.C1 = CFrame.new(0, 0.5, 0)
  2230. end
  2231. ss(game.Workspace,1)
  2232. local con = prt2.Touched:connect(OT)
  2233. local CF = Torso.CFrame
  2234. local bg = Instance.new("BodyGyro")
  2235. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  2236. bg.P = bg.P + 10000
  2237. bg.cframe = CF
  2238. bg.Parent = Torso
  2239. local bv = Instance.new("BodyPosition")
  2240. bv.Parent = Torso
  2241. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2242. bv.position = CF.p + (Vector3.new(0,3,0) + (CF.lookVector * 5))
  2243. for i = 0 , 1 , 0.2 do
  2244. wait()
  2245. RW.C0 = CFrame.new(1,1-0.75*i,-0.75) * CFrame.fromEulerAnglesXYZ(math.rad(180-225*i), 0, math.rad(-45))
  2246. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2247. LW.C0 = CFrame.new(-1, 1-0.75*i, -0.75) * CFrame.fromEulerAnglesXYZ(math.rad(180-225*i),0,math.rad(45))
  2248. LW.C1 = CFrame.new(0, 0.5, 0)
  2249. effect()
  2250. if i == 0.8 then
  2251. bv.position = CF.p + (Vector3.new(0,-1,0) + (CF.lookVector * 12.5))
  2252. end
  2253. end
  2254. --RWLFunc()
  2255. --LWLFunc()
  2256. for i = 0 , 1 , 0.1 do
  2257. wait()
  2258. RW.C0 = CFrame.new(1,0.25,-0.75) * CFrame.fromEulerAnglesXYZ(math.rad(-45+150*i), 0, math.rad(-45))
  2259. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2260. LW.C0 = CFrame.new(-1, 0.25, -0.75) * CFrame.fromEulerAnglesXYZ(math.rad(-45+150*i),0,math.rad(45))
  2261. LW.C1 = CFrame.new(0, 0.5, 0)
  2262. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(45*i),0,0)
  2263. RWL.C1 = CFrame.new(0.5, 1, 0)
  2264. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i),0,0)
  2265. LWL.C1 = CFrame.new(-0.5, 1-1*i, 0.5*i)
  2266. if i == 0.2 then
  2267. bv.position = CF.p + (Vector3.new(0,0,0) + (CF.lookVector * 0))
  2268. ss(game.Workspace,1.25)
  2269. end
  2270. end
  2271. for i = 0 , 1 , 0.1 do
  2272. wait()
  2273. RW.C0 = CFrame.new(1,0.25,-0.75) * CFrame.fromEulerAnglesXYZ(math.rad(105-60*i), 0, math.rad(45-90))
  2274. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2275. LW.C0 = CFrame.new(-1, 0.25, -0.75) * CFrame.fromEulerAnglesXYZ(math.rad(105-60*i),0,math.rad(-45+90))
  2276. LW.C1 = CFrame.new(0, 0.5, 0)
  2277. delay(0.1,function()
  2278. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(45-45*i),0,0)
  2279. RWL.C1 = CFrame.new(0.5, 1, 0)
  2280. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+45*i),0,0)
  2281. LWL.C1 = CFrame.new(-0.5, 1*i, 0.5-0.5*i)
  2282. end)
  2283. end
  2284. bg.Parent = nil
  2285. bv.Parent = nil
  2286. wait(0.125)
  2287. delay(0.2,function()
  2288. --RWLRem()
  2289. --LWLRem()
  2290. end)
  2291. con:disconnect()
  2292. Hitdeb = 0
  2293. wait(0.3)
  2294. --LegsFix()
  2295. attack = false
  2296. end
  2297. function revenge()
  2298. attack = true
  2299. for i = 0 , 1 , 0.1 do
  2300. wait()
  2301. RW.C0 = CFrame.new(1,0.25+1*i,-0.75+0.75*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+135*i), 0, math.rad(-45))
  2302. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2303. LW.C0 = CFrame.new(-1, 0.25+1*i, -0.75+0.75*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+135*i),0,math.rad(45))
  2304. LW.C1 = CFrame.new(0, 0.5, 0)
  2305. end
  2306. cs(game.Workspace,1.25)
  2307. bubblyblast(2.5,0.5,"Gold",prt2,false)
  2308. wait(0.1)
  2309. bubblyblast(2.5,0.5,"Gold",prt2,false)
  2310. wait(0.1)
  2311. bubblyblast(2.5,0.5,"Gold",prt2,false)
  2312. wait(0.1)
  2313. if Character.Humanoid.MaxHealth - Character.Humanoid.Health >= 10 then
  2314. mindamage = Character.Humanoid.MaxHealth - Character.Humanoid.Health - 10
  2315. elseif Character.Humanoid.MaxHealth - Character.Humanoid.Health < 10 then
  2316. mindamage = 0
  2317. end
  2318. maxdamage = Character.Humanoid.MaxHealth - Character.Humanoid.Health
  2319. crtmaxdamage = Character.Humanoid.MaxHealth - Character.Humanoid.Health + 25
  2320. ss(game.Workspace,1)
  2321. local con = prt2.Touched:connect(OT)
  2322. local bv = Instance.new("BodyPosition")
  2323. bv.Parent = Torso
  2324. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2325. local CF = Torso.CFrame
  2326. bv.position = CF.p + (Vector3.new(0,8,0) + (Torso.CFrame.lookVector * 5))
  2327. for i = 0 , 1 , 0.2 do
  2328. wait()
  2329. RW.C0 = CFrame.new(1,1.25-1*i,-0.75*i) * CFrame.fromEulerAnglesXYZ(math.rad(180-225*i), 0, math.rad(-45))
  2330. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2331. LW.C0 = CFrame.new(-1, 1.25-1*i, -0.75*i) * CFrame.fromEulerAnglesXYZ(math.rad(180-225*i),0,math.rad(45))
  2332. LW.C1 = CFrame.new(0, 0.5, 0)
  2333. effect()
  2334. if i == 0.4 then
  2335. bv.position = CF.p + (Vector3.new(0,-1,0) + (Torso.CFrame.lookVector * 12.5))
  2336. end
  2337. end
  2338. for i = 0 , 1 , 0.1 do
  2339. wait()
  2340. RW.C0 = CFrame.new(1,0.25,-0.75) * CFrame.fromEulerAnglesXYZ(math.rad(-45+90*i), 0, math.rad(-45))
  2341. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2342. LW.C0 = CFrame.new(-1, 0.25, -0.75) * CFrame.fromEulerAnglesXYZ(math.rad(-45+90*i),0,math.rad(45))
  2343. LW.C1 = CFrame.new(0, 0.5, 0)
  2344. end
  2345. bv.Parent = nil
  2346. wait(0.25)
  2347. mindamage = omindamage
  2348. maxdamage = omaxdamage
  2349. crtmaxdamage = ocrtmaxdamage
  2350. con:disconnect()
  2351. Hitdeb = 0
  2352. attack = false
  2353. end
  2354. function quickslash()
  2355. attack = true
  2356. local windeffect = true
  2357. for i = 0 , 1 , 0.2 do
  2358. wait()
  2359. RW.C0 = CFrame.new(1,0.25+0.75*i,-0.75) * CFrame.fromEulerAnglesXYZ(math.rad(45+135*i), 0, math.rad(-45))
  2360. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2361. LW.C0 = CFrame.new(-1, 0.25+0.75*i, -0.75) * CFrame.fromEulerAnglesXYZ(math.rad(45+135*i),0,math.rad(45))
  2362. LW.C1 = CFrame.new(0, 0.5, 0)
  2363. end
  2364. coroutine.resume(coroutine.create(function()
  2365. repeat
  2366. wait()
  2367. local manaringm = Instance.new("SpecialMesh")
  2368. manaringm.Scale = Vector3.new(3,1,3)
  2369. manaringm.MeshType = "FileMesh"
  2370. manaringm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2371. local manaring = Instance.new("Part")
  2372. manaring.formFactor = 1
  2373. manaring.CanCollide = false
  2374. manaring.Name = "Handle"
  2375. manaring.Locked = true
  2376. manaring.Anchored = true
  2377. manaring.Size = Vector3.new(1,1,1)
  2378. manaring.Parent = swordholder
  2379. manaring.CFrame = Torso.CFrame * CFrame.new(0,-2.5,0)
  2380. manaringm.Parent = manaring
  2381. manaring.BrickColor = BrickColor.new("Institutional white")
  2382. manaring.Transparency = 0.5
  2383. delay(0.25,function()
  2384. for i = 0 , 1 , 0.1 do
  2385. wait()
  2386. manaring.Transparency = 0.5+0.5*i
  2387. end
  2388. manaring.Parent = nil
  2389. end)
  2390. until windeffect == false
  2391. end))
  2392. --RWLFunc()
  2393. --LWLFunc()
  2394. coroutine.resume(coroutine.create(function()
  2395. for i = 0 , 1 , 0.1 do
  2396. wait()
  2397. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i),0,0)
  2398. RWL.C1 = CFrame.new(0.5, 1, 0)
  2399. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i),0,0)
  2400. LWL.C1 = CFrame.new(-0.5, 1,0)
  2401. end end))
  2402. ss(game.Workspace,1.25)
  2403. local con = prt2.Touched:connect(OT)
  2404. local CF = Torso.CFrame
  2405. local bg = Instance.new("BodyGyro")
  2406. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  2407. bg.P = bg.P + 10000
  2408. bg.cframe = CF
  2409. bg.Parent = Torso
  2410. local bv = Instance.new("BodyPosition")
  2411. bv.Parent = Torso
  2412. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2413. bv.P = bv.P + 10000
  2414. bv.position = CF.p + (Vector3.new(0,0,0) + (CF.lookVector * 12.5))
  2415. for i = 0 , 1 , 0.2 do
  2416. wait()
  2417. RW.C0 = CFrame.new(1,1-0.75*i,-0.75) * CFrame.fromEulerAnglesXYZ(math.rad(180-225*i), 0, math.rad(-45))
  2418. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2419. LW.C0 = CFrame.new(-1, 1-0.75*i, -0.75) * CFrame.fromEulerAnglesXYZ(math.rad(180-225*i),0,math.rad(45))
  2420. LW.C1 = CFrame.new(0, 0.5, 0)
  2421. effect()
  2422. end
  2423. for i = 0 , 1 , 0.2 do
  2424. wait()
  2425. RW.C0 = CFrame.new(1,0.25,-0.75) * CFrame.fromEulerAnglesXYZ(math.rad(-45+150*i), 0, math.rad(-45))
  2426. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2427. LW.C0 = CFrame.new(-1, 0.25, -0.75) * CFrame.fromEulerAnglesXYZ(math.rad(-45+150*i),0,math.rad(45))
  2428. LW.C1 = CFrame.new(0, 0.5, 0)
  2429. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+90*i),0,0)
  2430. RWL.C1 = CFrame.new(0.5, 1, 0)
  2431. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0)
  2432. LWL.C1 = CFrame.new(-0.5, 1-1*i,0.5*i)
  2433. if i == 0.2 then
  2434. bv.position = CF.p + (Vector3.new(0,0,0) + (CF.lookVector * 0))
  2435. ss(game.Workspace,1.75)
  2436. windeffect = false
  2437. end
  2438. end
  2439. for i = 0 , 1 , 0.1 do
  2440. wait()
  2441. RW.C0 = CFrame.new(1,0.25,-0.75) * CFrame.fromEulerAnglesXYZ(math.rad(105-60*i), 0, math.rad(45-90))
  2442. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2443. LW.C0 = CFrame.new(-1, 0.25, -0.75) * CFrame.fromEulerAnglesXYZ(math.rad(105-60*i),0,math.rad(-45+90))
  2444. LW.C1 = CFrame.new(0, 0.5, 0)
  2445. delay(0.1,function()
  2446. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(45-45*i),0,0)
  2447. RWL.C1 = CFrame.new(0.5, 1, 0)
  2448. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+45*i),0,0)
  2449. LWL.C1 = CFrame.new(-0.5, 1*i, 0.5-0.5*i)
  2450. end)
  2451. end
  2452. bv.Parent = nil
  2453. bg.Parent = nil
  2454. wait(0.125)
  2455. delay(0.15,function()
  2456. --RWLRem()
  2457. --LWLRem()
  2458. end)
  2459. con:disconnect()
  2460. Hitdeb = 0
  2461. wait(0.3)
  2462. attack = false
  2463. --LegsFix()
  2464. end
  2465. function windslash()
  2466. attack = true
  2467. local windeffect = true
  2468. for i = 0 , 1 , 0.2 do
  2469. wait()
  2470. RW.C0 = CFrame.new(1+0.5*i,0.25+0.25*i,-0.75+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+45*i), 0, math.rad(-45+45*i))
  2471. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2472. LW.C0 = CFrame.new(-1-0.5*i, 0.25+0.25*i, -0.75+0.75*i) * CFrame.fromEulerAnglesXYZ(math.rad(45-90*i),0,math.rad(45-90*i))
  2473. LW.C1 = CFrame.new(0, 0.5, 0)
  2474. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, math.rad(-45+45*i)) * CFrame.new(0, 0, 0.75-0.75*i)
  2475. end
  2476. coroutine.resume(coroutine.create(function()
  2477. repeat
  2478. wait(0.05)
  2479. local manaringm = Instance.new("SpecialMesh")
  2480. manaringm.Scale = Vector3.new(6,3,4)
  2481. manaringm.MeshType = "FileMesh"
  2482. manaringm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2483. local manaring = Instance.new("Part")
  2484. manaring.formFactor = 1
  2485. manaring.CanCollide = false
  2486. manaring.Name = "Handle"
  2487. manaring.Locked = true
  2488. manaring.Anchored = true
  2489. manaring.Size = Vector3.new(1,1,1)
  2490. manaring.Parent = swordholder
  2491. manaring.CFrame = Torso.CFrame * CFrame.new(0,0,-2.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  2492. manaringm.Parent = manaring
  2493. manaring.BrickColor = BrickColor.new("Institutional white")
  2494. manaring.Transparency = 0.5
  2495. local manaringm2 = Instance.new("SpecialMesh")
  2496. manaringm2.Scale = Vector3.new(6,5,4)
  2497. manaringm2.MeshType = "FileMesh"
  2498. manaringm2.MeshId = "http://www.roblox.com/asset/?id=1038653"
  2499. local manaring2 = Instance.new("Part")
  2500. manaring2.formFactor = 1
  2501. manaring2.CanCollide = false
  2502. manaring2.Name = "Handle2"
  2503. manaring2.Locked = true
  2504. manaring2.Anchored = true
  2505. manaring2.Size = Vector3.new(1,1,1)
  2506. manaring2.Parent = swordholder
  2507. manaring2.CFrame = Torso.CFrame * CFrame.new(0,-0.25,-4.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2508. manaringm2.Parent = manaring2
  2509. manaring2.BrickColor = BrickColor.new("Institutional white")
  2510. manaring2.Transparency = 0.5
  2511. delay(0.25,function()
  2512. for i = 0 , 1 , 0.1 do
  2513. wait()
  2514. manaring.Transparency = 0.5+0.5*i
  2515. manaring2.Transparency = 0.5+0.5*i
  2516. end
  2517. manaring.Parent = nil
  2518. manaring2.Parent = nil
  2519. end)
  2520. until windeffect == false
  2521. end))
  2522. ss(game.Workspace,0.5)
  2523. local bv = Instance.new("BodyPosition")
  2524. bv.Parent = Torso
  2525. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2526. bv.P = bv.P + 100
  2527. local CF = Torso.CFrame
  2528. local bg = Instance.new("BodyGyro")
  2529. bg.maxTorque = Vector3.new(math.huge,0,math.huge)
  2530. bg.P = bg.P + 10000
  2531. bg.cframe = CF
  2532. bg.Parent = Torso
  2533. bv.position = Torso.CFrame.p + (Vector3.new(0,0,0) + (Torso.CFrame.lookVector * 7.5))
  2534. for i = 0 , 25 do
  2535. wait()
  2536. bv.position = Torso.CFrame.p + (Vector3.new(0,0,0) + (Torso.CFrame.lookVector * 7.5))
  2537. local critrandomizer = math.random(1,crtrate)
  2538. if critrandomizer ~= 1 then
  2539. local rndmdamage = math.random(mindamage,maxdamage)
  2540. AoE(prt2,12.5,math.floor(rndmdamage*0.75),false)
  2541. elseif critrandomizer == 1 then
  2542. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  2543. AoE(prt2,12.5,math.floor(rndmdamage*0.75),true)
  2544. end
  2545. end
  2546. windeffect = false
  2547. for ii = 1 , #AoETrue do
  2548. table.remove(AoETrue,#AoETrue)
  2549. end
  2550. for i = 0 , 1 , 0.1 do
  2551. wait()
  2552. RW.C0 = CFrame.new(1.5-0.5*i,0.5-0.25*i,0.25-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-45*i), 0, math.rad(-45*i))
  2553. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2554. LW.C0 = CFrame.new(-1.5+0.5*i, 0.25-0.25*i, -0.75*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-45*i),0,math.rad(-45+90*i))
  2555. LW.C1 = CFrame.new(0, 0.5, 0)
  2556. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45*i)) * CFrame.new(0, 0, 0.75*i)
  2557. end
  2558. bv.Parent = nil
  2559. bg.Parent = nil
  2560. wait(0.125)
  2561. Hitdeb = 0
  2562. wait(0.3)
  2563. attack = false
  2564. end
  2565. function drain()
  2566. attack = true
  2567. for i = 0 , 1 , 0.1 do
  2568. wait()
  2569. RW.C0 = CFrame.new(1,0.25+0.25*i,-0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+25*i), 0, math.rad(-45))
  2570. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2571. LW.C0 = CFrame.new(-1, 0.25+0.25*i, -0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+25*i),0,math.rad(45))
  2572. LW.C1 = CFrame.new(0, 0.5, 0)
  2573. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75-0.75*i)
  2574. end
  2575. ss(game.Workspace,1)
  2576. local con = prt2.Touched:connect(OT2)
  2577. local CF = Torso.CFrame
  2578. local bg = Instance.new("BodyGyro")
  2579. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  2580. bg.P = bg.P + 10000
  2581. bg.cframe = CF
  2582. bg.Parent = Torso
  2583. local bv = Instance.new("BodyPosition")
  2584. bv.Parent = Torso
  2585. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2586. bv.position = CF.p + (Vector3.new(0,0,0) + (CF.lookVector * 0))
  2587. for i = 0 , 1 , 0.1 do
  2588. wait()
  2589. RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(70+20*i), 0, math.rad(-45))
  2590. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2591. LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(70+20*i),0,math.rad(45))
  2592. LW.C1 = CFrame.new(0, 0.5, 0)
  2593. bv.position = CF.p + (Vector3.new(0,0,0) + (CF.lookVector * 15*i))
  2594. effect()
  2595. end
  2596. for i = 0 , 1 , 0.1 do
  2597. wait()
  2598. RW.C0 = CFrame.new(1,0.5-0.25*i,-0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-45*i), 0, math.rad(-45))
  2599. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2600. LW.C0 = CFrame.new(-1, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-45*i),0,math.rad(45))
  2601. LW.C1 = CFrame.new(0, 0.5, 0)
  2602. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75*i)
  2603. if i == 0.2 then
  2604. bv.position = CF.p + (Vector3.new(0,5,0) + (CF.lookVector * 0.5))
  2605. ss(game.Workspace,1.25)
  2606. end
  2607. if i == 0.5 then
  2608. bv.position = CF.p + (Vector3.new(0,0,0) + (CF.lookVector * 0))
  2609. end
  2610. end
  2611. bg.Parent = nil
  2612. bv.Parent = nil
  2613. wait(0.125)
  2614. con:disconnect()
  2615. Hitdeb = 0
  2616. wait(0.3)
  2617. attack = false
  2618. end
  2619. function unleash()
  2620. attack = true
  2621. local gg = swordholder:GetChildren()
  2622. local thing = 1
  2623. cs(game.Workspace,1.25)
  2624. for i = 0 , 1 , 0.1 do
  2625. wait()
  2626. RW.C0 = CFrame.new(1+0.5*i,0.25+0.25*i,-0.75+0.75*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+135*i), 0, math.rad(-45+90*i))
  2627. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2628. LW.C0 = CFrame.new(-1, 0.25+0.25*i, -0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+25*i),0,math.rad(45))
  2629. LW.C1 = CFrame.new(0, 0.5, 0)
  2630. for l = 1 , #gg do
  2631. if gg[l].className == "Part" and gg[l].Name ~= "RAPart" then
  2632. gg[l].Transparency = 1*i
  2633. end
  2634. end
  2635. if thing == 2 then
  2636. thing = 1
  2637. end
  2638. if thing == 1 then
  2639. thing = thing + 1
  2640. bubblyblast(0.75,2,"Institutional white",prt2,false)
  2641. ringblast(2,0.5,"Institutional white",prt2)
  2642. end
  2643. end
  2644. ss(game.Workspace,1)
  2645. mindamage = 50
  2646. maxdamage = 95
  2647. crtmaxdamage = 150
  2648. local con = prt2.Touched:connect(OT3)
  2649. local CF = Torso.CFrame
  2650. local bg = Instance.new("BodyGyro")
  2651. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  2652. bg.P = bg.P + 10000
  2653. bg.cframe = CF
  2654. bg.Parent = Torso
  2655. local bv = Instance.new("BodyPosition")
  2656. bv.Parent = Torso
  2657. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2658. bv.position = CF.p + (Vector3.new(0,0,0) + (CF.lookVector * 0))
  2659. for i = 0 , 1 , 0.1 do
  2660. wait()
  2661. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.75*i) * CFrame.fromEulerAnglesXYZ(math.rad(180-135*i), 0, math.rad(45-45*i))
  2662. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2663. LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(70+20*i),0,math.rad(45))
  2664. LW.C1 = CFrame.new(0, 0.5, 0)
  2665. bv.position = CF.p + (Vector3.new(0,0,0) + (CF.lookVector * 15*i))
  2666. if thing == 2 then
  2667. thing = 1
  2668. end
  2669. if thing == 1 then
  2670. thing = thing + 1
  2671. bubblyblast(0.5,2,"Institutional white",prt2,false)
  2672. ringblast(1.5,0.5,"Institutional white",prt2)
  2673. end
  2674. end
  2675. bv.P = bv.P + 10000
  2676. for i = 0 , 1 , 0.1 do
  2677. wait()
  2678. RW.C0 = CFrame.new(1,0.5-0.25*i,-0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-45*i), 0, math.rad(-45))
  2679. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2680. LW.C0 = CFrame.new(-1, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-45*i),0,math.rad(45))
  2681. LW.C1 = CFrame.new(0, 0.5, 0)
  2682. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75*i)
  2683. for l = 1 , #gg do
  2684. if gg[l].className == "Part" and gg[l].Name ~= "RAPart" then
  2685. gg[l].Transparency = 1-1*i
  2686. end
  2687. end
  2688. if i == 0.2 then
  2689. bv.position = CF.p + (Vector3.new(0,5,0) + (CF.lookVector * 0.5))
  2690. ss(game.Workspace,1.25)
  2691. ls(game.Workspace,1.25)
  2692. end
  2693. if i == 0.5 then
  2694. bv.position = CF.p + (Vector3.new(0,0,0) + (CF.lookVector * 0))
  2695. end
  2696. end
  2697. bg.Parent = nil
  2698. bv.Parent = nil
  2699. wait(0.125)
  2700. mindamage = omindamage
  2701. maxdamage = omaxdamage
  2702. crtmaxdamage = ocrtmaxdamage
  2703. con:disconnect()
  2704. Hitdeb = 0
  2705. wait(0.3)
  2706. attack = false
  2707. end
  2708. function tremor()
  2709. attack = true
  2710. local thing = 1
  2711. for i = 0 , 1 , 0.1 do
  2712. wait()
  2713. RW.C0 = CFrame.new(1,0.25+0.75*i,-0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i), 0, math.rad(-45))
  2714. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2715. LW.C0 = CFrame.new(-1, 0.25+0.75*i, -0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i),0,math.rad(45))
  2716. LW.C1 = CFrame.new(0, 0.5, 0)
  2717. if thing == 2 then
  2718. thing = 1
  2719. end
  2720. if thing == 1 then
  2721. thing = thing + 1
  2722. ringblast(1,0.5,"Brown",prt2)
  2723. end
  2724. end
  2725. cs(game.Workspace,1.5)
  2726. for i = 0 , 1 , 0.2 do
  2727. wait()
  2728. RW.C0 = CFrame.new(1,1,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i), 0, math.rad(-45))
  2729. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2730. LW.C0 = CFrame.new(-1,1, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i),0,math.rad(45))
  2731. LW.C1 = CFrame.new(0, 0.5, 0)
  2732. effect()
  2733. end
  2734. wait(0.1)
  2735. for i = 0 , 1 , 0.1 do
  2736. wait()
  2737. RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i), 0, math.rad(-45))
  2738. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2739. LW.C0 = CFrame.new(-1, 1-0.5*i, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i),0,math.rad(45))
  2740. LW.C1 = CFrame.new(0, 0.5, 0)
  2741. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75-0.75*i)
  2742. effect()
  2743. end
  2744. mindamage = 15
  2745. maxdamage = 35
  2746. crtmaxdamage = 50
  2747. local critrandomizer = math.random(1,crtrate)
  2748. if critrandomizer ~= 1 then
  2749. local rndmdamage = math.random(mindamage,maxdamage)
  2750. AoETremor(prt2,15,rndmdamage,false)
  2751. elseif critrandomizer == 1 then
  2752. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  2753. AoETremor(prt2,15,rndmdamage,true)
  2754. end
  2755. local CFf = prt2.CFrame * CFrame.new(0,1.5,0)
  2756. local earthm = Instance.new("BlockMesh")
  2757. earthm.Scale = Vector3.new(1.5,1.5,1.5)
  2758. local earth = Instance.new("Part")
  2759. earth.formFactor = 0
  2760. earth.CanCollide = false
  2761. earth.Name = "Earth1"
  2762. earth.Locked = true
  2763. earth.Anchored = true
  2764. earth.Size = Vector3.new(1,1,1)
  2765. earth.Parent = swordholder
  2766. earth.CFrame = CFf
  2767. earthm.Parent = earth
  2768. earth.BrickColor = BrickColor.new("Brown")
  2769. earth.Transparency = 0
  2770. for i = 1 , 1 do
  2771. rs(game.Workspace,2.75)
  2772. end
  2773. for i = 0 , 1 , 0.1 do
  2774. wait()
  2775. earth.CFrame = CFf * CFrame.new(0,-0.25*i,0.15*i)
  2776. end
  2777. wait(0.25)
  2778. for i = 0 , 1 , 0.1 do
  2779. wait()
  2780. RW.C0 = CFrame.new(1,0.5-0.25*i,-0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i), 0, math.rad(-45))
  2781. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2782. LW.C0 = CFrame.new(-1, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i),0,math.rad(45))
  2783. LW.C1 = CFrame.new(0, 0.5, 0)
  2784. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75*i)
  2785. end
  2786. for ii = 1 , #AoETrue do
  2787. table.remove(AoETrue,#AoETrue)
  2788. end
  2789. for i = 0 , 1 , 0.1 do
  2790. wait()
  2791. earth.CFrame = CFf * CFrame.new(0,-0.25+1*i,0.15-0.15*i)
  2792. end
  2793. earth.Parent = nil
  2794. attack = false
  2795. mindamage = omindamage
  2796. maxdamage = omaxdamage
  2797. crtmaxdamage = ocrtmaxdamage
  2798. end
  2799. function quake()
  2800. attack = true
  2801. local thing = 1
  2802. for i = 0 , 1 , 0.1 do
  2803. wait()
  2804. RW.C0 = CFrame.new(1,0.25+0.75*i,-0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i), 0, math.rad(-45))
  2805. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2806. LW.C0 = CFrame.new(-1, 0.25+0.75*i, -0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i),0,math.rad(45))
  2807. LW.C1 = CFrame.new(0, 0.5, 0)
  2808. if thing == 2 then
  2809. thing = 1
  2810. end
  2811. if thing == 1 then
  2812. thing = thing + 1
  2813. ringblast(2,0.5,"Brown",prt2)
  2814. end
  2815. end
  2816. cs(game.Workspace,1.5)
  2817. for i = 0 , 1 , 0.2 do
  2818. wait()
  2819. RW.C0 = CFrame.new(1,1,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i), 0, math.rad(-45))
  2820. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2821. LW.C0 = CFrame.new(-1,1, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i),0,math.rad(45))
  2822. LW.C1 = CFrame.new(0, 0.5, 0)
  2823. effect()
  2824. end
  2825. wait(0.1)
  2826. for i = 0 , 1 , 0.1 do
  2827. wait()
  2828. RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i), 0, math.rad(-45))
  2829. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2830. LW.C0 = CFrame.new(-1, 1-0.5*i, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i),0,math.rad(45))
  2831. LW.C1 = CFrame.new(0, 0.5, 0)
  2832. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75-0.75*i)
  2833. effect()
  2834. end
  2835. mindamage = 25
  2836. maxdamage = 45
  2837. crtmaxdamage = 55
  2838. local critrandomizer = math.random(1,crtrate)
  2839. if critrandomizer ~= 1 then
  2840. local rndmdamage = math.random(mindamage,maxdamage)
  2841. AoEQuake(prt2,15,rndmdamage,false)
  2842. elseif critrandomizer == 1 then
  2843. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  2844. AoEQuake(prt2,15,rndmdamage,true)
  2845. end
  2846. local CFf = prt2.CFrame * CFrame.new(0,1.5,0)
  2847. local earthm = Instance.new("BlockMesh")
  2848. earthm.Scale = Vector3.new(2,2,2)
  2849. local earth = Instance.new("Part")
  2850. earth.formFactor = 0
  2851. earth.CanCollide = false
  2852. earth.Name = "Earth1"
  2853. earth.Locked = true
  2854. earth.Anchored = true
  2855. earth.Size = Vector3.new(1,1,1)
  2856. earth.Parent = swordholder
  2857. earth.CFrame = CFf
  2858. earthm.Parent = earth
  2859. earth.BrickColor = BrickColor.new("Brown")
  2860. earth.Transparency = 0
  2861. for i = 1 , 1 do
  2862. rs(game.Workspace,2)
  2863. end
  2864. for i = 0 , 1 , 0.1 do
  2865. wait()
  2866. earth.CFrame = CFf * CFrame.new(0,-0.3*i,0.15*i)
  2867. end
  2868. wait(0.25)
  2869. for i = 0 , 1 , 0.1 do
  2870. wait()
  2871. RW.C0 = CFrame.new(1,0.5-0.25*i,-0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i), 0, math.rad(-45))
  2872. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2873. LW.C0 = CFrame.new(-1, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i),0,math.rad(45))
  2874. LW.C1 = CFrame.new(0, 0.5, 0)
  2875. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75*i)
  2876. end
  2877. for ii = 1 , #AoETrue do
  2878. table.remove(AoETrue,#AoETrue)
  2879. end
  2880. for i = 0 , 1 , 0.1 do
  2881. wait()
  2882. earth.CFrame = CFf * CFrame.new(0,-0.25+1*i,0.15-0.15*i)
  2883. end
  2884. earth.Parent = nil
  2885. attack = false
  2886. mindamage = omindamage
  2887. maxdamage = omaxdamage
  2888. crtmaxdamage = ocrtmaxdamage
  2889. end
  2890. function cataclysm()
  2891. attack = true
  2892. local thing = 1
  2893. for i = 0 , 1 , 0.1 do
  2894. wait()
  2895. RW.C0 = CFrame.new(1,0.25+0.75*i,-0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i), 0, math.rad(-45))
  2896. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2897. LW.C0 = CFrame.new(-1, 0.25+0.75*i, -0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i),0,math.rad(45))
  2898. LW.C1 = CFrame.new(0, 0.5, 0)
  2899. if thing == 2 then
  2900. thing = 1
  2901. end
  2902. if thing == 1 then
  2903. thing = thing + 1
  2904. ringblast(3.5,1,"Brown",prt2)
  2905. end
  2906. end
  2907. cs(game.Workspace,1.5)
  2908. for i = 0 , 1 , 0.2 do
  2909. wait()
  2910. RW.C0 = CFrame.new(1,1,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i), 0, math.rad(-45))
  2911. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2912. LW.C0 = CFrame.new(-1,1, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i),0,math.rad(45))
  2913. LW.C1 = CFrame.new(0, 0.5, 0)
  2914. effect()
  2915. end
  2916. wait(0.1)
  2917. for i = 0 , 1 , 0.1 do
  2918. wait()
  2919. RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i), 0, math.rad(-45))
  2920. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2921. LW.C0 = CFrame.new(-1, 1-0.5*i, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i),0,math.rad(45))
  2922. LW.C1 = CFrame.new(0, 0.5, 0)
  2923. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75-0.75*i)
  2924. effect()
  2925. end
  2926. mindamage = 35
  2927. maxdamage = 65
  2928. crtmaxdamage = 75
  2929. local critrandomizer = math.random(1,crtrate)
  2930. if critrandomizer ~= 1 then
  2931. local rndmdamage = math.random(mindamage,maxdamage)
  2932. AoECataclysm(prt2,15,rndmdamage,false)
  2933. elseif critrandomizer == 1 then
  2934. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  2935. AoECataclysm(prt2,15,rndmdamage,true)
  2936. end
  2937. local CFf = prt2.CFrame * CFrame.new(0,1.5,0)
  2938. local earthm = Instance.new("BlockMesh")
  2939. earthm.Scale = Vector3.new(2,2,2)
  2940. local earth = Instance.new("Part")
  2941. earth.formFactor = 0
  2942. earth.CanCollide = false
  2943. earth.Name = "Earth1"
  2944. earth.Locked = true
  2945. earth.Anchored = true
  2946. earth.Size = Vector3.new(1,1,1)
  2947. earth.Parent = swordholder
  2948. earth.CFrame = CFf
  2949. earthm.Parent = earth
  2950. earth.BrickColor = BrickColor.new("Brown")
  2951. earth.Transparency = 0
  2952. for i = 1 , 1 do
  2953. rs(game.Workspace,2)
  2954. end
  2955. for i = 0 , 1 , 0.1 do
  2956. wait()
  2957. earth.CFrame = CFf * CFrame.new(0,-0.3*i,0.15*i)
  2958. end
  2959. wait(0.25)
  2960. for i = 0 , 1 , 0.1 do
  2961. wait()
  2962. RW.C0 = CFrame.new(1,0.5-0.25*i,-0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i), 0, math.rad(-45))
  2963. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2964. LW.C0 = CFrame.new(-1, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i),0,math.rad(45))
  2965. LW.C1 = CFrame.new(0, 0.5, 0)
  2966. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75*i)
  2967. end
  2968. for ii = 1 , #AoETrue do
  2969. table.remove(AoETrue,#AoETrue)
  2970. end
  2971. for i = 0 , 1 , 0.1 do
  2972. wait()
  2973. earth.CFrame = CFf * CFrame.new(0,-0.25+1*i,0.15-0.15*i)
  2974. end
  2975. earth.Parent = nil
  2976. attack = false
  2977. mindamage = omindamage
  2978. maxdamage = omaxdamage
  2979. crtmaxdamage = ocrtmaxdamage
  2980. end
  2981. function fume()
  2982. attack = true
  2983. local thing = 1
  2984. for i = 0 , 1 , 0.1 do
  2985. wait()
  2986. RW.C0 = CFrame.new(1,0.25+0.75*i,-0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i), 0, math.rad(-45))
  2987. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2988. LW.C0 = CFrame.new(-1, 0.25+0.75*i, -0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i),0,math.rad(45))
  2989. LW.C1 = CFrame.new(0, 0.5, 0)
  2990. if thing == 2 then
  2991. thing = 1
  2992. end
  2993. if thing == 1 then
  2994. thing = thing + 1
  2995. ringblast(2,0.5,"Gold",prt2)
  2996. end
  2997. end
  2998. cs(game.Workspace,1.5)
  2999. for i = 0 , 1 , 0.2 do
  3000. wait()
  3001. RW.C0 = CFrame.new(1,1,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i), 0, math.rad(-45))
  3002. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3003. LW.C0 = CFrame.new(-1,1, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i),0,math.rad(45))
  3004. LW.C1 = CFrame.new(0, 0.5, 0)
  3005. effect()
  3006. end
  3007. wait(0.1)
  3008. for i = 0 , 1 , 0.1 do
  3009. wait()
  3010. RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i), 0, math.rad(-45))
  3011. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3012. LW.C0 = CFrame.new(-1, 1-0.5*i, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i),0,math.rad(45))
  3013. LW.C1 = CFrame.new(0, 0.5, 0)
  3014. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75-0.75*i)
  3015. effect()
  3016. end
  3017. mindamage = 25
  3018. maxdamage = 45
  3019. crtmaxdamage = 55
  3020. local critrandomizer = math.random(1,crtrate)
  3021. if critrandomizer ~= 1 then
  3022. local rndmdamage = math.random(mindamage,maxdamage)
  3023. AoEFume(prt2,15,rndmdamage,false)
  3024. elseif critrandomizer == 1 then
  3025. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  3026. AoEFume(prt2,15,rndmdamage,true)
  3027. end
  3028. local CFf = prt2.CFrame * CFrame.new(0,1.5,0)
  3029. local earthm = Instance.new("BlockMesh")
  3030. earthm.Scale = Vector3.new(2,2,2)
  3031. local earth = Instance.new("Part")
  3032. earth.formFactor = 0
  3033. earth.CanCollide = false
  3034. earth.Name = "Earth1"
  3035. earth.Locked = true
  3036. earth.Anchored = true
  3037. earth.Size = Vector3.new(1,1,1)
  3038. earth.Parent = swordholder
  3039. earth.CFrame = CFf
  3040. earthm.Parent = earth
  3041. earth.BrickColor = BrickColor.new("Brown")
  3042. earth.Transparency = 0
  3043. for i = 1 , 1 do
  3044. rs(game.Workspace,2)
  3045. end
  3046. for i = 0 , 1 , 0.1 do
  3047. wait()
  3048. earth.CFrame = CFf * CFrame.new(0,-0.3*i,0.15*i)
  3049. end
  3050. wait(0.25)
  3051. for i = 0 , 1 , 0.1 do
  3052. wait()
  3053. RW.C0 = CFrame.new(1,0.5-0.25*i,-0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i), 0, math.rad(-45))
  3054. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3055. LW.C0 = CFrame.new(-1, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i),0,math.rad(45))
  3056. LW.C1 = CFrame.new(0, 0.5, 0)
  3057. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75*i)
  3058. end
  3059. for ii = 1 , #AoETrue do
  3060. table.remove(AoETrue,#AoETrue)
  3061. end
  3062. for i = 0 , 1 , 0.1 do
  3063. wait()
  3064. earth.CFrame = CFf * CFrame.new(0,-0.25+1*i,0.15-0.15*i)
  3065. end
  3066. earth.Parent = nil
  3067. attack = false
  3068. mindamage = omindamage
  3069. maxdamage = omaxdamage
  3070. crtmaxdamage = ocrtmaxdamage
  3071. end
  3072. --Eruption
  3073. function eruption()
  3074. attack = true
  3075. local thing = 1
  3076. for i = 0 , 1 , 0.1 do
  3077. wait()
  3078. RW.C0 = CFrame.new(1,0.25+0.75*i,-0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i), 0, math.rad(-45))
  3079. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3080. LW.C0 = CFrame.new(-1, 0.25+0.75*i, -0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i),0,math.rad(45))
  3081. LW.C1 = CFrame.new(0, 0.5, 0)
  3082. if thing == 2 then
  3083. thing = 1
  3084. end
  3085. if thing == 1 then
  3086. thing = thing + 1
  3087. ringblast(3.5,1,"Gold",prt2)
  3088. end
  3089. end
  3090. cs(game.Workspace,1.5)
  3091. for i = 0 , 1 , 0.2 do
  3092. wait()
  3093. RW.C0 = CFrame.new(1,1,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i), 0, math.rad(-45))
  3094. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3095. LW.C0 = CFrame.new(-1,1, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i),0,math.rad(45))
  3096. LW.C1 = CFrame.new(0, 0.5, 0)
  3097. effect()
  3098. end
  3099. wait(0.1)
  3100. for i = 0 , 1 , 0.1 do
  3101. wait()
  3102. RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i), 0, math.rad(-45))
  3103. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3104. LW.C0 = CFrame.new(-1, 1-0.5*i, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i),0,math.rad(45))
  3105. LW.C1 = CFrame.new(0, 0.5, 0)
  3106. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75-0.75*i)
  3107. effect()
  3108. end
  3109. mindamage = 35
  3110. maxdamage = 65
  3111. crtmaxdamage = 75
  3112. local critrandomizer = math.random(1,crtrate)
  3113. if critrandomizer ~= 1 then
  3114. local rndmdamage = math.random(mindamage,maxdamage)
  3115. AoEEruption(prt2,15,rndmdamage,false)
  3116. elseif critrandomizer == 1 then
  3117. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  3118. AoEEruption(prt2,15,rndmdamage,true)
  3119. end
  3120. local CFf = prt2.CFrame * CFrame.new(0,1.5,0)
  3121. local earthm = Instance.new("BlockMesh")
  3122. earthm.Scale = Vector3.new(2,2,2)
  3123. local earth = Instance.new("Part")
  3124. earth.formFactor = 0
  3125. earth.CanCollide = false
  3126. earth.Name = "Earth1"
  3127. earth.Locked = true
  3128. earth.Anchored = true
  3129. earth.Size = Vector3.new(1,1,1)
  3130. earth.Parent = swordholder
  3131. earth.CFrame = CFf
  3132. earthm.Parent = earth
  3133. earth.BrickColor = BrickColor.new("Brown")
  3134. earth.Transparency = 0
  3135. for i = 1 , 1 do
  3136. rs(game.Workspace,2)
  3137. end
  3138. for i = 0 , 1 , 0.1 do
  3139. wait()
  3140. earth.CFrame = CFf * CFrame.new(0,-0.3*i,0.15*i)
  3141. end
  3142. wait(0.25)
  3143. for i = 0 , 1 , 0.1 do
  3144. wait()
  3145. RW.C0 = CFrame.new(1,0.5-0.25*i,-0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i), 0, math.rad(-45))
  3146. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3147. LW.C0 = CFrame.new(-1, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i),0,math.rad(45))
  3148. LW.C1 = CFrame.new(0, 0.5, 0)
  3149. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75*i)
  3150. end
  3151. for ii = 1 , #AoETrue do
  3152. table.remove(AoETrue,#AoETrue)
  3153. end
  3154. for i = 0 , 1 , 0.1 do
  3155. wait()
  3156. earth.CFrame = CFf * CFrame.new(0,-0.25+1*i,0.15-0.15*i)
  3157. end
  3158. earth.Parent = nil
  3159. attack = false
  3160. mindamage = omindamage
  3161. maxdamage = omaxdamage
  3162. crtmaxdamage = ocrtmaxdamage
  3163. end
  3164. function tundra()
  3165. attack = true
  3166. local thing = 1
  3167. for i = 0 , 1 , 0.1 do
  3168. wait()
  3169. RW.C0 = CFrame.new(1,0.25+0.75*i,-0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i), 0, math.rad(-45))
  3170. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3171. LW.C0 = CFrame.new(-1, 0.25+0.75*i, -0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i),0,math.rad(45))
  3172. LW.C1 = CFrame.new(0, 0.5, 0)
  3173. if thing == 2 then
  3174. thing = 1
  3175. end
  3176. if thing == 1 then
  3177. thing = thing + 1
  3178. ringblast(2,0.5,"Bright blue",prt2)
  3179. end
  3180. end
  3181. cs(game.Workspace,1.5)
  3182. for i = 0 , 1 , 0.2 do
  3183. wait()
  3184. RW.C0 = CFrame.new(1,1,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i), 0, math.rad(-45))
  3185. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3186. LW.C0 = CFrame.new(-1,1, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i),0,math.rad(45))
  3187. LW.C1 = CFrame.new(0, 0.5, 0)
  3188. effect()
  3189. end
  3190. wait(0.1)
  3191. for i = 0 , 1 , 0.1 do
  3192. wait()
  3193. RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i), 0, math.rad(-45))
  3194. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3195. LW.C0 = CFrame.new(-1, 1-0.5*i, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i),0,math.rad(45))
  3196. LW.C1 = CFrame.new(0, 0.5, 0)
  3197. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75-0.75*i)
  3198. effect()
  3199. end
  3200. mindamage = 25
  3201. maxdamage = 45
  3202. crtmaxdamage = 55
  3203. local critrandomizer = math.random(1,crtrate)
  3204. if critrandomizer ~= 1 then
  3205. local rndmdamage = math.random(mindamage,maxdamage)
  3206. AoETundra(prt2,15,rndmdamage,false)
  3207. elseif critrandomizer == 1 then
  3208. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  3209. AoETundra(prt2,15,rndmdamage,true)
  3210. end
  3211. local CFf = prt2.CFrame * CFrame.new(0,1.5,0)
  3212. local earthm = Instance.new("BlockMesh")
  3213. earthm.Scale = Vector3.new(2,2,2)
  3214. local earth = Instance.new("Part")
  3215. earth.formFactor = 0
  3216. earth.CanCollide = false
  3217. earth.Name = "Earth1"
  3218. earth.Locked = true
  3219. earth.Anchored = true
  3220. earth.Size = Vector3.new(1,1,1)
  3221. earth.Parent = swordholder
  3222. earth.CFrame = CFf
  3223. earthm.Parent = earth
  3224. earth.BrickColor = BrickColor.new("Brown")
  3225. earth.Transparency = 0
  3226. for i = 1 , 1 do
  3227. rs(game.Workspace,2)
  3228. end
  3229. for i = 0 , 1 , 0.1 do
  3230. wait()
  3231. earth.CFrame = CFf * CFrame.new(0,-0.3*i,0.15*i)
  3232. end
  3233. wait(0.25)
  3234. for i = 0 , 1 , 0.1 do
  3235. wait()
  3236. RW.C0 = CFrame.new(1,0.5-0.25*i,-0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i), 0, math.rad(-45))
  3237. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3238. LW.C0 = CFrame.new(-1, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i),0,math.rad(45))
  3239. LW.C1 = CFrame.new(0, 0.5, 0)
  3240. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75*i)
  3241. end
  3242. for ii = 1 , #AoETrue do
  3243. table.remove(AoETrue,#AoETrue)
  3244. end
  3245. for i = 0 , 1 , 0.1 do
  3246. wait()
  3247. earth.CFrame = CFf * CFrame.new(0,-0.25+1*i,0.15-0.15*i)
  3248. end
  3249. earth.Parent = nil
  3250. attack = false
  3251. mindamage = omindamage
  3252. maxdamage = omaxdamage
  3253. crtmaxdamage = ocrtmaxdamage
  3254. end
  3255. function iceberg()
  3256. attack = true
  3257. local thing = 1
  3258. for i = 0 , 1 , 0.1 do
  3259. wait()
  3260. RW.C0 = CFrame.new(1,0.25+0.75*i,-0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i), 0, math.rad(-45))
  3261. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3262. LW.C0 = CFrame.new(-1, 0.25+0.75*i, -0.75+0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(45+100*i),0,math.rad(45))
  3263. LW.C1 = CFrame.new(0, 0.5, 0)
  3264. if thing == 2 then
  3265. thing = 1
  3266. end
  3267. if thing == 1 then
  3268. thing = thing + 1
  3269. ringblast(3.5,1,"Bright blue",prt2)
  3270. end
  3271. end
  3272. cs(game.Workspace,1.5)
  3273. for i = 0 , 1 , 0.2 do
  3274. wait()
  3275. RW.C0 = CFrame.new(1,1,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i), 0, math.rad(-45))
  3276. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3277. LW.C0 = CFrame.new(-1,1, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(145+25*i),0,math.rad(45))
  3278. LW.C1 = CFrame.new(0, 0.5, 0)
  3279. effect()
  3280. end
  3281. wait(0.1)
  3282. for i = 0 , 1 , 0.1 do
  3283. wait()
  3284. RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i), 0, math.rad(-45))
  3285. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3286. LW.C0 = CFrame.new(-1, 1-0.5*i, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(170-145*i),0,math.rad(45))
  3287. LW.C1 = CFrame.new(0, 0.5, 0)
  3288. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90+90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75-0.75*i)
  3289. effect()
  3290. end
  3291. mindamage = 35
  3292. maxdamage = 65
  3293. crtmaxdamage = 75
  3294. local critrandomizer = math.random(1,crtrate)
  3295. if critrandomizer ~= 1 then
  3296. local rndmdamage = math.random(mindamage,maxdamage)
  3297. AoEIceberg(prt2,15,rndmdamage,false)
  3298. elseif critrandomizer == 1 then
  3299. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  3300. AoEIceberg(prt2,15,rndmdamage,true)
  3301. end
  3302. local CFf = prt2.CFrame * CFrame.new(0,1.5,0)
  3303. local earthm = Instance.new("BlockMesh")
  3304. earthm.Scale = Vector3.new(2,2,2)
  3305. local earth = Instance.new("Part")
  3306. earth.formFactor = 0
  3307. earth.CanCollide = false
  3308. earth.Name = "Earth1"
  3309. earth.Locked = true
  3310. earth.Anchored = true
  3311. earth.Size = Vector3.new(1,1,1)
  3312. earth.Parent = swordholder
  3313. earth.CFrame = CFf
  3314. earthm.Parent = earth
  3315. earth.BrickColor = BrickColor.new("Brown")
  3316. earth.Transparency = 0
  3317. for i = 1 , 1 do
  3318. rs(game.Workspace,2)
  3319. end
  3320. for i = 0 , 1 , 0.1 do
  3321. wait()
  3322. earth.CFrame = CFf * CFrame.new(0,-0.3*i,0.15*i)
  3323. end
  3324. wait(0.25)
  3325. for i = 0 , 1 , 0.1 do
  3326. wait()
  3327. RW.C0 = CFrame.new(1,0.5-0.25*i,-0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i), 0, math.rad(-45))
  3328. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3329. LW.C0 = CFrame.new(-1, 0.5-0.25*i, -0.5-0.25*i) * CFrame.fromEulerAnglesXYZ(math.rad(25+20*i),0,math.rad(45))
  3330. LW.C1 = CFrame.new(0, 0.5, 0)
  3331. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180-90*i), 0, math.rad(-45)) * CFrame.new(0, 0, 0.75*i)
  3332. end
  3333. for ii = 1 , #AoETrue do
  3334. table.remove(AoETrue,#AoETrue)
  3335. end
  3336. for i = 0 , 1 , 0.1 do
  3337. wait()
  3338. earth.CFrame = CFf * CFrame.new(0,-0.25+1*i,0.15-0.15*i)
  3339. end
  3340. earth.Parent = nil
  3341. attack = false
  3342. mindamage = omindamage
  3343. maxdamage = omaxdamage
  3344. crtmaxdamage = ocrtmaxdamage
  3345. end
  3346. hold = false
  3347. function ob1d(mouse)
  3348. hold = true
  3349. end
  3350. function ob1u(mouse)
  3351. hold = false
  3352. end
  3353. buttonhold = false
  3354. function key(key)
  3355. if attack == true then return end
  3356. if key == "q" then
  3357. slash()
  3358. end
  3359. if key == "e" then
  3360. revenge()
  3361. end
  3362. if key == "r" then
  3363. quickslash()
  3364. end
  3365. if key == "t" then
  3366. windslash()
  3367. end
  3368. if key == "y" then
  3369. drain()
  3370. end
  3371. if key == "f" then
  3372. unleash()
  3373. end
  3374. if key == "z" then
  3375. tremor()
  3376. end
  3377. if key == "x" then
  3378. quake()
  3379. end
  3380. if key == "c" then
  3381. cataclysm()
  3382. end
  3383. if key == "v" then
  3384. fume()
  3385. end
  3386. if key == "b" then
  3387. eruption()
  3388. end
  3389. if key == "n" then
  3390. tundra()
  3391. end
  3392. if key == "m" then
  3393. iceberg()
  3394. end
  3395. end
  3396. function key2(key)
  3397. end
  3398. function s(mouse)
  3399. mouse.Button1Down:connect(function() ob1d(mouse) end)
  3400. mouse.Button1Up:connect(function() ob1u(mouse) end)
  3401. mouse.KeyDown:connect(key)
  3402. mouse.KeyUp:connect(key2)
  3403. RWFunc()
  3404. equipanim()
  3405. end
  3406. function ds(mouse)
  3407. hideanim()
  3408. wait(0.1)
  3409. RWRem()
  3410. LWRem()
  3411. end
  3412. Bin.Selected:connect(s)
  3413. Bin.Deselected:connect(ds)
  3414. -- lego mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement