Advertisement
PastebinA-Z

Soul Eating boyle

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