Advertisement
ForkFullFight

Untitled

Jul 28th, 2023
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- [[ Name: Archangel ]] --
  2. -- [[ Converted: Melon’s converter ]] --
  3. -- [[ Description: I don’t own this converter and the credits are melon for making the convert and my world for the reanimate]] --
  4. -- [[ Do not use ANYTHING without crediting melon or myworld. ]] --
  5.  
  6. --[[
  7. Hats:
  8. https://www.roblox.com/catalog/3033908130/International-Fedora-France
  9. https://www.roblox.com/catalog/3398308134/International-Fedora-Canada
  10. https://www.roblox.com/catalog/3033910400/International-Fedora-Germany
  11. https://www.roblox.com/catalog/3409612660/International-Fedora-USA
  12. https://www.roblox.com/catalog/5552252553/Kinetic-Staff
  13. https://www.roblox.com/catalog/4819740796/Robox
  14. ]]--
  15.  
  16.  
  17. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{Text="Welcome to Melon's FE Scripts",Color=Color3.fromRGB(255, 255, 255)})
  18. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{Text="You are using: Glock 17",Color=Color3.fromRGB(255, 255, 255)})
  19.  
  20.  
  21. player = game.Players.LocalPlayer
  22. cplayer = player.Character
  23.  
  24. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{Text="Status: Loading Reanimate...",Color=Color3.fromRGB(255, 255, 255)})
  25.  
  26. loadstring(game:HttpGet("https://raw.githubusercontent.com/MelonsStuff/ReanimatesAndAlignCode/main/omgitskorn_reanimate1"))()
  27.  
  28. for i,v in pairs (cplayer:GetChildren()) do
  29. if v:IsA("Accessory") then
  30. v.Handle.Massless = true
  31. v.Handle.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  32. end
  33. end
  34.  
  35. local function gp(parent, name, className)
  36. if typeof(parent) == "Instance" then
  37. for i, v in pairs(parent:GetChildren()) do
  38. if (v.Name == name) and v:IsA(className) then
  39. return v
  40. end
  41. end
  42. end
  43. return nil
  44. end
  45.  
  46. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{Text="Status: Aligning...",Color=Color3.fromRGB(255, 255, 255)})
  47.  
  48. task.wait(0.5)
  49.  
  50. local hat2 = gp(cplayer, "MeshPartAccessory", "Accessory")
  51. local handle2 = gp(hat2, "Handle", "BasePart")
  52. local att2 = gp(handle2, "att1_Handle", "Attachment")
  53. att2.Parent = cplayer["Torso"]
  54. att2.Position = Vector3.new(0, 0, 0)
  55. att2.Rotation = Vector3.new(180, 0, -15)
  56.  
  57. local hat2 = gp(cplayer, "InternationalFedora", "Accessory")
  58. local handle2 = gp(hat2, "Handle", "BasePart")
  59. local att2 = gp(handle2, "att1_Handle", "Attachment")
  60. att2.Parent = cplayer["Left Arm"]
  61. att2.Position = Vector3.new(-0, -0.2, -0)
  62. att2.Rotation = Vector3.new(-90, 0, 90)
  63.  
  64. local hat2 = gp(cplayer, "InternationalFedora1", "Accessory")
  65. local handle2 = gp(hat2, "Handle", "BasePart")
  66. local att2 = gp(handle2, "att1_Handle", "Attachment")
  67. att2.Parent = cplayer["Right Arm"]
  68. att2.Position = Vector3.new(0, -0.2, -0)
  69. att2.Rotation = Vector3.new(-90, 0, -90)
  70.  
  71. local hat2 = gp(cplayer, "Crystal Staff", "Accessory")
  72. local handle2 = gp(hat2, "Handle", "BasePart")
  73. local att2 = gp(handle2, "att1_Handle", "Attachment")
  74. att2.Parent = cplayer["Right Arm"]
  75. att2.Position = Vector3.new(-0.35, -1.25, -0)
  76. att2.Rotation = Vector3.new(180, 245, -145)
  77.  
  78. local hat2 = gp(cplayer, "InternationalFedora2", "Accessory")
  79. local handle2 = gp(hat2, "Handle", "BasePart")
  80. local att2 = gp(handle2, "att1_Handle", "Attachment")
  81. att2.Parent = cplayer["Left Leg"]
  82. att2.Position = Vector3.new(-0, -0.2, -0)
  83. att2.Rotation = Vector3.new(-90, 0, 90)
  84.  
  85. local hat2 = gp(cplayer, "InternationalFedora3", "Accessory")
  86. local handle2 = gp(hat2, "Handle", "BasePart")
  87. local att2 = gp(handle2, "att1_Handle", "Attachment")
  88. att2.Parent = cplayer["Right Leg"]
  89. att2.Position = Vector3.new(0, -0.2, -0)
  90. att2.Rotation = Vector3.new(-90, 0, -90)
  91.  
  92. task.wait(1)
  93.  
  94. game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{Text="Status: Loaded!",Color=Color3.fromRGB(255, 255, 255)}) --fixed by allahuahkbar
  95. --made by shackluster
  96.  
  97. --// \\--
  98. --|| MADE BY SHACKLUSTER ||--
  99. --|| FIXED BY ALLAHUAHKBAR ||--
  100. --|| ARCHANGEL ||--
  101. --\\ //--
  102.  
  103. --Converted with ttyyuu12345's model to script plugin v4
  104. function sandbox(var,func)
  105. local env = getfenv(func)
  106. local newenv = setmetatable({},{
  107. __index = function(self,k)
  108. if k=="script" then
  109. return var
  110. else
  111. return env[k]
  112. end
  113. end,
  114. })
  115. setfenv(func,newenv)
  116. return func
  117. end
  118. function NS(...)
  119. local tab = {...}
  120. local fat = {}
  121. for i = 1, #tab do
  122. local v = tab[i]
  123. table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
  124. end
  125. return NumberSequence.new(fat);
  126. end
  127.  
  128. cors = {}
  129. mas = Instance.new("Model",game:GetService("Lighting"))
  130. ParticleEmitter0 = Instance.new("ParticleEmitter")
  131. ParticleEmitter1 = Instance.new("ParticleEmitter")
  132. ParticleEmitter2 = Instance.new("ParticleEmitter")
  133. ParticleEmitter0.Name = "Flames"
  134. ParticleEmitter0.Parent = mas
  135. ParticleEmitter0.Speed = NumberRange.new(0, 15)
  136. ParticleEmitter0.Rotation = NumberRange.new(0, 360)
  137. ParticleEmitter0.Enabled = false
  138. ParticleEmitter0.LightEmission = 1
  139. ParticleEmitter0.LightInfluence = 1
  140. ParticleEmitter0.Transparency = NumberSequence.new(1,0)
  141. ParticleEmitter0.ZOffset = 1
  142. ParticleEmitter0.Size = NumberSequence.new(10,0)
  143. ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
  144. ParticleEmitter0.Lifetime = NumberRange.new(0, 2)
  145. ParticleEmitter0.Rate = 9999
  146. ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25)
  147. ParticleEmitter0.SpreadAngle = Vector2.new(25, 25)
  148. ParticleEmitter0.VelocitySpread = 25
  149. ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  150. ParticleEmitter1.Name = "Death"
  151. ParticleEmitter1.Parent = mas
  152. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  153. ParticleEmitter1.Enabled = false
  154. ParticleEmitter1.LightEmission = 0.75
  155. ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  156. ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1})
  157. ParticleEmitter1.ZOffset = 0.5
  158. ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0})
  159. ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0)
  160. ParticleEmitter1.Drag = 5
  161. ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
  162. ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
  163. ParticleEmitter1.Rate = 999
  164. ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
  165. ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
  166. ParticleEmitter1.VelocitySpread = 360
  167. ParticleEmitter2.Name = "Wing"
  168. ParticleEmitter2.Parent = mas
  169. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  170. ParticleEmitter2.Enabled = false
  171. ParticleEmitter2.LightEmission = 1
  172. ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  173. ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0})
  174. ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15)
  175. ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093)
  176. ParticleEmitter2.LockedToPart = true
  177. ParticleEmitter2.Rate = 300
  178.  
  179. for i,v in pairs(mas:GetChildren()) do
  180. v.Parent = script
  181. pcall(function() v:MakeJoints() end)
  182. end
  183. mas:Destroy()
  184. for i,v in pairs(cors) do
  185. spawn(function()
  186. pcall(v)
  187. end)
  188. end
  189.  
  190.  
  191. New = function(Object, Parent, Name, Data)
  192. local Object = Instance.new(Object)
  193. for Index, Value in pairs(Data or {}) do
  194. Object[Index] = Value
  195. end
  196. Object.Parent = Parent
  197. Object.Name = Name
  198. return Object
  199. end
  200.  
  201.  
  202. Player = game:GetService("Players").LocalPla yer
  203. Character = Player.Character
  204. PlayerGui = Player.PlayerGui
  205. Backpack = Player.Backpack
  206. Torso = Character.Torso
  207. Head = Character.Head
  208. LeftArm = Character["Left Arm"]
  209. LeftLeg = Character["Left Leg"]
  210. RightArm = Character["Right Arm"]
  211. RightLeg = Character["Right Leg"]
  212. LS = Torso["Left Shoulder"]
  213. LH = Torso["Left Hip"]
  214. RS = Torso["Right Shoulder"]
  215. RH = Torso["Right Hip"]
  216. ModelName = "Weapon"
  217. ToolName = "Yamato"
  218. attack = false
  219. attacktype = 1
  220. mindamage = 15
  221. maxdamage = 25
  222. crtmaxdamage = 45
  223. omindamage = 15
  224. omaxdamage = 25
  225. ocrtmaxdamage = 45
  226. crtrate = 12
  227. fireboost = 0
  228. iceboost = 0
  229. darkboost = 0
  230. Mode = "None"
  231. ssh = false
  232. atktypez = 1
  233. Hitdeb = 0
  234. ammo = 1
  235. MMouse = nil
  236. point = false
  237. offset = 0
  238. radv = 90
  239. ----------------------------
  240. --Customize
  241. DarkFire = true
  242. MaxFT = 40
  243.  
  244.  
  245.  
  246. ---------------------------------------------------------------------------------------------------------------------------------------
  247. if Character:findFirstChild("EquippedVal",true) ~= nil then
  248. Character:findFirstChild("EquippedVal",true).Parent = nil
  249. end
  250. ev = Instance.new("BoolValue")
  251. ev.Parent = Character
  252. ev.Name = "EquippedVal"
  253. ev.Value = false
  254. --player
  255. player = nil
  256. --welds
  257. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  258. --what anim
  259. anim = "none"
  260. --other var
  261. player = Player
  262. ch = Character
  263. --save shoulders
  264. AoETrue = {}
  265. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  266.  
  267. function RWFunc()
  268. RW.Part1 = ch["Right Arm"]
  269. RSH.Part1 = nil
  270. end
  271. function LWFunc()
  272. LW.Part1 = ch["Left Arm"]
  273. LSH.Part1 = nil
  274. end
  275. function RWLFunc()
  276. RWL.Part1 = ch["Right Leg"]
  277. RHL.Part1 = nil
  278. ch["Right Leg"].Name = "RightLeg"
  279. RightLeg.CanCollide = false
  280. end
  281. function LWLFunc()
  282. LWL.Part1 = ch["Left Leg"]
  283. LHL.Part1 = nil
  284. ch["Left Leg"].Name = "LeftLeg"
  285. LeftLeg.CanCollide = true
  286. end
  287. function RWLRem()
  288. RightLeg.Name = "Right Leg"
  289. RWL.Part1 = nil
  290. RHL.Part1 = ch["Right Leg"]
  291. RightLeg.CanCollide = false
  292. end
  293. function LWLRem()
  294. LeftLeg.Name = "Left Leg"
  295. LWL.Part1 = nil
  296. LHL.Part1 = ch["Left Leg"]
  297. LeftLeg.CanCollide = false
  298. end
  299. function RWRem()
  300. RW.Part1 = nil
  301. RSH.Part1 = ch["Right Arm"]
  302. end
  303. function LWRem()
  304. LW.Part1 = nil
  305. LSH.Part1 = ch["Left Arm"]
  306. end
  307.  
  308.  
  309. if Character:findFirstChild(ModelName,true) ~= nil then
  310. Character:findFirstChild(ModelName,true).Parent = nil
  311. RHL.Part1 = ch["Right Leg"]
  312. LHL.Part1 = ch["Left Leg"]
  313. RSH.Part1 = ch["Right Arm"]
  314. LSH.Part1 = ch["Left Arm"]
  315. end
  316.  
  317.  
  318.  
  319. local swordholder = Instance.new("Model")
  320. swordholder.Name = ModelName
  321. swordholder.Parent = Character
  322. --derp
  323. RW.Part0 = ch.Torso
  324. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  325. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  326. RW.Parent = swordholder
  327. --
  328. LW.Part0 = ch.Torso
  329. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  330. LW.C1 = CFrame.new(0, 0.5, 0)
  331. LW.Parent = swordholder
  332. --
  333. RWL.Part0 = ch.Torso
  334. RWL.C0 = CFrame.new(1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  335. RWL.C1 = CFrame.new(0.5, 1, 0)
  336. RWL.Parent = swordholder
  337. --
  338. LWL.Part0 = ch.Torso
  339. LWL.C0 = CFrame.new(-1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  340. LWL.C1 = CFrame.new(-0.5, 1, 0)
  341. LWL.Parent = swordholder
  342. handlecolor = BrickColor.new("Really black")
  343. scndryclr = BrickColor.new("Bright violet")
  344. firepri = BrickColor.new("Bright red")
  345. icepri = BrickColor.new("Bright blue")
  346. local msh1 = Instance.new("CylinderMesh")
  347. msh1.Scale = Vector3.new(1,1,1)
  348. local msh2 = Instance.new("BlockMesh")
  349. msh2.Scale = Vector3.new(1,1,1)
  350. --
  351. local msh3 = Instance.new("BlockMesh")
  352. msh3.Scale = Vector3.new(1,1,1)
  353. local msh3a = Instance.new("SpecialMesh")
  354. msh3a.Scale = Vector3.new(1,1,1)
  355. msh3a.MeshType = "Wedge"
  356. local msh4 = Instance.new("BlockMesh")
  357. msh4.Scale = Vector3.new(1,1,1)
  358. local msh4a = Instance.new("SpecialMesh")
  359. msh4a.Scale = Vector3.new(1,1,1)
  360. msh4a.MeshType = "Wedge"
  361. --
  362. local msh5 = Instance.new("SpecialMesh")
  363. msh5.Scale = Vector3.new(1,1,2)
  364. msh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  365. local msh6 = Instance.new("BlockMesh")
  366. msh6.Scale = Vector3.new(1,1,0.5)
  367. local msh7 = Instance.new("BlockMesh")
  368. msh7.Scale = Vector3.new(1,1,1)
  369. local msh8 = Instance.new("BlockMesh")
  370. msh8.Scale = Vector3.new(0.5,1,1)
  371. local prt1 = Instance.new("Part")
  372. prt1.formFactor = 3
  373. prt1.CanCollide = false
  374. prt1.Name = "Handle"
  375. prt1.Locked = true
  376. prt1.Size = Vector3.new(0.2,1.5,0.2)
  377. prt1.Parent = swordholder
  378. msh1.Parent = prt1
  379. prt1.BrickColor = handlecolor
  380. local prt2 = Instance.new("Part")
  381. prt2.formFactor = 3
  382. prt2.CanCollide = false
  383. prt2.Name = "HandleTop"
  384. prt2.Locked = true
  385. prt2.Size = Vector3.new(1.6,0.2,0.5)
  386. prt2.Parent = swordholder
  387. msh2.Parent = prt2
  388. prt2.BrickColor = scndryclr
  389. ---
  390. local prt3 = Instance.new("Part")
  391. prt3.formFactor = 3
  392. prt3.CanCollide = false
  393. prt3.Name = "FlameBlade"
  394. prt3.Locked = true
  395. prt3.Size = Vector3.new(0.4,3,0.2)
  396. prt3.Parent = swordholder
  397. msh3.Parent = prt3
  398. prt3.BrickColor = firepri
  399. prt3.Reflectance = 0
  400. local prt3a = Instance.new("Part")
  401. prt3a.formFactor = 3
  402. prt3a.CanCollide = false
  403. prt3a.Name = "FlameBladeP1"
  404. prt3a.Locked = true
  405. prt3a.Size = Vector3.new(0.2,1,0.4)
  406. prt3a.Parent = swordholder
  407. msh3a.Parent = prt3a
  408. prt3a.BrickColor = firepri
  409. prt3a.Reflectance = 0
  410. --
  411. local prt4 = Instance.new("Part")
  412. prt4.formFactor = 3
  413. prt4.CanCollide = false
  414. prt4.Name = "FrostBlade"
  415. prt4.Locked = true
  416. prt4.Size = Vector3.new(0.4,3,0.2)
  417. prt4.Parent = swordholder
  418. msh4.Parent = prt4
  419. prt4.BrickColor = icepri
  420. prt4.Reflectance = 0.5
  421. local prt4a = Instance.new("Part")
  422. prt4a.formFactor = 3
  423. prt4a.CanCollide = false
  424. prt4a.Name = "FrostBladeP1"
  425. prt4a.Locked = true
  426. prt4a.Size = Vector3.new(0.2,1,0.4)
  427. prt4a.Parent = swordholder
  428. msh4a.Parent = prt4a
  429. prt4a.BrickColor = icepri
  430. prt4a.Reflectance = 0.5
  431. --
  432. local prt5 = Instance.new("Part")
  433. prt5.formFactor = 3
  434. prt5.CanCollide = false
  435. prt5.Name = "HandleRing"
  436. prt5.Locked = true
  437. prt5.Size = Vector3.new(1,1,0.2)
  438. prt5.Parent = swordholder
  439. msh5.Parent = prt5
  440. prt5.BrickColor = scndryclr
  441. prt5.Reflectance = 0
  442. local DFlame = Instance.new("Fire")
  443. DFlame.Parent = prt5
  444. DFlame.Color = Color3.new(0.5,0,0.5)
  445. DFlame.SecondaryColor = Color3.new(0.5,0,0.5)
  446. DFlame.Heat = 25
  447. DFlame.Size = 1
  448. DFlame.Enabled = DarkFire
  449. local prt6 = Instance.new("Part")
  450. prt6.formFactor = 3
  451. prt6.CanCollide = false
  452. prt6.Name = "HandleP1"
  453. prt6.Locked = true
  454. prt6.Size = Vector3.new(0.2,1.5,0.2)
  455. prt6.Parent = swordholder
  456. msh6.Parent = prt6
  457. prt6.BrickColor = scndryclr
  458. prt6.Reflectance = 0
  459. local prt7 = Instance.new("Part")
  460. prt7.formFactor = 3
  461. prt7.CanCollide = false
  462. prt7.Name = "HandleP2"
  463. prt7.Locked = true
  464. prt7.Size = Vector3.new(0.7,0.2,0.2)
  465. prt7.Parent = swordholder
  466. msh7.Parent = prt7
  467. prt7.BrickColor = scndryclr
  468. prt7.Reflectance = 0
  469. local prt8 = Instance.new("Part")
  470. prt8.formFactor = 3
  471. prt8.CanCollide = false
  472. prt8.Name = "DarkBlade"
  473. prt8.Locked = true
  474. prt8.Size = Vector3.new(0.2,4,0.2)
  475. prt8.Parent = swordholder
  476. msh8.Parent = prt8
  477. prt8.BrickColor = handlecolor
  478. prt8.Transparency = 1
  479. local hitbox = Instance.new("Part")
  480. hitbox.formFactor = 3
  481. hitbox.CanCollide = false
  482. hitbox.Name = "Hitbox"
  483. hitbox.Locked = true
  484. hitbox.Size = Vector3.new(1,4,0.2)
  485. hitbox.Parent = swordholder
  486. hitbox.Transparency = 1
  487. local hbw = Instance.new("Weld")
  488. hbw.Parent = hitbox
  489. hbw.Part0 = hitbox
  490. hbw.Part1 = prt1
  491. hbw.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  492. hbw.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -2.95, 0)
  493.  
  494. local w1 = Instance.new("Weld")
  495. w1.Parent = prt1
  496. w1.Part0 = prt1
  497. local w2 = Instance.new("Weld")
  498. w2.Parent = prt2
  499. w2.Part0 = prt2
  500. w2.Part1 = prt1
  501. w2.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  502. w2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -0.85, 0)
  503. --
  504. local w3 = Instance.new("Weld")
  505. w3.Parent = prt3
  506. w3.Part0 = prt3
  507. w3.Part1 = prt1
  508. w3.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  509. w3.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0.25, -2.45, 0)
  510. local w3a = Instance.new("Weld")
  511. w3a.Parent = prt3a
  512. w3a.Part0 = prt3a
  513. w3a.Part1 = prt1
  514. w3a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  515. w3a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(-90),0) * CFrame.new(0.25, -4.45, 0)
  516. local w4 = Instance.new("Weld")
  517. w4.Parent = prt4
  518. w4.Part0 = prt4
  519. w4.Part1 = prt1
  520. w4.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  521. w4.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.25, -2.45, 0)
  522. local w4a = Instance.new("Weld")
  523. w4a.Parent = prt4a
  524. w4a.Part0 = prt4a
  525. w4a.Part1 = prt1
  526. w4a.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  527. w4a.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90),0) * CFrame.new(-0.25, -4.45, 0)
  528. --
  529. local w5 = Instance.new("Weld")
  530. w5.Parent = prt5
  531. w5.Part0 = prt5
  532. w5.Part1 = prt1
  533. w5.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  534. w5.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0, -0.85, 0)
  535. local w6 = Instance.new("Weld")
  536. w6.Parent = prt6
  537. w6.Part0 = prt6
  538. w6.Part1 = prt1
  539. w6.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  540. w6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.5, -0, 0)
  541. local w7 = Instance.new("Weld")
  542. w7.Parent = prt7
  543. w7.Part0 = prt7
  544. w7.Part1 = prt1
  545. w7.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  546. w7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(-0.25, 0.75, 0)
  547. local w8 = Instance.new("Weld")
  548. w8.Parent = prt8
  549. w8.Part0 = prt8
  550. w8.Part1 = prt1
  551. w8.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  552. w8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,0) * CFrame.new(0, -2.95, 0)
  553. for ringi = 0 , math.rad(350) , math.rad(50) do
  554. local ringm = Instance.new("BlockMesh")
  555. ringm.Scale = Vector3.new(1,1.5,1)
  556. local ringp = Instance.new("Part")
  557. ringp.formFactor = 3
  558. ringp.CanCollide = false
  559. ringp.Name = "HandleRingP"..ringi
  560. ringp.Locked = true
  561. ringp.Size = Vector3.new(0.2,0.2,0.2)
  562. ringp.Parent = swordholder
  563. ringm.Parent = ringp
  564. ringp.BrickColor = scndryclr
  565. ringp.Reflectance = 0.1
  566. local ringw = Instance.new("Weld")
  567. ringw.Parent = ringp
  568. ringw.Part0 = ringp
  569. ringw.Part1 = prt5
  570. ringw.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90), -ringi, 0) * CFrame.new(0, 0 , 0)
  571. ringw.C0 = CFrame.fromEulerAnglesXYZ(0, 0,0) * CFrame.new(-msh5.Scale.x/1.625, 0, 0) --* CFrame.new(-0.6, 0, 0) ---msh5.Scale.z/3.25
  572. end
  573.  
  574. local Objects = {}
  575. function getAllObjects(obj)
  576. for a,v in pairs(obj:GetChildren()) do
  577. if v:IsA("BasePart") then
  578. table.insert(Objects,v)
  579. end
  580. if #v:GetChildren() > 0 then
  581. getAllObjects(v)
  582. end
  583. end
  584. end
  585. getAllObjects(Workspace)
  586. function Raycast(Start,End,Range)
  587. --
  588. for ii = 0 , #Objects do
  589. table.remove(Objects,ii)
  590. end
  591. getAllObjects(Workspace)
  592. local MA = math.abs
  593. local CF = CFrame.new(Start,End)
  594. local CP = Start
  595. for i = 1, Range do--(Start - End).magnitude do
  596. for b,v in pairs(Objects) do
  597. if v.Parent ~= nil then
  598. local pos = Start + (CF.lookVector*i)
  599. local dist = v.CFrame:pointToObjectSpace(pos)
  600. if MA(dist.x) < v.Size.x/2 and MA(dist.y) < v.Size.y/2 and MA(dist.z) < v.Size.z/2 then
  601. if v.Parent ~= Character or v.Parent ~= swordholder or v.Parent.Parent ~= Character then
  602. return v,Start,pos
  603. end
  604. end
  605. end
  606. end
  607. end
  608. return nil,Start,End
  609. end
  610. local RAP = Instance.new("Part")
  611. RAP.formFactor = 0
  612. RAP.CanCollide = false
  613. RAP.Name = "RAPart"
  614. RAP.Locked = true
  615. RAP.Size = Vector3.new(1,1,1)
  616. RAP.Parent = swordholder
  617. RAP.Transparency = 1
  618. local w = Instance.new("Weld")
  619. w.Parent = RAP
  620. w.Part0 = RAP
  621. w.Part1 = RightArm
  622. w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  623. w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  624.  
  625. function unequipweld()
  626. w1.Part1 = Torso
  627. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
  628. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180), math.rad(-150)) * CFrame.new(-1, -1.5, -0.6)
  629. end
  630. unequipweld()
  631.  
  632. function equipweld()
  633. w1.Part1 = RAP
  634. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  635. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  636. end
  637.  
  638. function ss(parent,p) --Slash
  639. local SlashSound = Instance.new("Sound")
  640. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  641. SlashSound.Parent = parent
  642. SlashSound.Volume = .7
  643. SlashSound.Pitch = p
  644. SlashSound.PlayOnRemove = true
  645. coroutine.resume(coroutine.create(function()
  646. wait()
  647. SlashSound.Parent = nil
  648. end))
  649. end
  650. function uss(parent,p) --unsheath
  651. local SlashSound = Instance.new("Sound")
  652. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  653. SlashSound.Parent = parent
  654. SlashSound.Volume = .7
  655. SlashSound.Pitch = p
  656. SlashSound.PlayOnRemove = true
  657. coroutine.resume(coroutine.create(function()
  658. wait()
  659. SlashSound.Parent = nil
  660. end))
  661. end
  662. function cs(parent,p) --Magic Charge
  663. local SlashSound = Instance.new("Sound")
  664. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  665. SlashSound.Parent = parent
  666. SlashSound.Volume = .7
  667. SlashSound.Pitch = p
  668. SlashSound.PlayOnRemove = true
  669. coroutine.resume(coroutine.create(function()
  670. wait()
  671. SlashSound.Parent = nil
  672. end))
  673. end
  674. function ls(parent,p) --Lazer Sound
  675. local SlashSound = Instance.new("Sound")
  676. SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
  677. SlashSound.Parent = parent
  678. SlashSound.Volume = .7
  679. SlashSound.Pitch = p
  680. SlashSound.PlayOnRemove = true
  681. coroutine.resume(coroutine.create(function()
  682. wait()
  683. SlashSound.Parent = nil
  684. end))
  685. end
  686. function is(parent,p) --Ice Sound
  687. local SlashSound = Instance.new("Sound")
  688. local rndm = math.random(1,3)
  689. if rndm == 1 then
  690. SlashSound.SoundId = "rbxasset://sounds\\ice.ogg"
  691. elseif rndm == 2 then
  692. SlashSound.SoundId = "rbxasset://sounds\\ice2.ogg"
  693. elseif rndm == 3 then
  694. SlashSound.SoundId = "rbxasset://sounds\\ice3.ogg"
  695. end
  696. SlashSound.Parent = parent
  697. SlashSound.Volume = .7
  698. SlashSound.Pitch = p
  699. SlashSound.PlayOnRemove = true
  700. coroutine.resume(coroutine.create(function()
  701. wait()
  702. SlashSound.Parent = nil
  703. end))
  704. end
  705. function fs(parent,p) --Fire Sound
  706. local SlashSound = Instance.new("Sound")
  707. SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
  708. SlashSound.Parent = parent
  709. SlashSound.Volume = .7
  710. SlashSound.Pitch = p
  711. SlashSound.PlayOnRemove = true
  712. coroutine.resume(coroutine.create(function()
  713. wait()
  714. SlashSound.Parent = nil
  715. end))
  716. end
  717. function bs(parent,p) --Boom Sound
  718. local SlashSound = Instance.new("Sound")
  719. SlashSound.SoundId = "rbxasset://sounds/Rocket shot.wav"
  720. SlashSound.Parent = parent
  721. SlashSound.Volume = .7
  722. SlashSound.Pitch = p
  723. SlashSound.PlayOnRemove = true
  724. coroutine.resume(coroutine.create(function()
  725. wait()
  726. SlashSound.Parent = nil
  727. end))
  728. end
  729. --
  730.  
  731.  
  732. function hideanim()
  733. attack = true
  734. for i = 0 , 1 , 0.2 do
  735. wait()
  736. RW.C0 = CFrame.new(1+0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+67*i), math.rad(45), math.rad(-45+90*i))
  737. LW.C0 = CFrame.new(-1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-80*i),math.rad(-45+45*i),math.rad(45-45*i))
  738. end
  739. LWRem()
  740. for i = 0 , 1 , 0.15 do
  741. wait()
  742. RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147+103*i), math.rad(45), math.rad(45-35*i))
  743. end
  744. unequipweld()
  745. wait(0.1)
  746. for i = 0 , 1 , 0.1 do
  747. wait()
  748. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250-250*i), math.rad(45-45*i), math.rad(10-10*i))
  749. end
  750. RWRem()
  751. attack = false
  752. end
  753.  
  754. function equipanim()
  755. attack = true
  756. RWFunc()
  757. for i = 0 , 1 , 0.1 do
  758. wait()
  759. RW.C0 = CFrame.new(1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250*i), math.rad(45*i), math.rad(-10*i))
  760. end
  761. equipweld()
  762. uss(Head,1)
  763. for i = 0 , 1 , 0.2 do
  764. wait()
  765. RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(250-102.5*i), math.rad(45), math.rad(-10+27.5*i))
  766. end
  767. for i = 0 , 1 , 0.15 do
  768. wait()
  769. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147-67*i), math.rad(45), math.rad(17.5+27.5*i))
  770. end
  771. LWFunc()
  772. for i = 0 , 1 , 0.1 do
  773. wait()
  774. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(45-90*i))
  775. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(-45*i),math.rad(45*i))
  776. end
  777. attack = false
  778. end
  779.  
  780. if (script.Parent.className ~= "HopperBin") then
  781. Tool = Instance.new("HopperBin")
  782. Tool.Parent = Backpack
  783. Tool.Name = ToolName
  784. script.Parent = Tool
  785. end
  786. Bin = script.Parent
  787.  
  788. function damagesplat(dmg,hit,critornot,healornot)
  789. local OffsetX = -2.5
  790. local OffsetY = 5
  791. local OffsetZ = 0
  792. local bill = Instance.new("BillboardGui")
  793. bill.Size = UDim2.new(1,0,1,0)
  794. bill.Adornee = hit
  795. bill.StudsOffset = Vector3.new(OffsetX,OffsetY,OffsetZ)
  796. bill.Parent = hit.Parent
  797. bill.Name = "DamageSplat"
  798. local tex = Instance.new("TextLabel")
  799. tex.Size = UDim2.new(5,0,2.5,0)
  800. tex.Parent = bill
  801. tex.Text = dmg
  802. tex.BackgroundTransparency = 1
  803. tex.ZIndex = 4
  804. tex.FontSize = "Size24"
  805. local tex2 = Instance.new("ImageLabel")
  806. tex2.Size = UDim2.new(1,0,1,0)
  807. tex2.Parent = tex
  808. tex2.BackgroundTransparency = 1
  809. tex2.Image = "http://www.roblox.com/asset/?id=42611276"
  810. if critornot == true then
  811. tex.TextColor3 = Color3.new(1,0.2,0.2)
  812. elseif critornot == false then
  813. tex.TextColor3 = Color3.new(0,0,0)
  814. end
  815. if healornot == true then
  816. tex.TextColor3 = Color3.new(0.2,0.5,0.5)
  817. end
  818. coroutine.resume(coroutine.create(function()
  819. wait(0.25)
  820. for i = 0 , 1 , 0.075 do
  821. wait()
  822. bill.StudsOffset = Vector3.new(OffsetX,OffsetY+5*i,OffsetZ)
  823. tex.TextTransparency = 1*i
  824. end
  825. bill.Parent = nil
  826. end))
  827. end
  828. function FireEff(Part,Time,Color1,Color2,Color3)
  829. local Firee = Part
  830. local Spawn = Part
  831. local colors = {}
  832. if Color1 ~= nil then
  833. table.insert(colors,BrickColor.new(Color1))
  834. end
  835. if Color2 ~= nil then
  836. table.insert(colors,BrickColor.new(Color2))
  837. end
  838. if Color3 ~= nil then
  839. table.insert(colors,BrickColor.new(Color3))
  840. end
  841. if Color4 ~= nil then
  842. table.insert(colors,BrickColor.new(Color4))
  843. end
  844. local Embers = {}
  845. local modelz = Instance.new("Model",Firee)
  846. modelz.Name = "FireHolder"
  847. for X = 1, 3 do
  848. local f = Instance.new("Part")
  849. f.Parent = nil
  850. f.BrickColor = colors[math.random(1, # colors)]
  851. f.Size = Vector3.new(1,1,1)
  852. f.formFactor = 1
  853. f.Anchored = true
  854. f.Locked = true
  855. f.CanCollide = false
  856. f.Transparency = 0.5
  857. f.Name = "Fire"
  858. f.TopSurface = 0
  859. f.BottomSurface = 0
  860. table.insert(Embers, f)
  861. end
  862. local R = 0
  863. coroutine.resume(coroutine.create(function ()
  864. repeat
  865. wait()
  866. R = R + 1
  867. for X = 1, # Embers do
  868. Embers[X].Parent = modelz
  869. local FM = math.fmod(R + X, # Embers)
  870. if FM == 1 then
  871. RandPos = Vector3.new(math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10, Spawn.Size.y / 2, math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10)
  872. RandDir = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  873. Embers[X].CFrame = CFrame.new(Spawn.Position + RandPos, Spawn.Position + RandPos + RandDir)
  874. else
  875. Embers[X].CFrame = CFrame.new(Embers[X].Position + Vector3.new(0,0.5,0), Embers[X].Position + Vector3.new(0,0.5,0) + Embers[X].CFrame.lookVector)
  876. end
  877. end
  878. until R == Time
  879. for i = 0 ,1 , 0.1 do
  880. wait(0.2)
  881. for X = 1, # Embers do
  882. Embers[X].Transparency = 0.5+0.5*i
  883. end
  884. end
  885. for X = 1, # Embers do
  886. Embers[X].Parent = nil
  887. end
  888. end))
  889. end
  890.  
  891. function OT(hit) --Normal Damage
  892. if Hitdeb == 1 then return end
  893. if hit.Parent == nil then return end
  894. local hum = hit.Parent:findFirstChild("Humanoid")
  895. if hum ~= nil and hum ~= Character.Humanoid then
  896. local critrandomizer = math.random(1,crtrate)
  897. if critrandomizer ~= 1 then
  898. local rndmdamage = math.random(mindamage,maxdamage)
  899. damagesplat(rndmdamage,hit,false)
  900. hum:TakeDamage(rndmdamage)
  901. elseif critrandomizer == 1 then
  902. local rndmdamage = math.random(maxdamage,crtmaxdamage)
  903. damagesplat(rndmdamage,hit,true)
  904. hum:TakeDamage(rndmdamage)
  905. end
  906. Hitdeb = 1
  907. end
  908. end
  909.  
  910. function OTND(part) --No Debounce Damage
  911. coroutine.resume(coroutine.create(function()
  912. local dd = false
  913. while part.Parent ~= nil and not dd do
  914. wait()
  915. local c = game.Workspace:GetChildren();
  916. for i = 1, #c do
  917. local hum = c[i]:findFirstChild("Humanoid")
  918. if hum ~= nil and hum.Health ~= 0 then
  919. local head = c[i]:findFirstChild("Torso");
  920. if head ~= nil then
  921. local targ = head.Position - part.Position; ------------------------------------------------Local
  922. local mag = targ.magnitude;
  923. if mag <= 5 and c[i].Name ~= Player.Name then
  924. dd = true
  925. local rndmdamage = math.random(1,7+5*math.random()) + fireboost
  926. damagesplat(rndmdamage,head,false)
  927. hum:TakeDamage(rndmdamage)
  928. FireEff(head,150,"Bright red","Bright orange","Cool yellow")
  929. part.Parent = nil
  930.  
  931. end
  932. end
  933. end
  934. end
  935. end
  936. end))
  937. end
  938.  
  939. function AoE(p,magnitude,damage,critornot)
  940. local c = game.Workspace:GetChildren();
  941. for i = 1, #c do
  942. local hum = c[i]:findFirstChild("Humanoid")
  943. if hum ~= nil and hum.Health ~= 0 then
  944. local head = c[i]:findFirstChild("Head");
  945. if head ~= nil then
  946. local targ = head.Position - p;
  947. local mag = targ.magnitude;
  948. if mag <= magnitude and c[i].Name ~= Character.Name then
  949. local foundd = false
  950. for ii = 1 , #AoETrue do
  951. if AoETrue[ii] == c[i].Name then
  952. --delay(1,function() table.remove(AoETrue,ii) end)
  953. --blast(2.5,0.5,"Bright red",prt2,false)
  954. foundd = true
  955. end
  956. end
  957. if foundd then
  958. end
  959. --
  960. if not foundd then
  961. hum:TakeDamage(damage)
  962. damagesplat(damage,head,critornot)
  963. table.insert(AoETrue,c[i].Name)
  964. --blast(2.5,0.5,"Bright red",prt2)
  965. end
  966. end
  967. end
  968. end
  969. end
  970. end
  971. function AoEP(p,magnitude,damage,critornot)
  972. local c = game.Workspace:GetChildren();
  973. for i = 1, #c do
  974. local hum = c[i]:findFirstChild("Humanoid")
  975. if hum ~= nil and hum.Health ~= 0 then
  976. local head = c[i]:findFirstChild("Head");
  977. if head ~= nil then
  978. local targ = head.Position - p;
  979. local mag = targ.magnitude;
  980. if mag <= magnitude and c[i].Name ~= Character.Name then
  981. local foundd = false
  982. for ii = 1 , #AoETrue do
  983. if AoETrue[ii] == c[i].Name then
  984. --delay(1,function() table.remove(AoETrue,ii) end)
  985. --blast(2.5,0.5,"Bright red",prt2,false)
  986. foundd = true
  987. end
  988. end
  989. if foundd then
  990. end
  991. --
  992. if not foundd then
  993. hum:TakeDamage(damage)
  994. damagesplat(damage,head,critornot)
  995. c[i].Humanoid.Sit = true
  996. coroutine.resume(coroutine.create(function()
  997. local bp = Instance.new("BodyVelocity",c[i].Torso)
  998. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  999. bp.P = bp.P*2
  1000. bp.velocity = CFrame.new(c[i].Torso.Position , p).lookVector * 150 + Vector3.new(0,25,0)
  1001. coroutine.resume(coroutine.create(function()
  1002. for i=1,
  1003. bp.velocity.y/3 do
  1004. bp.velocity = bp.velocity+Vector3.new(0,-4.25,0)
  1005. wait()
  1006. end
  1007. bp.Parent = nil
  1008. end))
  1009. c[i].Torso.RotVelocity = CFrame.new(c[i].Torso.Position , p).lookVector * 25
  1010. wait(0.4) c[i].Humanoid.Sit = false end))
  1011. table.insert(AoETrue,c[i].Name)
  1012. end
  1013. end
  1014. end
  1015. end
  1016. end
  1017. end
  1018. --
  1019.  
  1020. local LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1021. function effect(Color,Ref,LP,P1,returnn)
  1022. local effectsmsh = Instance.new("BlockMesh")
  1023. effectsmsh.Scale = Vector3.new(0.5,1,0.5)
  1024. effectsmsh.Name = "Mesh"
  1025. local effectsg = Instance.new("Part")
  1026. effectsg.formFactor = 3
  1027. effectsg.CanCollide = false
  1028. effectsg.Name = "Eff"
  1029. effectsg.Locked = true
  1030. effectsg.Anchored = true
  1031. effectsg.Size = Vector3.new(0.2,1,0.2)
  1032. effectsg.Parent = swordholder
  1033. effectsmsh.Parent = effectsg
  1034. effectsg.BrickColor = BrickColor.new(Color)
  1035. effectsg.Reflectance = Ref
  1036. local point1 = P1
  1037. local mg = (LP.p - point1.p).magnitude
  1038. effectsg.Size = Vector3.new(0.2,mg,0.2)
  1039. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  1040. if returnn then return effectsg end
  1041. coroutine.resume(coroutine.create(function()
  1042. if not returnn then
  1043. for i = 0 , 1 , 0.1 do
  1044. wait()
  1045. effectsg.Transparency = 1*i
  1046. end
  1047. wait()
  1048. effectsg.Parent = nil
  1049. end
  1050. end))
  1051. end
  1052.  
  1053. con = nil
  1054. function dmgcnnct(p)
  1055. con = p.Touched:connect(OT)
  1056. end
  1057. function dmgdc()
  1058. if con ~= nil then
  1059. con:disconnect()
  1060. Hitdeb = 0
  1061. end
  1062. end
  1063. function atktype(s,e)
  1064. coroutine.resume(coroutine.create(function ()
  1065. attacktype = e
  1066. wait(0.5)
  1067. repeat wait() until attack
  1068. attacktype = s
  1069. end))
  1070. end
  1071.  
  1072. hold = false
  1073. function Combo1a()
  1074. attack=true
  1075. for i = 0 , 1 , 0.1 do
  1076. wait()
  1077. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45+45*i), math.rad(-45+45*i))
  1078. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(10*i), math.rad(0))
  1079. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i),math.rad(-45+45*i),math.rad(45-20*i))
  1080. end
  1081. dmgcnnct(hitbox)
  1082. ss(Head,1.5)
  1083. for i = 0 , 1 , 0.2 do
  1084. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1085. wait()
  1086. RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  1087. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10+35*i), math.rad(0))
  1088. LW.C0 = CFrame.new(-1+1*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(25+65*i))
  1089. effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  1090. end
  1091. dmgdc()
  1092. for i = 0 , 1 , 0.2 do
  1093. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1094. wait()
  1095. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  1096. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(45+5*i), math.rad(0))
  1097. LW.C0 = CFrame.new(-0.25*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(90+10*i))
  1098. effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  1099. end
  1100. attacktype = 2
  1101. coroutine.resume(coroutine.create(function ()
  1102. wait(0.25)
  1103. attacktype = 1
  1104. end))
  1105. attack=false
  1106. wait(0.15)
  1107. wait()
  1108. for i = 0 , 1 , 0.1 do
  1109. if not attack then
  1110. wait()
  1111. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(90-45*i), math.rad(-45*i))
  1112. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-110*i), math.rad(50-50*i), math.rad(0))
  1113. LW.C0 = CFrame.new(-0.25-0.75*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45*i),math.rad(100-55*i))
  1114. end
  1115. end
  1116.  
  1117. end
  1118. function Combo1b()
  1119. attack=true
  1120. for i = 0 , 1 , 0.1 do
  1121. wait()
  1122. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  1123. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-155*i), math.rad(50-40*i), math.rad(0))
  1124. LW.C0 = CFrame.new(-0.25-0.75*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(100-50*i))
  1125. end
  1126.  
  1127. cs(Head,1.5)
  1128. local tempmod = Instance.new("Model",swordholder)
  1129. for l = 1 , 20 do
  1130. local meshz = Instance.new("SpecialMesh")
  1131. meshz.Scale = Vector3.new(0.5,0.5,0.5)
  1132. meshz.MeshType = "Sphere"
  1133. local shellz = Instance.new("Part")
  1134. meshz.Parent = shellz
  1135. shellz.Anchored = false
  1136. shellz.formFactor = 0
  1137. shellz.Size = Vector3.new(1,1,1)
  1138. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1139. shellz.Parent = tempmod
  1140. shellz.Transparency = 0.5
  1141. shellz.BrickColor = BrickColor.new("Bright violet")
  1142. shellz.CanCollide = false
  1143. shellz.Reflectance = 0.25
  1144. local bv = Instance.new("BodyPosition")
  1145. bv.Parent = shellz
  1146. bv.maxForce = Vector3.new(200000,200000,200000)
  1147. bv.position = shellz.Position
  1148. coroutine.resume(coroutine.create(function()
  1149. for i = 0 , 1 , 0.025 do
  1150. wait()
  1151. shellz.Transparency = 1-1*i
  1152. end
  1153. shellz.Transparency = 0
  1154. end))
  1155. coroutine.resume(coroutine.create(function()
  1156. wait(0.05)
  1157. bv.position = hitbox.Position
  1158. for i = 1 , 20 do
  1159. wait(0.1)
  1160. bv.position = shell.Position
  1161. end
  1162. shellz.Parent = nil
  1163. end))
  1164. wait(0.01)
  1165. end
  1166. coroutine.resume(coroutine.create(function ()
  1167. wait(0.25)
  1168. tempmod.Parent = nil
  1169. end))
  1170. for i = 0 , 1 , 0.2 do
  1171. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1172. wait()
  1173. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  1174. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10), math.rad(0))
  1175. LW.C0 = CFrame.new(-1+1.5*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(0),math.rad(50+40*i))
  1176. effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  1177. end
  1178. local gyro = Instance.new("BodyGyro")
  1179. gyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1180. gyro.P = gyro.P + 10000
  1181. local CF = Torso.CFrame
  1182. gyro.cframe = CF
  1183. gyro.Parent = Torso
  1184. dmgcnnct(hitbox)
  1185. ss(Head,1)
  1186. for i = 0 , 1 , 0.1 do
  1187. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1188. wait()
  1189. gyro.cframe = CF * CFrame.Angles(0,math.rad(-360*i),0)
  1190. effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  1191. end
  1192. ss(Head,1)
  1193. Hitdeb = 0
  1194. for i = 0 , 1 , 0.1 do
  1195. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1196. wait()
  1197. gyro.cframe = CF * CFrame.Angles(0,math.rad(-360*i),0)
  1198. effect("Really red",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  1199. end
  1200. dmgdc()
  1201. attacktype = 3
  1202. coroutine.resume(coroutine.create(function ()
  1203. wait(0.5)
  1204. attacktype = 1
  1205. end))
  1206. wait(0.15)
  1207. wait()
  1208. gyro.Parent = nil
  1209. attack=false
  1210. for i = 0 , 1 , 0.1 do
  1211. if not attack then
  1212. wait()
  1213. RW.C0 = CFrame.new(0.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(90-45*i), math.rad(-45*i))
  1214. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-90*i), math.rad(10-10*i), math.rad(0))
  1215. LW.C0 = CFrame.new(0.5-1.5*i,0.5,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45*i),math.rad(50-5*i))
  1216. end
  1217. end
  1218. end
  1219.  
  1220. function Combo1c()
  1221. attack=true
  1222. local bp = Instance.new("BodyPosition")
  1223. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1224. bp.P = bp.P + 10000
  1225. local CF = Torso.CFrame
  1226. bp.position = CF.p
  1227. bp.Parent = Torso
  1228. RWLFunc()
  1229. LWLFunc()
  1230. for zz = 1 , 2 do
  1231. local mesh = Instance.new("SpecialMesh")
  1232. mesh.MeshType = "FileMesh"
  1233. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1234. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  1235. local shell = Instance.new("Part")
  1236. mesh.Parent = shell
  1237. shell.Anchored = true
  1238. shell.formFactor = 1
  1239. shell.Size = Vector3.new(1,1,1)
  1240. shell.CFrame = Torso.CFrame * CFrame.Angles(0,0.5*zz,0) + Vector3.new(0,-2.5,0) -- + shellspawn.CFrame.lookVector * 2
  1241. shell.Parent = swordholder
  1242. shell.Transparency = 0
  1243. shell.BrickColor = BrickColor.new("White")
  1244. shell.CanCollide = false
  1245. coroutine.resume(coroutine.create(function()
  1246. for i = 0 , 1 , 0.05 do
  1247. wait()
  1248. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(i,1,i)
  1249. shell.Transparency = 1*i
  1250. end
  1251. shell.Transparency = 1
  1252. shell.Parent = nil
  1253. end))
  1254. end
  1255. for i = 0 , 1 , 0.1 do
  1256. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1257. wait()
  1258. RW.C0 = CFrame.new(0.5+0.5*i,0.5+1*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+100*i), math.rad(90-90*i), math.rad(-45*i))
  1259. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-90*i), math.rad(10-10*i), math.rad(0))
  1260. LW.C0 = CFrame.new(0.5-1.5*i,0.5+1*i,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90+100*i),math.rad(0),math.rad(50-5*i))
  1261. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  1262. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  1263. bp.position = CF.p + Vector3.new(0,10,0)
  1264. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20*i), math.rad(0), math.rad(0))
  1265. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-20*i), math.rad(0), math.rad(0))
  1266. prt8.Transparency = 1-1*i
  1267. effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  1268. end
  1269. cs(Head,1.5)
  1270. coroutine.resume(coroutine.create(function ()
  1271. local tempmod = Instance.new("Model",swordholder)
  1272. for l = 1 , 20 do
  1273. local meshz = Instance.new("SpecialMesh")
  1274. meshz.Scale = Vector3.new(1.5,1.5,1.5)
  1275. meshz.MeshType = "Sphere"
  1276. local shellz = Instance.new("Part")
  1277. meshz.Parent = shellz
  1278. shellz.Anchored = false
  1279. shellz.formFactor = 0
  1280. shellz.Size = Vector3.new(1,1,1)
  1281. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
  1282. shellz.Parent = tempmod
  1283. shellz.Transparency = 0.5
  1284. shellz.BrickColor = BrickColor.new("Really black")
  1285. shellz.CanCollide = false
  1286. shellz.Reflectance = 0
  1287. local bv = Instance.new("BodyPosition")
  1288. bv.Parent = shellz
  1289. bv.maxForce = Vector3.new(200000,200000,200000)
  1290. bv.position = shellz.Position
  1291. local hx = false
  1292. coroutine.resume(coroutine.create(function()
  1293. for i = 0 , 1 , 0.05 do
  1294. wait()
  1295. shellz.Transparency = 1-1*i
  1296. end
  1297. shellz.Transparency = 0
  1298. end))
  1299. coroutine.resume(coroutine.create(function()
  1300. wait(0.05)
  1301. bv.position = hitbox.Position
  1302. for i = 1 , 20 do
  1303. wait(0.1)
  1304. bv.position = shell.Position
  1305. end
  1306. shellz.Parent = nil
  1307. end))
  1308. wait(0.01)
  1309. end
  1310. coroutine.resume(coroutine.create(function ()
  1311. repeat wait() until hx
  1312. tempmod.Parent = nil
  1313. end))
  1314. end))
  1315. for i = 0 , 1 , 0.1 do
  1316. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1317. wait()
  1318. RW.C0 = CFrame.new(1,1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(190+20*i), math.rad(0), math.rad(-45))
  1319. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1320. LW.C0 = CFrame.new(-1,1.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(190+20*i),math.rad(0),math.rad(45))
  1321. effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  1322. end
  1323. for i = 0 , 1 , 0.1 do
  1324. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1325. wait()
  1326. RW.C0 = CFrame.new(1,1.5-1*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(210-130*i), math.rad(0), math.rad(-45))
  1327. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1328. LW.C0 = CFrame.new(-1,1.5-1*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(210-130*i),math.rad(0),math.rad(45))
  1329. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  1330. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(45)) * CFrame.new(0, 0, 0.2)
  1331. bp.position = CF.p + CF.lookVector * 2.5 + Vector3.new(0,-1,0)
  1332. RWL.C0 = CFrame.new(1, -1+1*i, -1*i) * CFrame.fromEulerAnglesXYZ(math.rad(-20+20*i), math.rad(0), math.rad(0))
  1333. LWL.C0 = CFrame.new(-1, -1+1*i, -1*i) * CFrame.fromEulerAnglesXYZ(math.rad(-20+20*i), math.rad(0), math.rad(0))
  1334. effect("Really black",0,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0))
  1335. end
  1336. hx = true
  1337. wait(0.1)
  1338. local Hit,A, B = Raycast(hitbox.Position + Vector3.new(0,3,0) + Torso.CFrame.lookVector * 1 ,hitbox.Position + Vector3.new(0,3,0) + Torso.CFrame.lookVector * 101 ,100)
  1339. local effectsmsh = Instance.new("CylinderMesh")
  1340. effectsmsh.Scale = Vector3.new(1,1,1)
  1341. local effectsg = Instance.new("Part")
  1342. effectsg.formFactor = 3
  1343. effectsg.CanCollide = false
  1344. effectsg.Name = "LAZOR"
  1345. effectsg.Locked = true
  1346. effectsg.Anchored = true
  1347. effectsg.Parent = swordholder
  1348. effectsmsh.Parent = effectsg
  1349. effectsg.BrickColor = BrickColor.new("Black")
  1350. effectsg.Reflectance = 0.5
  1351. local point1 = B
  1352. local point0 = A
  1353. for zz = 1 , 5 do
  1354. local mesh = Instance.new("SpecialMesh")
  1355. mesh.MeshType = "FileMesh"
  1356. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1357. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  1358. local shell = Instance.new("Part")
  1359. mesh.Parent = shell
  1360. shell.Anchored = true
  1361. shell.formFactor = 1
  1362. shell.Size = Vector3.new(1,1,1)
  1363. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * 2
  1364. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0.5*zz,0)
  1365. shell.Parent = swordholder
  1366. shell.Transparency = 0
  1367. if math.fmod(zz,2) == 0 then
  1368. shell.BrickColor = BrickColor.new("Really black")
  1369. else
  1370. shell.BrickColor = BrickColor.new("Bright violet")
  1371. end
  1372. shell.CanCollide = false
  1373. coroutine.resume(coroutine.create(function()
  1374. for i = 0 , 1 , 0.01 do
  1375. wait()
  1376. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(i,1,i)
  1377. shell.Transparency = 1*i
  1378. end
  1379. shell.Transparency = 1
  1380. shell.Parent = nil
  1381. end))
  1382. end
  1383. for zz = 1 , 1 do
  1384. local mesh = Instance.new("SpecialMesh")
  1385. mesh.MeshType = "Sphere"
  1386. mesh.Scale = Vector3.new(20,15,10) * Vector3.new(0.01,0.01,0.01)
  1387. local shell = Instance.new("Part")
  1388. mesh.Parent = shell
  1389. shell.Anchored = true
  1390. shell.formFactor = 1
  1391. shell.Size = Vector3.new(1,1,1)
  1392. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * 10
  1393. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0,0)
  1394. shell.Parent = swordholder
  1395. shell.Transparency = 0
  1396. shell.BrickColor = BrickColor.new("Bright violet")
  1397. shell.CanCollide = false
  1398. coroutine.resume(coroutine.create(function()
  1399. for i = 0 , 1 , 0.02 do
  1400. wait()
  1401. mesh.Scale = Vector3.new(10,15,15) * Vector3.new(i,1,i)
  1402. shell.CFrame = shell.CFrame * CFrame.Angles(0,i,0)
  1403. shell.Transparency = 1-1*i
  1404. end
  1405. for i = 0 , 1 , 0.05 do
  1406. wait()
  1407. shell.CFrame = shell.CFrame * CFrame.Angles(0,i,0)
  1408. shell.Transparency = 1*i
  1409. end
  1410. shell.Transparency = 1
  1411. shell.Parent = nil
  1412. end))
  1413. end
  1414. for zz = 1 , 1 do
  1415. local mesh = Instance.new("CylinderMesh")
  1416. mesh.Scale = Vector3.new(20,0.5,10) * Vector3.new(0.01,0.01,0.01)
  1417. local shell = Instance.new("Part")
  1418. mesh.Parent = shell
  1419. shell.Anchored = true
  1420. shell.formFactor = 1
  1421. shell.Size = Vector3.new(1,1,1)
  1422. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /-2) + Torso.CFrame.lookVector * -0.5
  1423. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90),0,0)
  1424. shell.Parent = swordholder
  1425. shell.Transparency = 0
  1426. shell.BrickColor = BrickColor.new("Bright violet")
  1427. shell.CanCollide = false
  1428. coroutine.resume(coroutine.create(function()
  1429. for i = 0 , 1 , 0.02 do
  1430. wait()
  1431. mesh.Scale = Vector3.new(20,0.5,20) * Vector3.new(i,1,i)
  1432. shell.Transparency = 1-1*i
  1433. end
  1434. for i = 0 , 1 , 0.02 do
  1435. wait()
  1436. shell.Transparency = 1*i
  1437. end
  1438. shell.Transparency = 1
  1439. shell.Parent = nil
  1440. end))
  1441. end
  1442. for zz = 1 , 10 do
  1443. local mesh = Instance.new("SpecialMesh")
  1444. mesh.MeshType = "FileMesh"
  1445. mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1446. mesh.Scale = Vector3.new(5,5,5) * Vector3.new(0.01,0.01,0.01)
  1447. local shell = Instance.new("Part")
  1448. mesh.Parent = shell
  1449. shell.Anchored = true
  1450. shell.formFactor = 1
  1451. shell.Size = Vector3.new(1,1,1)
  1452. shell.CFrame = CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)
  1453. shell.CFrame = shell.CFrame * CFrame.Angles(math.rad(-90)+2*math.random(),2*math.random(),2*math.random())
  1454. shell.Parent = swordholder
  1455. shell.Transparency = 0
  1456. if math.fmod(zz,2) == 0 then
  1457. shell.BrickColor = BrickColor.new("Really black")
  1458. else
  1459. shell.BrickColor = BrickColor.new("Bright violet")
  1460. end
  1461. shell.CanCollide = false
  1462. coroutine.resume(coroutine.create(function()
  1463. for i = 0 , 1 , 0.01 do
  1464. wait()
  1465. mesh.Scale = Vector3.new(25,25,25) * Vector3.new(i,i,i)
  1466. shell.Transparency = 1*i
  1467. end
  1468. shell.Transparency = 1
  1469. shell.Parent = nil
  1470. end))
  1471. end
  1472. coroutine.resume(coroutine.create(function()
  1473. effectsg.Transparency = 1
  1474. for i = 0 , 1 , 0.1 do
  1475. wait()
  1476. effectsg.Transparency = 1-1*i
  1477. end
  1478. wait(2)
  1479. for i = 0 , 1 , 0.1 do
  1480. wait()
  1481. effectsg.Transparency = 1*i
  1482. end
  1483. effectsg.Parent = nil
  1484. end))
  1485. local mg = 100
  1486. if Hit ~= nil then
  1487. mg = (point0-point1).magnitude
  1488. elseif Hit == nil then
  1489. mg = 100
  1490. end
  1491. ls(Head,0.5)
  1492. ls(Head,0.75)
  1493. cs(Head,0.25)
  1494. ls(Head,1)
  1495. ls(Head,3)
  1496. cs(Head,0.15)
  1497. for mgg = 0 , 1,0.1 do
  1498. wait()
  1499. effectsg.Size = Vector3.new(5,(mg*mgg)+0.2,5)
  1500. local durr = CFrame.new((point0+(point1))/2,(point1))
  1501. effectsg.CFrame = CFrame.new((point0+(point1-durr.lookVector * (mg*(1-mgg))))/2,(point1)) * CFrame.Angles(math.rad(90),0,0)
  1502. end
  1503. local critrandomizer = math.random(1,crtrate)
  1504. if critrandomizer ~= 1 then
  1505. local rndmdamage = math.random(mindamage+30,maxdamage+30)
  1506. AoEP((CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)).p,15,rndmdamage+darkboost,false)
  1507. elseif critrandomizer == 1 then
  1508. local rndmdamage = math.random(maxdamage+30,crtmaxdamage+30)
  1509. AoEP((CFrame.new((point0+point1)/2,point1) + CFrame.new((point0+point1)/2,point1).lookVector * (((point0)-(point1)).magnitude /2)).p,15,rndmdamage+darkboost,true)
  1510. end
  1511. bp.Parent = nil
  1512. for i = 0 , 1 , 0.1 do
  1513. wait()
  1514. RW.C0 = CFrame.new(1,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(90-45*i), math.rad(-45))
  1515. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1516. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45*i),math.rad(45))
  1517. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  1518. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  1519. RWL.C0 = CFrame.new(1, -1*i, -1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1520. LWL.C0 = CFrame.new(-1, -1*i, -1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1521. prt8.Transparency = 1*i
  1522. end
  1523. for ii = 1 , #AoETrue do
  1524. table.remove(AoETrue,#AoETrue)
  1525. end
  1526. RWLRem()
  1527. LWLRem()
  1528. attack = false
  1529. attacktype = 1
  1530. end
  1531. function BlizzardSword()
  1532. attack=true
  1533. for i = 0 , 1 , 0.2 do
  1534. wait()
  1535. RW.C0 = CFrame.new(1,0.5+1*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45-45*i), math.rad(-45))
  1536. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1537. LW.C0 = CFrame.new(-1,0.5+1*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i),math.rad(-45+45*i),math.rad(45))
  1538. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  1539. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  1540. end
  1541. local wssave = Character.Humanoid.WalkSpeed
  1542. Character.Humanoid.WalkSpeed = 0
  1543. ss(Head,1.5)
  1544. local efftab = {}
  1545. for i = 0 , 1 , 0.2 do
  1546. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1547. wait()
  1548. RW.C0 = CFrame.new(1,1.5-1.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(135-135*i), math.rad(0), math.rad(-45))
  1549. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1550. LW.C0 = CFrame.new(-1,1.5-1.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(135-135*i),math.rad(0),math.rad(45))
  1551. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  1552. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45)) * CFrame.new(0, 0, 0.2)
  1553. local eff = effect("Bright blue",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  1554. table.insert(efftab,eff)
  1555. end
  1556. local trspos = Torso.Position
  1557. Character.Humanoid.WalkSpeed = wssave
  1558. for _,efff in pairs(efftab) do
  1559. wait()
  1560. coroutine.resume(coroutine.create(function()
  1561. for i = 0 , 1 , 0.15 do
  1562. wait()
  1563. efff.Transparency = 1*i
  1564. end
  1565. wait()
  1566. efff.Transparency = 1
  1567. end))
  1568. end
  1569. for io,eff in pairs(efftab) do
  1570. wait()
  1571. for zz = 1 , 1 do
  1572. local mesh = Instance.new("CylinderMesh")
  1573. mesh.Scale = Vector3.new(0.1,0.5,0.1)
  1574. local shell = Instance.new("Part")
  1575. mesh.Parent = shell
  1576. shell.Anchored = true
  1577. shell.formFactor = 1
  1578. shell.Size = Vector3.new(1,1,1)
  1579. local dur = CFrame.new(trspos,eff.Position)
  1580. local CF1 = dur * CFrame.Angles(math.rad(90),0,0) * CFrame.new(0,-6,0)
  1581. shell.CFrame = CF1
  1582. shell.Parent = eff
  1583. shell.Transparency = 1
  1584. shell.Reflectance = 0.25
  1585. shell.BrickColor = BrickColor.new("Bright blue")
  1586. shell.CanCollide = false
  1587. is(shell,0.5)
  1588. coroutine.resume(coroutine.create(function()
  1589. for i = 0 , 1 , 0.1 do
  1590. wait()
  1591. shell.Transparency = 1-1*i
  1592. mesh.Scale = Vector3.new(0.1+4.9*i,0.5,0.1+4.9*i)
  1593. end
  1594. wait(0.25)
  1595. for i = 0 , 1 , 0.1 do
  1596. wait()
  1597. shell.Transparency = 1*i
  1598. mesh.Scale = Vector3.new(5-5*i,0.5-0.5*i,5-5*i)
  1599. end
  1600. shell.Parent = nil
  1601. end))
  1602. end
  1603. end
  1604. for io,eff in pairs(efftab) do
  1605. wait()
  1606. for zz = 1 , 1 do
  1607. local mesh = Instance.new("SpecialMesh")
  1608. mesh.MeshType = "FileMesh"
  1609. mesh.Scale = Vector3.new(5,2,1)
  1610. mesh.MeshId = "rbxasset://fonts/sword.mesh"
  1611. local shell = Instance.new("Part")
  1612. mesh.Parent = shell
  1613. shell.Anchored = true
  1614. shell.formFactor = 1
  1615. shell.Size = Vector3.new(2,2,5)
  1616. local dur = CFrame.new(trspos,eff.Position)
  1617. local CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,6.5)* CFrame.Angles(0,0,math.rad(90))
  1618. shell.CFrame = CF1
  1619. shell.Parent = eff
  1620. shell.Transparency = 1
  1621. shell.Reflectance = 0.25
  1622. shell.BrickColor = BrickColor.new("Bright blue")
  1623. shell.CanCollide = false
  1624. local hitd = 0
  1625. coroutine.resume(coroutine.create(function()
  1626. local dd = false
  1627. while shell.Parent ~= nil and not dd do
  1628. wait()
  1629. local c = game.Workspace:GetChildren();
  1630. for i = 1, #c do
  1631. local hum = c[i]:findFirstChild("Humanoid")
  1632. if hum ~= nil and hum.Health ~= 0 then
  1633. local head = c[i]:findFirstChild("Torso");
  1634. if head ~= nil then
  1635. local targ = head.Position - shell.Position;
  1636. local mag = targ.magnitude;
  1637. if mag <= 3 and c[i].Name ~= Player.Name then
  1638. dd = true
  1639. local critrandomizer = math.random(1,crtrate)
  1640. if critrandomizer ~= 1 then
  1641. local rndmdamage = math.random(mindamage+iceboost,maxdamage+iceboost)
  1642. damagesplat(rndmdamage,head,false)
  1643. hum:TakeDamage(rndmdamage)
  1644. elseif critrandomizer == 1 then
  1645. local rndmdamage = math.random(maxdamage+iceboost,crtmaxdamage+iceboost)
  1646. damagesplat(rndmdamage,head,true)
  1647. hum:TakeDamage(rndmdamage)
  1648. end
  1649. end
  1650. end
  1651. end
  1652. end
  1653. end
  1654. end))
  1655. coroutine.resume(coroutine.create(function()
  1656. uss(eff,1)
  1657.  
  1658. for i = 0 , 1 , 0.1 do
  1659. wait()
  1660. shell.Transparency = 1-1*i
  1661. CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,6.5+2*i)* CFrame.Angles(0,0,math.rad(90))
  1662. shell.CFrame = CF1
  1663. mesh.Scale = Vector3.new(5,2,1+0.5*i)
  1664. end
  1665. wait(0.25)
  1666. ss(eff,2)
  1667. for i = 0 , 1 , 0.1 do
  1668. wait()
  1669. shell.Transparency = 1*i
  1670. CF1 = dur * CFrame.Angles(math.rad(180),0,0) * CFrame.new(0,0,8.5+25*i)* CFrame.Angles(0,0,math.rad(90))
  1671. shell.CFrame = CF1
  1672. mesh.Scale = Vector3.new(5-5*i,2-2*i,1.5-1.5*i*i)
  1673. end
  1674. shell.Parent = nil
  1675. end))
  1676. end
  1677. end
  1678. coroutine.resume(coroutine.create(function()
  1679. wait(1.5)
  1680. for _,eff in pairs(efftab) do
  1681. wait()
  1682. eff.Parent = nil
  1683. end end))
  1684. for i = 0 , 1 , 0.1 do
  1685. wait()
  1686. RW.C0 = CFrame.new(1,0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i), math.rad(45*i), math.rad(-45))
  1687. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1688. LW.C0 = CFrame.new(-1,0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(-45*i),math.rad(45))
  1689. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  1690. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  1691. end
  1692. attack=false
  1693. end
  1694. local FTCount = 0
  1695. function FlameTrail()
  1696. attack=true
  1697. for i = 0 , 1 , 0.15 do
  1698. wait()
  1699. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45+45*i), math.rad(-45+55*i))
  1700. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(0), math.rad(0))
  1701. LW.C0 = CFrame.new(-1+0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45+20*i))
  1702. end
  1703. wait(0.1)
  1704. ss(Head,1.5)
  1705. fs(Head,0.5+1.5*math.random())
  1706. local efftab = {}
  1707. RW.C0 = CFrame.new(0.5,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(10))
  1708. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0))
  1709. LW.C0 = CFrame.new(-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(65))
  1710. dmgcnnct(hitbox)
  1711. for i = 0 , 1 , 0.15 do
  1712. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1713. wait()
  1714. RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(10))
  1715. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i*i), math.rad(0), math.rad(0))
  1716. LW.C0 = CFrame.new(-0.5-1*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+20*i),math.rad(-45),math.rad(65-155*i))
  1717. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  1718. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  1719. if FTCount <= MaxFT then
  1720. local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  1721. eff.Transparency = 1
  1722. table.insert(efftab,eff)
  1723. FTCount = FTCount + 1
  1724. OTND(eff)
  1725. coroutine.resume(coroutine.create(function()
  1726. for i = 0 , 1 , 0.15 do
  1727. wait()
  1728. eff.Transparency = 1-0.5*i
  1729. end
  1730. wait()
  1731. eff.Transparency = 0.5
  1732. end))
  1733. end
  1734. end
  1735. local rndmneg = math.random(1,2)
  1736. if rndmneg == 1 then
  1737. rndmdec1 = 13 * math.random()
  1738. else
  1739. rndmdec1 = -13 * math.random()
  1740. end
  1741. for i = 0 , 1 , 0.1 do
  1742. wait()
  1743. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90-rndmdec1*i), math.rad(90), math.rad(10-(rndmdec1*2)*i))
  1744. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(0), math.rad(0))
  1745. LW.C0 = CFrame.new(-1.5,0.5,-0) * CFrame.fromEulerAnglesXYZ(math.rad(100),math.rad(-45),math.rad(-90))
  1746. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  1747. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  1748. end
  1749. ss(Head,1.5)
  1750. fs(Head,0.5+1.5*math.random())
  1751. Hitdeb = 0
  1752. for i = 0 , 1 , 0.15 do
  1753. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1754. wait()
  1755. RW.C0 = CFrame.new(1.5-1.5*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-rndmdec1), math.rad(90), math.rad(10-(rndmdec1*2)))
  1756. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-200*i), math.rad(0), math.rad(0))
  1757. LW.C0 = CFrame.new(-1.5+1*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(100-80*i),math.rad(-45),math.rad(-90+135*i))
  1758. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  1759. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  1760. if FTCount <= MaxFT then
  1761. local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  1762. eff.Transparency = 1
  1763. table.insert(efftab,eff)
  1764. FTCount = FTCount + 1
  1765. OTND(eff)
  1766. coroutine.resume(coroutine.create(function()
  1767. for i = 0 , 1 , 0.15 do
  1768. wait()
  1769. eff.Transparency = 1-0.5*i
  1770. end
  1771. wait()
  1772. eff.Transparency = 0.5
  1773. end))
  1774. end
  1775. end
  1776. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  1777. for i = 0 , 1 , 0.2 do
  1778. wait()
  1779. local rndmd = rndmdec1-rndmdec1*i
  1780. RW.C0 = CFrame.new(0,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad((90-rndmd)), math.rad(90), math.rad((10-(rndmd*2))-20*i))
  1781. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-90-10*i), math.rad(0), math.rad(0))
  1782. LW.C0 = CFrame.new(-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  1783. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  1784. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  1785. end
  1786. for i = 0 , 1 , 0.1 do
  1787. wait()
  1788. RW.C0 = CFrame.new(1*i,0.5,-1) * CFrame.fromEulerAnglesXYZ(math.rad(90-20*i), math.rad(90-90*i), math.rad(-10-35*i))
  1789. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-100+100*i), math.rad(0), math.rad(0))
  1790. LW.C0 = CFrame.new(-0.5-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-10*i),math.rad(-45+45*i),math.rad(45))
  1791. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  1792. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90-45*i)) * CFrame.new(0, 0, 0.2)
  1793. end
  1794. ss(Head,1.5)
  1795. fs(Head,0.5+1.5*math.random())
  1796. wait(0.1)
  1797. Hitdeb = 0
  1798. for i = 0 , 1 , 0.2 do
  1799. LastPoint = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1800. wait()
  1801. RW.C0 = CFrame.new(1,0.5+1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(70+65*i), math.rad(0), math.rad(-45))
  1802. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1803. LW.C0 = CFrame.new(-1,0.5+1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(70+65*i),math.rad(0),math.rad(45))
  1804. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  1805. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(45)) * CFrame.new(0, 0, 0.2)
  1806. if FTCount <= MaxFT then
  1807. local eff = effect("Bright red",0.2,LastPoint,hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0),true)
  1808. eff.Transparency = 1
  1809. table.insert(efftab,eff)
  1810. FTCount = FTCount + 1
  1811. OTND(eff)
  1812. coroutine.resume(coroutine.create(function()
  1813. for i = 0 , 1 , 0.15 do
  1814. wait()
  1815. eff.Transparency = 1-0.5*i
  1816. end
  1817. wait()
  1818. eff.Transparency = 0.5
  1819. end))
  1820. end
  1821. end
  1822. coroutine.resume(coroutine.create(function()
  1823. wait(5)
  1824. for _,eff in pairs(efftab) do
  1825. wait()
  1826. eff.Parent = nil
  1827. FTCount = FTCount - 1
  1828. end end))
  1829. for i = 0 , 1 , 0.1 do
  1830. wait()
  1831. RW.C0 = CFrame.new(1,1.5-1*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-55*i), math.rad(45*i), math.rad(-45))
  1832. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1833. LW.C0 = CFrame.new(-1,1.5-1*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-55*i),math.rad(-45*i),math.rad(45))
  1834. w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0) * CFrame.new(0, 0,0)
  1835. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(45+45*i)) * CFrame.new(0, 0, 0.2)
  1836. end
  1837. dmgdc()
  1838. attack=false
  1839. end
  1840.  
  1841.  
  1842. function LifeDrain()
  1843. attack=true
  1844. for i = 0 , 1 , 0.1 do
  1845. wait()
  1846. RW.C0 = CFrame.new(1,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45), math.rad(-45+90*i))
  1847. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(0))
  1848. LW.C0 = CFrame.new(-1+1.25*i,0.5+0.25*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+25*i),math.rad(-45+90*i),math.rad(45+25*i))
  1849. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(0))
  1850. w1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1851. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  1852. end
  1853. ------
  1854. local nrmag = 50
  1855. local nrprsn = nil
  1856. wait()
  1857. --
  1858. local c = game.Workspace:GetChildren();
  1859. for i = 1, #c do
  1860. local hum = c[i]:findFirstChild("Humanoid")
  1861. if hum ~= nil and hum.Health ~= 0 then
  1862. local head = c[i]:findFirstChild("Torso");
  1863. if head ~= nil then
  1864. local targ = head.Position - Torso.Position;
  1865. local mag = targ.magnitude;
  1866. if mag <= 50 and c[i].Name ~= Player.Name then
  1867. if mag < nrmag then
  1868. nrmag = mag
  1869. nrprsn = c[i]
  1870. end
  1871. end end end end
  1872. --
  1873. if nrprsn == nil then
  1874. attack = false
  1875. return end
  1876. local C = 0
  1877. local bp = Instance.new("BodyPosition")
  1878. local bg = Instance.new("BodyGyro")
  1879. bp.Parent = Torso
  1880. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1881. bp.P = bp.P + 10000
  1882. local CF = nrprsn.Torso.CFrame
  1883. bp.position = CF.p + CFrame.new(Torso.Position,CF.p).lookVector * -3
  1884. bg.Parent = Torso
  1885. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  1886. bg.P = bg.P + 100000
  1887. bg.cframe = CFrame.new(Torso.Position,CF.p) * CFrame.Angles(math.rad(0),0,0)
  1888. ss(Head,2)
  1889. wait(0.1)
  1890. local FirstP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1891. local LastP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1892. for i = 0 , 1 , 0.2 do
  1893. wait()
  1894. C = C + 1
  1895. RW.C0 = CFrame.new(1-1*i,0.5,-1*i) * CFrame.fromEulerAnglesXYZ(math.rad(135-90*i), math.rad(45), math.rad(45-135*i))
  1896. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(0))
  1897. LW.C0 = CFrame.new(0.25-1.75*i,0.75-0.25*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(105-60*i),math.rad(45),math.rad(70-125*i))
  1898. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(0))
  1899. w1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 0,0)
  1900. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  1901. if C == 3 then
  1902. bp.P = bp.P + 10000
  1903. bp.position = CF.p + CFrame.new(Torso.Position,CF.p).lookVector * 6
  1904. bg.cframe = CFrame.new(Torso.Position,CF.p) * CFrame.Angles(math.rad(-45),0,0)
  1905. end
  1906. if C == 2 then
  1907. FirstP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1908. elseif C == 5 then
  1909. LastP = hitbox.CFrame * CFrame.new(0,hitbox.Size.y/2,0)
  1910. end
  1911. end
  1912. local effectsmsh = Instance.new("SpecialMesh")
  1913. effectsmsh.Scale = Vector3.new(5,1,5)
  1914. effectsmsh.MeshType = "Sphere"
  1915. local effectsg = Instance.new("Part")
  1916. effectsg.formFactor = 3
  1917. effectsg.CanCollide = false
  1918. effectsg.Name = "Eff"
  1919. effectsg.Locked = true
  1920. effectsg.Anchored = true
  1921. effectsg.Size = Vector3.new(0.2,1,0.2)
  1922. effectsg.Parent = swordholder
  1923. effectsmsh.Parent = effectsg
  1924. effectsg.BrickColor = BrickColor.new("White")
  1925. effectsg.Reflectance = Ref
  1926. local point1 = FirstP
  1927. local LP = LastP
  1928. local mg = (LP.p - point1.p).magnitude
  1929. effectsg.Size = Vector3.new(0.2,mg,0.2)
  1930. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  1931. if returnn then return effectsg end
  1932. coroutine.resume(coroutine.create(function()
  1933. if not returnn then
  1934. for i = 0 , 1 , 0.1 do
  1935. wait()
  1936. effectsg.Transparency = 1*i
  1937. end
  1938. wait()
  1939. effectsg.Parent = nil
  1940. end
  1941. end))
  1942. local critrandomizer = math.random(1,crtrate)
  1943. local rndmdamage = 0
  1944. if critrandomizer ~= 1 then
  1945. rndmdamage = math.random(mindamage,maxdamage)
  1946. damagesplat(rndmdamage,nrprsn.Head,false)
  1947. nrprsn.Humanoid:TakeDamage(rndmdamage)
  1948. elseif critrandomizer == 1 then
  1949. rndmdamage = math.random(maxdamage,crtmaxdamage)
  1950. damagesplat(rndmdamage,nrprsn.Head,true)
  1951. nrprsn.Humanoid:TakeDamage(rndmdamage)
  1952. end
  1953. local tempmod = Instance.new("Model",Workspace)
  1954. for l = 1 , rndmdamage/5 do
  1955. local meshz = Instance.new("SpecialMesh")
  1956. meshz.Scale = Vector3.new(1.5,1.5,1.5)
  1957. meshz.MeshType = "Sphere"
  1958. local shellz = Instance.new("Part")
  1959. meshz.Parent = shellz
  1960. shellz.Anchored = false
  1961. shellz.formFactor = 0
  1962. shellz.Size = Vector3.new(1,1,1)
  1963. shellz.CFrame = hitbox.CFrame
  1964. shellz.Parent = tempmod
  1965. shellz.Transparency = 0.5
  1966. shellz.BrickColor = BrickColor.new("White")
  1967. shellz.CanCollide = false
  1968. shellz.Reflectance = 0
  1969. local bv = Instance.new("BodyPosition")
  1970. bv.Parent = shellz
  1971. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1972. bv.P = bv.P + 10000
  1973. bv.position = shellz.Position + Vector3.new(math.random(-25,25),math.random(-2.5,7.5),math.random(-25,25))
  1974. coroutine.resume(coroutine.create(function()
  1975. wait(3)
  1976. bv.maxForce = Vector3.new(0,math.huge,0)
  1977. coroutine.resume(coroutine.create(function()
  1978. local dd = false
  1979. while shellz.Transparency ~= 1 and not dd do
  1980. wait(0.1)
  1981. local cc = game.Workspace:GetChildren();
  1982. for i = 1, #c do
  1983. local hum = cc[i]:findFirstChild("Humanoid")
  1984. if hum ~= nil and hum.Health ~= 0 then
  1985. local head = cc[i]:findFirstChild("Head");
  1986. if head ~= nil then
  1987. local targ = head.Position - shellz.Position;
  1988. local mag = targ.magnitude;
  1989. if mag <= 5 then
  1990. dd = true
  1991. damagesplat(5+darkboost,head,false)
  1992. hum.Health = hum.Health + 5 + darkboost
  1993. for i = 0 , 1 , 0.05 do
  1994. wait()
  1995. shellz.Transparency = 1*i
  1996. end
  1997. shellz.Parent = nil
  1998. end
  1999. end
  2000. end
  2001. end
  2002. end
  2003. end))
  2004.  
  2005. end))
  2006. local hx = false
  2007. coroutine.resume(coroutine.create(function()
  2008. for i = 0 , 1 , 0.05 do
  2009. wait()
  2010. shellz.Transparency = 1-1*i
  2011. end
  2012. shellz.Transparency = 0
  2013. end))
  2014. coroutine.resume(coroutine.create(function()
  2015. wait(60)
  2016. for ii,shellz in pairs(tempmod:GetChildren()) do
  2017. for i = 0 , 1 , 0.1 do
  2018. wait()
  2019. shellz.Transparency = 1*i
  2020. end
  2021. shellz.Parent = nil
  2022. end
  2023. tempmod.Parent = nil
  2024. end))
  2025. end
  2026. wait(0.5)
  2027. ----
  2028. RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  2029. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2030. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  2031. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2032. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2033. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2034. attack=false
  2035. bp.Parent = nil bg.Parent = nil
  2036. end
  2037.  
  2038.  
  2039. --TEST
  2040.  
  2041. hammer = Torso
  2042.  
  2043. function doDamage(hit)
  2044. local humanoid = hit.Parent:findFirstChild("Humanoid")
  2045. local hum = Player.Character:findFirstChild("Humanoid") -- non-nil if tool held by a character
  2046. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  2047. local foundd = false
  2048. for ii = 1 , #AoETrue do
  2049. if AoETrue[ii] == hit.Parent.Name then
  2050. foundd = true
  2051. end
  2052. end
  2053. if foundd then
  2054. end
  2055. --
  2056. if not foundd then
  2057. humanoid:TakeDamage(5)
  2058. if Mode == "Fire" then
  2059. end
  2060. damagesplat(5,humanoid.Parent.Torso,false)
  2061. table.insert(AoETrue,hit.Parent)
  2062. end
  2063.  
  2064. if humanoid.Health <= 0 then
  2065. local c = hit.CFrame
  2066. hit.CFrame = CFrame.new(hit.Position)
  2067. hit.CFrame = c
  2068. end
  2069. delay(1, function() end)
  2070. else
  2071. local c = hit.CFrame hit.CFrame = CFrame.new(hit.Position) hit.CFrame = c
  2072. end
  2073. end
  2074. function bewm(obj, pos, notme)
  2075. if (obj ~= notme) then
  2076. if (obj.className == "Part") or (obj.className == "Seat") then
  2077. if (not obj.Anchored) and (((pos - obj.Position) * Vector3.new(1, 0, 1)).magnitude < 24) and (pos.y <= obj.Position.y + 2) and (pos.y >= obj.Position.y - 2) then
  2078. delay((pos - obj.Position).magnitude / 24, function() obj.Velocity = ((obj.Position - pos).unit + Vector3.new(0, 0.5, 0)) * 96 + obj.Velocity obj.RotVelocity = obj.RotVelocity + Vector3.new(obj.Position.z - pos.z, 0, pos.x - obj.Position.x).unit * 40 doDamage(obj) end)
  2079. end
  2080. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  2081. local list = obj:GetChildren()
  2082. for x = 1, #list do
  2083. bewm(list[x], pos, notme)
  2084. end
  2085. end
  2086. end
  2087. end
  2088.  
  2089. function attackr()
  2090. local shockRing = Instance.new("Part")
  2091. shockRing.formFactor = 2
  2092. shockRing.Size = Vector3.new(1, 0.4, 1)
  2093. shockRing.Anchored = true
  2094. shockRing.Locked = true
  2095. shockRing.CanCollide = false
  2096. shockRing.archivable = false
  2097. shockRing.TopSurface = 0
  2098. shockRing.BottomSurface = 0
  2099. shockRing.Transparency = 0
  2100. if Mode == "Fire" then
  2101. shockRing.BrickColor = BrickColor.new("Really red")
  2102. elseif Mode == "Dark" then
  2103. shockRing.BrickColor = BrickColor.new("Bright violet")
  2104. elseif Mode == "Ice" then
  2105. shockRing.BrickColor = BrickColor.new("Bright blue")
  2106. shockRing.Reflectance = 0.2
  2107. end
  2108. local decal = Instance.new("CylinderMesh")
  2109. decal.Parent = shockRing
  2110. decal.Scale = Vector3.new(1,0.1,1)
  2111. wait(0.2)
  2112. local pos = hammer.CFrame * (Vector3.new(0, -2.5, 0))
  2113. bewm(game.Workspace, pos, Player.Character)
  2114. shockRing.CFrame = CFrame.new(pos)
  2115. for x = 0, 1 , 0.0625 do
  2116. delay((x*16) / 30, function() shockRing.Parent = nil shockRing.Size = Vector3.new(0, 0.4, 0) + Vector3.new(3.2, 0, 3.2) * (x*16) shockRing.Transparency = 1*x shockRing.Parent = Player.Character end)
  2117. end
  2118. delay(1, function()
  2119. shockRing.Parent = nil
  2120. for ii = 1 , #AoETrue do
  2121. table.remove(AoETrue,#AoETrue)
  2122. end end)
  2123. end
  2124. local modemodel = Instance.new("Model",swordholder)
  2125. local mrdychng = false
  2126. function FireMode()
  2127. attack=true
  2128. Mode = "Fire"
  2129. fireboost = 5
  2130. mrdychng = true
  2131. for i = 0 , 1 , 0.1 do
  2132. wait()
  2133. RW.C0 = CFrame.new(1+0.5*i,0.5+1*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+55*i), math.rad(45-45*i), math.rad(-45+45*i))
  2134. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2135. LW.C0 = CFrame.new(-1+1*i,0.5+1*i,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80-80*i),math.rad(-45+45*i),math.rad(45+65*i))
  2136. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2137. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2138. end
  2139. cs(Head,1.5)
  2140. local tempmod = Instance.new("Model",swordholder)
  2141. for l = 1 , 20 do
  2142. local meshz = Instance.new("SpecialMesh")
  2143. meshz.Scale = Vector3.new(0.5,0.5,0.5)
  2144. meshz.MeshType = "Sphere"
  2145. local shellz = Instance.new("Part")
  2146. meshz.Parent = shellz
  2147. shellz.Anchored = false
  2148. shellz.formFactor = 0
  2149. shellz.Size = Vector3.new(1,1,1)
  2150. shellz.CFrame = hitbox.CFrame * CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2151. shellz.Parent = tempmod
  2152. shellz.Transparency = 0.5
  2153. shellz.BrickColor = BrickColor.new("Really red")
  2154. shellz.CanCollide = false
  2155. shellz.Reflectance = 0
  2156. local bv = Instance.new("BodyPosition")
  2157. bv.Parent = shellz
  2158. bv.maxForce = Vector3.new(200000,200000,200000)
  2159. bv.position = shellz.Position
  2160. coroutine.resume(coroutine.create(function()
  2161. for i = 0 , 1 , 0.025 do
  2162. wait()
  2163. shellz.Transparency = 1-1*i
  2164. end
  2165. shellz.Transparency = 0
  2166. end))
  2167. coroutine.resume(coroutine.create(function()
  2168. wait(0.05)
  2169. bv.position = hitbox.Position
  2170. for i = 1 , 20 do
  2171. wait(0.1)
  2172. bv.position = shell.Position
  2173. end
  2174. shellz.Parent = nil
  2175. end))
  2176. wait(0.01)
  2177. end
  2178. coroutine.resume(coroutine.create(function ()
  2179. wait(0.25)
  2180. tempmod.Parent = nil
  2181. end))
  2182. for i = 0 , 1 , 0.2 do
  2183. wait()
  2184. RW.C0 = CFrame.new(1.5,1.5-1*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(135-45*i), math.rad(0), math.rad(0))
  2185. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2186. LW.C0 = CFrame.new(0,1.5-1*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(110-45*i))
  2187. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2188. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2189. end
  2190. bs(Head,0.75)
  2191. attackr()
  2192. for zz = 1 , 1 do
  2193. local mesh = Instance.new("SpecialMesh")
  2194. mesh.MeshType = "FileMesh"
  2195. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2196. mesh.Scale = Vector3.new(10,5,10) * Vector3.new(0.01,0.01,0.01)
  2197. local shell = Instance.new("Part")
  2198. mesh.Parent = shell
  2199. shell.Anchored = true
  2200. shell.formFactor = 1
  2201. shell.Size = Vector3.new(1,1,1)
  2202. shell.CFrame = Torso.CFrame * CFrame.new(0,-1.5,0)
  2203. shell.Parent = swordholder
  2204. shell.Transparency = 0
  2205. shell.BrickColor = BrickColor.new("Really red")
  2206. shell.CanCollide = false
  2207. coroutine.resume(coroutine.create(function()
  2208. for i = 0 , 1 , 0.075 do
  2209. wait()
  2210. mesh.Scale = Vector3.new(20,5,20) * Vector3.new(i,1,i)
  2211. shell.Transparency = 1*i
  2212. end
  2213. shell.Transparency = 1
  2214. shell.Parent = nil
  2215. end))
  2216. end
  2217. for zz = 1 , 1 do
  2218. local mesh = Instance.new("SpecialMesh")
  2219. mesh.MeshType = "FileMesh"
  2220. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2221. mesh.Scale = Vector3.new(10,20,10) * Vector3.new(0.01,0.01,0.01)
  2222. local shell = Instance.new("Part")
  2223. mesh.Parent = shell
  2224. shell.Anchored = true
  2225. shell.formFactor = 1
  2226. shell.Size = Vector3.new(1,1,1)
  2227. shell.CFrame = Torso.CFrame * CFrame.new(0,1,0)
  2228. shell.Parent = swordholder
  2229. shell.Transparency = 0
  2230. shell.BrickColor = BrickColor.new("Really red")
  2231. shell.CanCollide = false
  2232. coroutine.resume(coroutine.create(function()
  2233. for i = 0 , 1 , 0.05 do
  2234. wait()
  2235. mesh.Scale = Vector3.new(10,20,10) * Vector3.new(i,1,i)
  2236. shell.Transparency = 1*i
  2237. end
  2238. shell.Transparency = 1
  2239. shell.Parent = nil
  2240. end))
  2241. end
  2242. for zz = 1 , 3 do
  2243. local mesh = Instance.new("SpecialMesh")
  2244. mesh.MeshType = "Sphere"
  2245. mesh.Scale = Vector3.new(5*zz,5*zz,5*zz) * Vector3.new(0.01,0.01,0.01)
  2246. local shell = Instance.new("Part")
  2247. mesh.Parent = shell
  2248. shell.Anchored = true
  2249. shell.formFactor = 3
  2250. shell.Size = Vector3.new(1,1,1)
  2251. shell.CFrame = Torso.CFrame * CFrame.new(0,-1,0)
  2252. shell.Parent = swordholder
  2253. shell.Transparency = 0
  2254. if math.fmod(zz,2) == 1 then
  2255. shell.BrickColor = BrickColor.new("Bright orange")
  2256. elseif math.fmod(zz,2) == 0.5 then
  2257. shell.BrickColor = BrickColor.new("Bright red")
  2258. else
  2259. shell.BrickColor = BrickColor.new("Bright yellow")
  2260. end
  2261. shell.CanCollide = false
  2262. coroutine.resume(coroutine.create(function()
  2263. for i = 0 , 1 , 0.025 do
  2264. wait()
  2265. mesh.Scale = Vector3.new(10*zz,10*zz,10*zz) * Vector3.new(i,i,i)
  2266. shell.Transparency = 1*i
  2267. end
  2268. shell.Transparency = 1
  2269. shell.Parent = nil
  2270. end))
  2271. end
  2272.  
  2273.  
  2274. for ii,z in pairs(modemodel:GetChildren()) do
  2275. z.Parent = nil
  2276. end
  2277.  
  2278. local wing1m = Instance.new("BlockMesh")
  2279. wing1m.Scale = Vector3.new(1,1,1)
  2280. local wing1p = Instance.new("Part")
  2281. wing1p.formFactor = 3
  2282. wing1p.CanCollide = false
  2283. wing1p.Name = "FlameWingP1"
  2284. wing1p.Locked = true
  2285. wing1p.Size = Vector3.new(0.2,0.2,0.2)
  2286. wing1p.Parent = modemodel
  2287. wing1m.Parent = wing1p
  2288. wing1p.BrickColor = BrickColor.new("Bright red")
  2289. wing1p.Transparency = 1
  2290. local wing1w = Instance.new("Weld")
  2291. wing1w.Parent = wing1p
  2292. wing1w.Part0 = wing1p
  2293. wing1w.Part1 = Torso
  2294. wing1w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  2295. wing1w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(-1, 0, 0)
  2296. local wing2m = Instance.new("BlockMesh")
  2297. wing2m.Scale = Vector3.new(1,1,1)
  2298. local wing2p = Instance.new("Part")
  2299. wing2p.formFactor = 3
  2300. wing2p.CanCollide = false
  2301. wing2p.Name = "FlameWingP2"
  2302. wing2p.Locked = true
  2303. wing2p.Size = Vector3.new(0.2,0.2,0.2)
  2304. wing2p.Parent = modemodel
  2305. wing2m.Parent = wing2p
  2306. wing2p.BrickColor = BrickColor.new("Bright red")
  2307. wing2p.Transparency = 1
  2308. local wing2w = Instance.new("Weld")
  2309. wing2w.Parent = wing2p
  2310. wing2w.Part0 = wing2p
  2311. wing2w.Part1 = Torso
  2312. wing2w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  2313. wing2w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(1, 0, 0)
  2314. coroutine.resume(coroutine.create(function()
  2315. for ringi = math.rad(-20) , math.rad(130) , math.rad(10) do
  2316. wait(0.1)
  2317. local ringm = Instance.new("BlockMesh")
  2318. ringm.Scale = Vector3.new(1,1,1)
  2319. local ringp = Instance.new("Part")
  2320. ringp.formFactor = 3
  2321. ringp.CanCollide = false
  2322. ringp.Name = "FlameWing"..ringi
  2323. ringp.Locked = true
  2324. ringp.Size = Vector3.new(0.2,2,0.8)
  2325. ringp.Parent = modemodel
  2326. ringm.Parent = ringp
  2327. ringp.BrickColor = BrickColor.new("Bright red")
  2328. ringp.Reflectance = 0.1
  2329. ringp.Transparency = 1
  2330. local ringw = Instance.new("Weld")
  2331. ringw.Parent = ringp
  2332. ringw.Part0 = ringp
  2333. ringw.Part1 = wing1p
  2334. ringw.C1 = CFrame.fromEulerAnglesXYZ(ringi, 0, 0) * CFrame.new(0, ringp.Size.y/4 , 0)
  2335. ringw.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(45)) * CFrame.new(0, -1, 0) --* CFrame.new(-0.6, 0, 0) ---msh5.Scale.x/1.625
  2336. coroutine.resume(coroutine.create(function()
  2337. for i = 0 , 1 , 0.025 do
  2338. wait()
  2339. ringp.Transparency = 1-1*i
  2340. end
  2341. ringp.Transparency = 0
  2342. end))
  2343. end end))
  2344. coroutine.resume(coroutine.create(function()
  2345. for ringi = math.rad(-20) , math.rad(130) , math.rad(10) do
  2346. wait(0.1)
  2347. local ringm = Instance.new("BlockMesh")
  2348. ringm.Scale = Vector3.new(1,1,1)
  2349. local ringp = Instance.new("Part")
  2350. ringp.formFactor = 3
  2351. ringp.CanCollide = false
  2352. ringp.Name = "FlameWing2_"..ringi
  2353. ringp.Locked = true
  2354. ringp.Size = Vector3.new(0.2,2,0.8)
  2355. ringp.Parent = modemodel
  2356. ringm.Parent = ringp
  2357. ringp.BrickColor = BrickColor.new("Bright red")
  2358. ringp.Reflectance = 0.1
  2359. ringp.Transparency = 1
  2360. local ringw = Instance.new("Weld")
  2361. ringw.Parent = ringp
  2362. ringw.Part0 = ringp
  2363. ringw.Part1 = wing2p
  2364. ringw.C1 = CFrame.fromEulerAnglesXYZ(ringi+math.rad(0), 0, 0) * CFrame.new(-0, ringp.Size.y/4 , 0)
  2365. ringw.C0 = CFrame.fromEulerAnglesXYZ(0, 0,math.rad(-45)) * CFrame.new(-0, -1, 0)
  2366. coroutine.resume(coroutine.create(function()
  2367. for i = 0 , 1 , 0.025 do
  2368. wait()
  2369. ringp.Transparency = 1-1*i
  2370. end
  2371. ringp.Transparency = 0
  2372. end))
  2373. end end))
  2374. local wingp1m = Instance.new("SpecialMesh")
  2375. wingp1m.Scale = Vector3.new(1,1,1)
  2376. wingp1m.MeshType = "Sphere"
  2377. local wingp1p = Instance.new("Part")
  2378. wingp1p.formFactor = 3
  2379. wingp1p.CanCollide = false
  2380. wingp1p.Name = "FlameOrb"
  2381. wingp1p.Locked = true
  2382. wingp1p.Size = Vector3.new(1,1,1)
  2383. wingp1p.Parent = modemodel
  2384. wingp1m.Parent = wingp1p
  2385. wingp1p.Reflectance = 0.2
  2386. wingp1p.BrickColor = BrickColor.new("Bright red")
  2387. local wingp1w = Instance.new("Weld")
  2388. wingp1w.Parent = wingp1p
  2389. wingp1w.Part0 = wingp1p
  2390. wingp1w.Part1 = Torso
  2391. wingp1w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0 , 0)
  2392. wingp1w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0,math.rad(0)) * CFrame.new(0, -0.5, 0.5)
  2393. coroutine.resume(coroutine.create(function()
  2394. for i = 0 , 1 , 0.025 do
  2395. wait()
  2396. wingp1p.Transparency = 1-1*i
  2397. end
  2398. wingp1p.Transparency = 0
  2399. end))
  2400. local Firee = modemodel
  2401. local Spawn = wingp1p
  2402. local colors = {BrickColor.new("Bright red"),BrickColor.new("Bright yellow"),BrickColor.new("Bright orange")}
  2403. local Embers = {}
  2404. local modelz = Instance.new("Model",Firee)
  2405. modelz.Name = "FireHolder"
  2406. for X = 1, 15 do
  2407. local f = Instance.new("Part")
  2408. f.Parent = nil
  2409. f.BrickColor = colors[math.random(1, # colors)]
  2410. f.Size = Vector3.new(1,1,1)
  2411. f.formFactor = 3
  2412. f.Anchored = true
  2413. f.Locked = true
  2414. f.CanCollide = false
  2415. f.Transparency = 0.5
  2416. f.Name = "Fire"
  2417. f.TopSurface = 0
  2418. f.BottomSurface = 0
  2419. Instance.new("BlockMesh",f)
  2420. table.insert(Embers, f)
  2421. end
  2422. local R = 0
  2423. coroutine.resume(coroutine.create(function ()
  2424. repeat
  2425. wait()
  2426. R = R + 1
  2427. for X = 1, # Embers do
  2428. Embers[X].Parent = modelz
  2429. local FM = math.fmod(R + X, # Embers)
  2430. if FM == 1 then
  2431. RandPos = Vector3.new(math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10, Spawn.Size.y / 2, math.random(-Spawn.Size.x * 5, Spawn.Size.x * 5) / 10)
  2432. RandDir = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  2433. Embers[X].CFrame = CFrame.new(Spawn.Position + RandPos, (Spawn.Position * rndm) + RandPos + RandDir)
  2434. Embers[X].Mesh.Scale = Vector3.new(1,1,1)
  2435. else
  2436. Embers[X].CFrame = Embers[X].CFrame + Embers[X].CFrame.lookVector*0.5
  2437. Embers[X].Mesh.Scale = Embers[X].Mesh.Scale - Vector3.new(0.1,0.1,0.1)
  2438. end
  2439. end
  2440. until wingp1p.Parent == nil
  2441. for i = 0 ,1 , 0.1 do
  2442. wait(0.2)
  2443. for X = 1, # Embers do
  2444. Embers[X].Transparency = 0.5+0.5*i
  2445. end
  2446. end
  2447. for X = 1, # Embers do
  2448. Embers[X].Parent = nil
  2449. end
  2450. end))
  2451. for ii = 1 , #AoETrue do
  2452. table.remove(AoETrue,#AoETrue)
  2453. end
  2454. wait(0.25)
  2455. for i = 0 , 1 , 0.1 do
  2456. wait()
  2457. RW.C0 = CFrame.new(1.5,0.5+0.5*i,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+25*i), math.rad(0), math.rad(0))
  2458. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2459. LW.C0 = CFrame.new(0,0.5+0.5*i,-1) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(65+25*i))
  2460. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2461. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2462. end
  2463. for i = 0 , 1 , 0.1 do
  2464. wait()
  2465. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(115-35*i), math.rad(45*i), math.rad(-45*i))
  2466. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2467. LW.C0 = CFrame.new(-1*i,1-0.5*i,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80*i),math.rad(0),math.rad(90-45*i))
  2468. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2469. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180-180*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2470. end
  2471. RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  2472. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2473. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  2474. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2475. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2476. attack=false
  2477. wait(1.5)
  2478. mrdychng = false
  2479. end
  2480. function NeutralMode()
  2481. attack=true
  2482. Mode = "None"
  2483. fireboost = 0
  2484. iceboost = 0
  2485. darkboost = 0
  2486. ss(Head,1)
  2487. cs(Head,2)
  2488. mrdychng = true
  2489. for i = 0 , 1 , 0.2 do
  2490. wait()
  2491. RW.C0 = CFrame.new(1+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45), math.rad(-45+45*i))
  2492. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100*i), math.rad(0), math.rad(0))
  2493. LW.C0 = CFrame.new(-1-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i),math.rad(-45),math.rad(45-45*i))
  2494. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100*i), math.rad(0), math.rad(0))
  2495. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2496. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(70*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2497. end
  2498. coroutine.resume(coroutine.create(function()
  2499. for ii,z in pairs(modemodel:GetChildren()) do
  2500. if string.sub(z.Name,0,string.len(z.Name)-1) ~= "FlameWingP" then
  2501. wait()
  2502. coroutine.resume(coroutine.create(function()
  2503. for i = 0 , 1 , 0.1 do
  2504. wait()
  2505. z.Transparency = (1-z.Transparency)*i
  2506. end
  2507. z.Parent = nil
  2508. end))
  2509. end
  2510. end
  2511. wait(0.5)
  2512. for ii,z in pairs(modemodel:GetChildren()) do
  2513. wait()
  2514. z.Parent = nil
  2515. end
  2516. end))
  2517. for i = 0 , 1 , 0.1 do
  2518. wait()
  2519. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(45), math.rad(0))
  2520. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100+20*i), math.rad(0), math.rad(0))
  2521. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(-45),math.rad(0))
  2522. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(100+20*i), math.rad(0), math.rad(0))
  2523. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2524. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(70+20*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2525. end
  2526.  
  2527. wait(0.25)
  2528. for i = 0 , 1 , 0.1 do
  2529. wait()
  2530. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(45), math.rad(-45*i))
  2531. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120-120*i), math.rad(0), math.rad(0))
  2532. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i),math.rad(-45),math.rad(45*i))
  2533. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(120-120*i), math.rad(0), math.rad(0))
  2534. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2535. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90-90*i), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2536. end
  2537. RW.C0 = CFrame.new(1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(45), math.rad(-45))
  2538. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2539. LW.C0 = CFrame.new(-1,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80),math.rad(-45),math.rad(45))
  2540. LW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  2541. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  2542. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0.2)
  2543. attack=false
  2544. wait(0.5)
  2545. mrdychng = false
  2546. end
  2547.  
  2548. function ob1d(mouse)
  2549. hold = true
  2550. if attack == true then return end
  2551. end
  2552. function ob1u(mouse)
  2553. end
  2554. buttonhold = false
  2555. function key(key)
  2556. if attack == true then return end
  2557. if key == "q" then
  2558. if attacktype == 1 then
  2559. Combo1a()
  2560. elseif attacktype == 2 then
  2561. Combo1b()
  2562. elseif attacktype == 3 then
  2563. Combo1c()
  2564. end
  2565. end
  2566. if key == "e" then
  2567. if attacktype == 1 then
  2568. BlizzardSword()
  2569. end
  2570. end
  2571. if key == "r" then
  2572. FlameTrail()
  2573. end
  2574. if key == "t" then
  2575. LifeDrain()
  2576. end
  2577. if Mode == "None" and not mrdychng then
  2578. if key == "z" then
  2579. FireMode()
  2580. end
  2581. elseif not mrdychng then
  2582. if key == "z" or key == "x" or key == "c" then
  2583. NeutralMode()
  2584. end
  2585. end
  2586. end
  2587.  
  2588. function key2(key)
  2589. end
  2590. function s(mouse)
  2591. repeat wait() until not attack
  2592. while ev.Value ~= false do
  2593. wait(0.1)
  2594. end
  2595. MMouse = mouse
  2596. mouse.Button1Down:connect(function() ob1d(mouse) end)
  2597. mouse.Button1Up:connect(function() ob1u(mouse) end)
  2598. mouse.KeyDown:connect(key)
  2599. mouse.KeyUp:connect(key2)
  2600. equipanim()
  2601. ev.Value = true
  2602. --[[
  2603. script.Parent = Bin.Parent
  2604. Bin:remove()]]
  2605. end
  2606. function ds(mouse)
  2607. repeat wait() until not attack
  2608. while ev.Value == false do
  2609. wait(0.1)
  2610. end
  2611.  
  2612. hideanim()
  2613. wait(0.1)
  2614. ev.Value = false
  2615. end
  2616. Bin.Selected:connect(s)
  2617. Bin.Deselected:connect(ds)
  2618.  
  2619.  
  2620. --lego
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement