D0MiN0_FX

The Darkness [ RARE ]

Oct 27th, 2016
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 96.33 KB | None | 0 0
  1. Meshes = {
  2. Blast = '20329976',
  3. Crown = '1323306',
  4. Ring = '3270017',
  5. Claw = '10681506',
  6. Crystal = '9756362',
  7. Coil = '9753878',
  8. Cloud = '1095708',
  9. }
  10. clangsounds = {
  11. '199149119',
  12. '199149109',
  13. '199149072',
  14. '199149025',
  15. '199148971'
  16. }
  17. hitsounds = {
  18. '199149137',
  19. '199149186',
  20. '199149221',
  21. '199149235',
  22. '199149269',
  23. '199149297'
  24. }
  25. blocksounds = {
  26. '199148933',
  27. '199148947'
  28. }
  29. armorsounds = {
  30. '199149321',
  31. '199149338',
  32. '199149367',
  33. '199149409',
  34. '199149452'
  35. }
  36. woosh = {
  37. Heavy1 = '320557353',
  38. Heavy2 = '320557382',
  39. Heavy3 = '320557453',
  40. Heavy4 = '199144226',
  41. Heavy5 = '203691447',
  42. Heavy6 = '203691467',
  43. Heavy7 = '203691492',
  44. Light1 = '320557413',
  45. Light2 = '320557487',
  46. Light3 = '199145095',
  47. Light4 = '199145146',
  48. Light5 = '199145887',
  49. Light6 = '199145913',
  50. Light7 = '199145841',
  51. Medium1 = '320557518',
  52. Medium2 = '320557537',
  53. Medium3 = '320557563',
  54. Medium4 = '199145204'
  55. }
  56. Songs = {
  57. Breaking = '179281636',
  58. FinalReckoning = '357375770',
  59. NotDeadYet = '346175829',
  60. Intense = '151514610',
  61. JumpP1 = '160536628',
  62. JumpP2 = '60536666',
  63. SonsOfWar = '158929777',
  64. WrathOfSea = '165520893',
  65. ProtectorsOfEarth = '160542922',
  66. SkyTitans = '179282324',
  67. ArchAngel = '144043274',
  68. Anticipation = '168614529',
  69. TheMartyred = '186849544',
  70. AwakeP1 = '335631255',
  71. AwakeP2 = '335631297',
  72. ReadyAimFireP1 = '342455387',
  73. ReadyAimFireP2 = '342455399',
  74. DarkLordP1 = '209567483',
  75. DarkLordP2 = '209567529',
  76. BloodDrainP1 = '162914123',
  77. BloodDrainP2 = '162914203',
  78. DanceOfSwords = '320473062',
  79. Opal = '286415112',
  80. Calamity = '190454307',
  81. Hypnotica = '155968128',
  82. Nemisis = '160453802',
  83. Breathe = '276963903',
  84. GateToTheRift = '270655227',
  85. InfernalBeserking = '244143404',
  86. Trust = '246184492',
  87. AwakeningTheProject = '245121821',
  88. BloodPain = '242545577',
  89. Chaos = '247241693',
  90. NightmareFictionHighStake = '248062278',
  91. TheWhiteWeapon = '247236446',
  92. Gale = '256851659',
  93. ImperialCode = '256848383',
  94. Blitzkrieg = '306431437',
  95. RhapsodyRage = '348690251',
  96. TheGodFist = '348541501',
  97. BattleForSoul = '321185592',
  98. TheDarkColossus = '305976780',
  99. EmpireOfAngels = '302580452',
  100. Kronos = '302205297',
  101. Exorcist = '299796054',
  102. CrimsonFlames = '297799220',
  103. UltimatePower = '295753229',
  104. DrivingInTheDark = '295753229',
  105. AscendToPower = '293860654',
  106. GodOfTheSun = '293612495',
  107. DarkRider = '293861765',
  108. Vengeance = '293375555',
  109. SoundOfWar = '293376196',
  110. HellsCrusaders = '293012202',
  111. Legend = '293011823',
  112. RisingSouls = '290524959'
  113. }
  114. misc = {
  115. GroundSlam = '199145477',
  116. LaserSlash = '199145497',
  117. RailGunFire = '199145534',
  118. Charge1 = '199145659',
  119. Charge2 = '169380469',
  120. Charge3 = '169380479',
  121. EmptyGun = '203691822',
  122. GunShoot = '203691837',
  123. Stomp1 = '200632875',
  124. Stomp2 = '200632561',
  125. TelsaCannonCharge = '169445572',
  126. TelsaCannonShoot = '169445602',
  127. AncientHymm = '245313442'
  128. }
  129.  
  130. wait(0.016666666666667)
  131. Effects = {}
  132. local Player = game.Players.localPlayer
  133. local Character = Player.Character
  134. local Humanoid = Character.Humanoid
  135. local mouse = Player:GetMouse()
  136. local m = Instance.new("Model", Character)
  137. m.Name = "WeaponModel"
  138. local LeftArm = Character["Left Arm"]
  139. local RightArm = Character["Right Arm"]
  140. local LeftLeg = Character["Left Leg"]
  141. local RightLeg = Character["Right Leg"]
  142. local Head = Character.Head
  143. local Torso = Character.Torso
  144. local RootPart = Character.HumanoidRootPart
  145. local RootJoint = RootPart.RootJoint
  146. local cam = game.Workspace.CurrentCamera
  147. local equipped = false
  148. local attack = false
  149. local Anim = "Idle"
  150. local idle = 0
  151. local attacktype = 1
  152. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  153. local velocity = RootPart.Velocity.y
  154. local sine = 0
  155. local change = 1
  156. local grabbed = false
  157. local cn = CFrame.new
  158. local mr = math.rad
  159. local angles = CFrame.Angles
  160. local ud = UDim2.new
  161. local c3 = Color3.new
  162. cf = CFrame.new
  163. vt = Vector3.new
  164. local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  165. Humanoid.Animator:Destroy()
  166. Character.Animate:Destroy()
  167. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  168. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  169. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  170. RSH = nil
  171. RW = Instance.new("Weld")
  172. LW = Instance.new("Weld")
  173. RH = Torso["Right Hip"]
  174. LH = Torso["Left Hip"]
  175. RSH = Torso["Right Shoulder"]
  176. LSH = Torso["Left Shoulder"]
  177. RSH.Parent = nil
  178. LSH.Parent = nil
  179. RW.Name = "RW"
  180. RW.Part0 = Torso
  181. RW.C0 = cn(1.5, 0.5, 0)
  182. RW.C1 = cn(0, 0.5, 0)
  183. RW.Part1 = RightArm
  184. RW.Parent = Torso
  185. LW.Name = "LW"
  186. LW.Part0 = Torso
  187. LW.C0 = cn(-1.5, 0.5, 0)
  188. LW.C1 = cn(0, 0.5, 0)
  189. LW.Part1 = LeftArm
  190. LW.Parent = Torso
  191.  
  192.  
  193. clerp = function(a, b, t)
  194. return a:lerp(b, t)
  195. end
  196.  
  197.  
  198. --[[--------------------------------------------------
  199. LeftArm.Size = LeftArm.Size * 1
  200. RightArm.Size = RightArm.Size * 1
  201. LeftLeg.Size = LeftLeg.Size * 1
  202. RightLeg.Size = RightLeg.Size * 1
  203. Torso.Size = Torso.Size * 1
  204. Head.Size = Head.Size * 1
  205. RootPart.Size = RootPart.Size * 1
  206. ----------------------------------------------------]]
  207.  
  208.  
  209. ArtificialHB = Instance.new("BindableEvent", script)
  210. ArtificialHB.Name = "Heartbeat"
  211. script:WaitForChild("Heartbeat")
  212. frame = 0.033333333333333
  213. tf = 0
  214. allowframeloss = false
  215. tossremainder = false
  216. lastframe = tick()
  217. script.Heartbeat:Fire()
  218. game:GetService("RunService").Heartbeat:connect(function(s, p)
  219. tf = tf + s
  220. if frame <= tf then
  221. if allowframeloss then
  222. script.Heartbeat:Fire()
  223. lastframe = tick()
  224. else
  225. for i = 1, math.floor(tf / frame) do
  226. script.Heartbeat:Fire()
  227. end
  228. lastframe = tick()
  229. end
  230. if tossremainder then
  231. tf = 0
  232. else
  233. tf = tf - frame * math.floor(tf / frame)
  234. end
  235. end
  236. end
  237. )
  238. swait = function(num)
  239. if num == 0 or num == nil then
  240. ArtificialHB.Event:wait()
  241. else
  242. for i = 0, num do
  243. ArtificialHB.Event:wait()
  244. end
  245. end
  246. end
  247.  
  248. local RbxUtility = LoadLibrary("RbxUtility")
  249. local Create = RbxUtility.Create
  250. RemoveOutlines = function(part)
  251. part.TopSurface = 10
  252. end
  253.  
  254.  
  255.  
  256.  
  257.  
  258. ----------------------------------------------------
  259. ----------------------------------------------------
  260.  
  261.  
  262.  
  263. local dmgMultipyer = 0
  264. local co1 = 3
  265. local co2 = 3
  266. local co3 = 3
  267. local co4 = 70
  268. local cooco = 3
  269. local cooldown1 = 3
  270. local cooldown2 = 3
  271. local cooldown3 = 3
  272. local cooldown4 = 70
  273. local coolcool = 3
  274. local maxEnergy = 200
  275. local Energy = 20
  276. local skill1stam = 10
  277. local skill2stam = 30
  278. local skill3stam = 40
  279. local skill4stam = 60
  280. local recovermana = 15
  281. local skillcolorscheme = BrickColor.new("Really black").Color
  282. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  283. makeframe = function(par, trans, pos, size, color)
  284. local frame = Instance.new("Frame", par)
  285. frame.BackgroundTransparency = trans
  286. frame.BorderSizePixel = 0
  287. frame.Position = pos
  288. frame.Size = size
  289. frame.BackgroundColor3 = color
  290. return frame
  291. end
  292.  
  293. makelabel = function(par, text)
  294. local label = Instance.new("TextLabel", par)
  295. label.BackgroundTransparency = 1
  296. label.Size = UDim2.new(1, 0, 1, 0)
  297. label.Position = UDim2.new(0, 0, 0, 0)
  298. label.TextColor3 = Color3.new(255, 255, 255)
  299. label.TextStrokeTransparency = 0
  300. label.FontSize = Enum.FontSize.Size32
  301. label.Font = Enum.Font.SourceSansBold
  302. label.BorderSizePixel = 0
  303. label.TextScaled = true
  304. label.Text = text
  305. end
  306.  
  307. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  308. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  309. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  310. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  311. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  312. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  313. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  314. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  315.  
  316. text1 = Instance.new("TextLabel", framesk1)
  317. text1.BackgroundTransparency = 1
  318. text1.Size = UDim2.new(1, 0, 1, 0)
  319. text1.Position = UDim2.new(0, 0, 0, 0)
  320. text1.TextColor3 = Color3.new(255, 255, 255)
  321. text1.TextStrokeTransparency = 0
  322. text1.FontSize = Enum.FontSize.Size18
  323. text1.Font = Enum.Font.SourceSansBold
  324. text1.BorderSizePixel = 0
  325. text1.TextScaled = true
  326. text1.Text = "[Z]\n Smek Combo"
  327.  
  328.  
  329. text2 = Instance.new("TextLabel", framesk2)
  330. text2.BackgroundTransparency = 1
  331. text2.Size = UDim2.new(1, 0, 1, 0)
  332. text2.Position = UDim2.new(0, 0, 0, 0)
  333. text2.TextColor3 = Color3.new(255, 255, 255)
  334. text2.TextStrokeTransparency = 0
  335. text2.FontSize = Enum.FontSize.Size18
  336. text2.Font = Enum.Font.SourceSansBold
  337. text2.BorderSizePixel = 0
  338. text2.TextScaled = true
  339. text2.Text = "[X]\n Wavez of Sugar"
  340.  
  341.  
  342. text3 = Instance.new("TextLabel", framesk3)
  343. text3.BackgroundTransparency = 1
  344. text3.Size = UDim2.new(1, 0, 1, 0)
  345. text3.Position = UDim2.new(0, 0, 0, 0)
  346. text3.TextColor3 = Color3.new(255, 255, 255)
  347. text3.TextStrokeTransparency = 0
  348. text3.FontSize = Enum.FontSize.Size18
  349. text3.Font = Enum.Font.SourceSansBold
  350. text3.BorderSizePixel = 0
  351. text3.TextScaled = false
  352. text3.Text = "[C]\n SpinCycle"
  353.  
  354.  
  355. text4 = Instance.new("TextLabel", framesk4)
  356. text4.BackgroundTransparency = 1
  357. text4.Size = UDim2.new(1, 0, 1, 0)
  358. text4.Position = UDim2.new(0, 0, 0, 0)
  359. text4.TextColor3 = Color3.new(255, 255, 255)
  360. text4.TextStrokeTransparency = 0
  361. text4.FontSize = Enum.FontSize.Size18
  362. text4.Font = Enum.Font.SourceSansBold
  363. text4.BorderSizePixel = 0
  364. text4.TextScaled = true
  365. text4.Text = "[V]\n Yummie laz0r"
  366.  
  367.  
  368.  
  369. function NoOutline(Part)
  370. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  371. end
  372.  
  373. function nooutline(part)
  374. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  375. end
  376.  
  377.  
  378. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  379. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  380. RemoveOutlines(Part)
  381. nooutline(Part)
  382. return Part
  383. end
  384.  
  385. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  386. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  387. if Mesh == "SpecialMesh" then
  388. Msh.MeshType = MeshType
  389. Msh.MeshId = MeshId
  390. end
  391. return Msh
  392. end
  393.  
  394. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  395. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  396. return Weld
  397. end
  398.  
  399. rayCast = function(Position, Direction, Range, Ignore)
  400. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  401. end
  402.  
  403. CreateSound = function(id, par, vol, pit)
  404. coroutine.resume(coroutine.create(function()
  405. local sou = Instance.new("Sound", par or workspace)
  406. sou.Volume = vol
  407. sou.Pitch = pit or 1
  408. sou.SoundId = id
  409. swait()
  410. sou:play()
  411. game:GetService("Debris"):AddItem(sou, 6)
  412. end
  413. ))
  414. end
  415.  
  416. local getclosest = function(obj, distance)
  417. local last, lastx = distance + 1, nil
  418. for i,v in pairs(workspace:GetChildren()) do
  419. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  420. local t = v.Torso
  421. local dist = t.Position - obj.Position.magnitude
  422. if dist <= distance and dist < last then
  423. last = dist
  424. lastx = v
  425. end
  426. end
  427. end
  428. return lastx
  429. end
  430.  
  431. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  432. if hit.Parent == nil then
  433. return
  434. end
  435. local h = hit.Parent:FindFirstChild("Humanoid")
  436. for _,v in pairs(hit.Parent:children()) do
  437. if v:IsA("Humanoid") then
  438. h = v
  439. end
  440. end
  441. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  442. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  443. return
  444. end
  445. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  446. game:GetService("Debris"):AddItem(c, 0.5)
  447. if HitSound ~= nil and HitPitch ~= nil then
  448. CreateSound(HitSound, hit, 1, HitPitch)
  449. end
  450. local Damage = math.random(minim, maxim) + dmgMultipyer
  451. local blocked = false
  452. local block = hit.Parent:findFirstChild("Block")
  453. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  454. blocked = true
  455. block.Value = block.Value - 1
  456. print(block.Value)
  457. end
  458. if blocked == false then
  459. h.Health = h.Health - Damage
  460. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  461. else
  462. h.Health = h.Health - Damage / 2
  463. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  464. end
  465. if Type == "Knockdown" then
  466. local hum = hit.Parent.Humanoid
  467. hum.PlatformStand = true
  468. coroutine.resume(coroutine.create(function(HHumanoid)
  469. swait(1)
  470. HHumanoid.PlatformStand = false
  471. end
  472. ), hum)
  473. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  474. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  475. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  476. game:GetService("Debris"):AddItem(bodvol, 0.5)
  477. game:GetService("Debris"):AddItem(rl, 0.5)
  478. else
  479. do
  480. if Type == "Normal" then
  481. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  482. if knockback > 0 then
  483. vp.Parent = hit.Parent.Torso
  484. end
  485. game:GetService("Debris"):AddItem(vp, 0.5)
  486. else
  487. do
  488. if Type == "Up" then
  489. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  490. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  491. else
  492. do
  493. if Type == "DarkUp" then
  494. coroutine.resume(coroutine.create(function()
  495. for i = 0, 1, 0.1 do
  496. swait()
  497. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  498. end
  499. end
  500. ))
  501. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  502. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  503. else
  504. do
  505. if Type == "Snare" then
  506. local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  507. game:GetService("Debris"):AddItem(bp, 1)
  508. else
  509. do
  510. if Type == "Freeze" then
  511. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  512. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  513. hit.Parent.Torso.Anchored = true
  514. coroutine.resume(coroutine.create(function(Part)
  515. swait(1.5)
  516. Part.Anchored = false
  517. end
  518. ), hit.Parent.Torso)
  519. game:GetService("Debris"):AddItem(BodPos, 3)
  520. game:GetService("Debris"):AddItem(BodGy, 3)
  521. end
  522. do
  523. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  524. game:GetService("Debris"):AddItem(debounce, Delay)
  525. c = Instance.new("ObjectValue")
  526. c.Name = "creator"
  527. c.Value = Player
  528. c.Parent = h
  529. game:GetService("Debris"):AddItem(c, 0.5)
  530. end
  531. end
  532. end
  533. end
  534. end
  535. end
  536. end
  537. end
  538. end
  539. end
  540. end
  541. end
  542. end
  543.  
  544. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  545. for _,c in pairs(workspace:children()) do
  546. local hum = c:findFirstChild("Humanoid")
  547. if hum ~= nil then
  548. local head = c:findFirstChild("Torso")
  549. if head ~= nil then
  550. local targ = head.Position - Part.Position
  551. local mag = targ.magnitude
  552. if mag <= magni and c.Name ~= Player.Name then
  553. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  554. end
  555. end
  556. end
  557. end
  558. end
  559.  
  560. ShowDamage = function(Pos, Text, Time, Color)
  561. local Rate = 0.033333333333333
  562. if not Pos then
  563. local Pos = Vector3.new(0, 0, 0)
  564. end
  565. local Text = Text or ""
  566. local Time = Time or 2
  567. if not Color then
  568. local Color = Color3.new(1, 0, 1)
  569. end
  570. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  571. EffectPart.Anchored = true
  572. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  573. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  574. game.Debris:AddItem(EffectPart, Time + 0.1)
  575. EffectPart.Parent = game:GetService("Workspace")
  576. delay(0, function()
  577. local Frames = Time / Rate
  578. for Frame = 1, Frames do
  579. wait(Rate)
  580. local Percent = Frame / Frames
  581. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  582. TextLabel.TextTransparency = Percent
  583. end
  584. if EffectPart and EffectPart.Parent then
  585. EffectPart:Destroy()
  586. end
  587. end
  588. )
  589. end
  590.  
  591.  
  592. Player=game:GetService('Players').LocalPlayer
  593. Character=Player.Character
  594. Mouse=Player:GetMouse()
  595. m=Instance.new('Model',Character)
  596.  
  597.  
  598. local function weldBetween(a, b)
  599. local weldd = Instance.new("ManualWeld")
  600. weldd.Part0 = a
  601. weldd.Part1 = b
  602. weldd.C0 = CFrame.new()
  603. weldd.C1 = b.CFrame:inverse() * a.CFrame
  604. weldd.Parent = a
  605. return weldd
  606. end
  607.  
  608. it=Instance.new
  609.  
  610. function nooutline(part)
  611. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  612. end
  613.  
  614. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  615. local fp=it("Part")
  616. fp.formFactor=formfactor
  617. fp.Parent=parent
  618. fp.Reflectance=reflectance
  619. fp.Transparency=transparency
  620. fp.CanCollide=false
  621. fp.Locked=true
  622. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  623. fp.Name=name
  624. fp.Size=size
  625. fp.Position=Character.Torso.Position
  626. nooutline(fp)
  627. fp.Material=material
  628. fp:BreakJoints()
  629. return fp
  630. end
  631.  
  632. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  633. local mesh=it(Mesh)
  634. mesh.Parent=part
  635. if Mesh=="SpecialMesh" then
  636. mesh.MeshType=meshtype
  637. mesh.MeshId=meshid
  638. end
  639. mesh.Offset=offset
  640. mesh.Scale=scale
  641. return mesh
  642. end
  643.  
  644. function weld(parent,part0,part1,c0,c1)
  645. local weld=it("Weld")
  646. weld.Parent=parent
  647. weld.Part0=part0
  648. weld.Part1=part1
  649. weld.C0=c0
  650. weld.C1=c1
  651. return weld
  652. end
  653. m = Instance.new("Model", Character)
  654. m.Name = "Devine light"
  655.  
  656.  
  657. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  658. Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0299681127, 0.0631451607, 0.93859005, 0, 0, 1, 1, 0, 0, 0, 0.999999881, 0))
  659.  
  660. FakeHandle=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,1,1,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  661. FakeHandleWeld=weld(m,FakeHandleWeld,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0299681127, 0.0631451607, 0.93859005, 0, 0, 1, 1, 0, 0, 0, 0.999999881, 0))
  662.  
  663.  
  664. mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 6, 6))
  665. Handle1=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Handle1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  666. Handle1weld=weld(m,Handle,Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.98023224e-006, 0.674997807, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  667. mesh("CylinderMesh",Handle1,"","",Vector3.new(0, 0, 0),Vector3.new(1.14999998, 1, 1.25))
  668. Handle1=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.10000000149012,0,"Really black","Handle1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  669. Handle1weld=weld(m,Handle,Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.601040363, -0.601036072, -9.53674316e-007, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  670. mesh("BlockMesh",Handle1,"","",Vector3.new(0, 0, 0),Vector3.new(1.25, 1.25, 0.500999987))
  671. Hilt=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Hilt",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  672. Hiltweld=weld(m,Handle,Hilt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-007, -0.624999523, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  673. mesh("CylinderMesh",Hilt,"","",Vector3.new(0, 0, 0),Vector3.new(1.14999998, 1, 1.25))
  674. ParticleEmitter=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.10000000149012,1,"Really black","ParticleEmitter",Vector3.new(0.200000003, 3.79999995, 0.200000003))
  675. ParticleEmitterweld=weld(m,Handle,ParticleEmitter,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.1920929e-006, -2.74999762, -2.98023224e-006, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  676. mesh("BlockMesh",ParticleEmitter,"","",Vector3.new(0, 0, 0),Vector3.new(0, 0, 0))
  677. c=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.10000000149012,0,"Really black","c",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  678. cweld=weld(m,Handle,c,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.795496941, 0.795491219, -2.02655792e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  679. mesh("BlockMesh",c,"","",Vector3.new(0, 0, 0),Vector3.new(1.75, 1.75, 0.500999987))
  680. c=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","c",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  681. cweld=weld(m,Handle,c,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.795496941, 0.795491219, -2.02655792e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  682. mesh("BlockMesh",c,"","",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 0.504000008))
  683. c=part(Enum.FormFactor.Custom,m,Enum.Material.Fabric,0,0,"Really black","c",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  684. cweld=weld(m,Handle,c,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.795496941, 0.795491219, -2.02655792e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  685. mesh("BlockMesh",c,"","",Vector3.new(0, 0, 0),Vector3.new(0.649999976, 0.649999976, 0.507000029))
  686. c=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really black","c",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  687. cweld=weld(m,Handle,c,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.795496941, 0.795491219, -2.02655792e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  688. mesh("BlockMesh",c,"","",Vector3.new(0, 0, 0),Vector3.new(1.35000002, 1.35000002, 0.504999995))
  689. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  690. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.949998379, 0.0749989748, -9.53674316e-007, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  691. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.75, 0.0500000007, 0.503000021))
  692. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  693. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.949996471, -0.0750010014, -2.02655792e-006, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  694. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.75, 0.0500000007, 0.503000021))
  695. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  696. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.775868416, 0.077555418, -2.02655792e-006, 0, 0.984807968, 0.173647001, 0, -0.173647001, 0.984807968, 1, 0, 0))
  697. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.0500000007, 0.503000021))
  698. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  699. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.775867939, -0.0775574446, -2.02655792e-006, 0, 0.984807968, -0.173647001, 0, 0.173647001, 0.984807968, 1, 0, 0))
  700. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.0500000007, 0.503000021))
  701. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  702. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.79999495, 0.0749999285, -2.02655792e-006, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  703. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(17, 0.0500000007, 0.503000021))
  704. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  705. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.79999495, -0.0750000477, -2.98023224e-006, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  706. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(17, 0.0500000007, 0.503000021))
  707. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  708. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.13959432, 1.19210529, -9.53674316e-007, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  709. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  710. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  711. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.13959455, -1.19210577, -2.02655792e-006, 0, 0.707109332, -0.707104385, 0, 0.707104385, 0.707109332, 1, 0, 0))
  712. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  713. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  714. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.49315012, 1.54565716, -2.02655792e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  715. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  716. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  717. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.49314976, -1.54565704, -2.02655792e-006, 0, 0.707109332, -0.707104385, 0, 0.707104385, 0.707109332, 1, 0, 0))
  718. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  719. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  720. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.84670651, 1.89920998, -2.98023224e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  721. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  722. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  723. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.84670687, -1.8992089, -2.02655792e-006, 0, 0.707109332, -0.707104385, 0, 0.707104385, 0.707109332, 1, 0, 0))
  724. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  725. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  726. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.20026016, 2.25276089, -2.02655792e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  727. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  728. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  729. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.20026064, -2.25276136, -2.02655792e-006, 0, 0.707109332, -0.707104385, 0, 0.707104385, 0.707109332, 1, 0, 0))
  730. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  731. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  732. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.55381083, -2.60631227, -2.02655792e-006, 0, 0.707109332, -0.707104385, 0, 0.707104385, 0.707109332, 1, 0, 0))
  733. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  734. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  735. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.55381536, 2.60631227, -2.02655792e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  736. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  737. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  738. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.90736866, 2.95986462, -2.02655792e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  739. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  740. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  741. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.90736771, -2.95986509, -2.02655792e-006, 0, 0.707109332, -0.707104385, 0, 0.707104385, 0.707109332, 1, 0, 0))
  742. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  743. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  744. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.18137264, 3.2338655, -2.02655792e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  745. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  746. d=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.10000000149012,0,"Really black","d",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  747. dweld=weld(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.18137026, -3.23386741, -2.02655792e-006, 0, 0.707109332, -0.707104385, 0, 0.707104385, 0.707109332, 1, 0, 0))
  748. mesh("BlockMesh",d,"","",Vector3.new(0, 0, 0),Vector3.new(0.569999993, 0.0500000007, 0.503000021))
  749. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  750. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.15255737e-007, -0.718766689, -0.016694665, 0.866025984, 0, 0.499998987, 0.211307287, 0.906309247, -0.365995973, -0.45315364, 0.422615409, 0.784887314))
  751. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.499000013, 1, 1.25))
  752. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  753. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.78813934e-006, -0.764952421, -0.127159119, -0.866025984, 0, -0.499998987, -0.321391523, 0.766047299, 0.556667924, 0.383022815, 0.642784297, -0.663416803))
  754. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.497999996, 1, 1.5))
  755. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  756. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.1920929e-007, -0.718767166, -0.0166974068, -0.866025984, 0, -0.499998987, -0.211307287, 0.906309247, 0.365995973, 0.45315364, 0.422615409, -0.784887314))
  757. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.499000013, 1, 1.25))
  758. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  759. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, -0.764955044, -0.127158165, 0.866025984, 0, 0.499998987, 0.321391672, 0.766047001, -0.556668162, -0.383022726, 0.642784655, 0.663416624))
  760. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.497999996, 1, 1.5))
  761. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  762. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.21865082e-006, -0.718008518, 0.0974549651, 0.866025984, 0, 0.499998987, 0.0868233219, 0.984807968, -0.150382817, -0.492402971, 0.173647016, 0.852869272))
  763. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1.25))
  764. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  765. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.96046448e-007, -0.718010426, 0.0974559784, -0.866025984, 0, -0.499998987, -0.0868233219, 0.984807968, 0.150382817, 0.492402971, 0.173647016, -0.852869272))
  766. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1.25))
  767. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  768. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.32458115e-006, -0.718769073, -0.0166960955, 0.866025984, 0, -0.499998987, -0.211307287, 0.906309247, -0.365995973, 0.45315364, 0.422615409, 0.784887314))
  769. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.499000013, 1, 1.25))
  770. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  771. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.32458115e-006, -0.76495266, -0.127157688, -0.866025388, 0, 0.500000238, 0.321392417, 0.766047001, 0.556667745, -0.38302362, 0.642784595, -0.663416088))
  772. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.497999996, 1, 1.5))
  773. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  774. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.07288361e-006, -0.76495266, -0.127162218, 0.866025984, 0, -0.499998987, -0.321392179, 0.766046166, -0.556669056, 0.383022338, 0.642785668, 0.663415909))
  775. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.497999996, 1, 1.5))
  776. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  777. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.55651093e-007, -0.718766689, -0.0166959763, -0.866025388, 0, 0.500000238, 0.211308002, 0.906309009, 0.365996003, -0.453154624, 0.422615826, -0.784886479))
  778. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.499000013, 1, 1.25))
  779. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  780. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.31130219e-006, -0.718009472, 0.097455442, 0.866025984, 0, -0.499998987, -0.0868229121, 0.984808207, -0.150382087, 0.49240303, 0.173646137, 0.852869391))
  781. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1.25))
  782. h=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","h",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  783. hweld=weld(m,Handle,h,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.66893005e-006, -0.718008041, 0.0974588394, -0.866025388, 0, 0.500000238, 0.0868235305, 0.984807968, 0.150382683, -0.492404163, 0.173646986, -0.852868617))
  784. mesh("SpecialMesh",h,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1.25))
  785. Hitbox=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,1,"Medium stone grey","Hitbox",Vector3.new(5.86999989, 1, 1.9799999))
  786. Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.91812801, -0.0785925388, 0.0599908978, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  787. Blade111=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.10000000149012,0,"Really black","Blade111",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  788. Blade111weld=weld(m,Handle,Blade111,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 2.69999647, -2.02655792e-006, 0, 0, 1, 0, -1, 0, 1, 0, 0))
  789. mesh("BlockMesh",Blade111,"","",Vector3.new(0, 0, 0),Vector3.new(1, 18, 0.5))
  790. Blade=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.10000000149012,0,"Really black","Blade",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  791. Bladeweld=weld(m,Handle,Blade,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.774998188, -2.02655792e-006, 0, 0, 1, 0, -1, 0, 1, 0, 0))
  792. mesh("SpecialMesh",Blade,Enum.MeshType.Torso,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.25, 0.5))
  793. Blade1=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0.10000000149012,0,"Really black","Blade1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  794. Blade1weld=weld(m,Handle,Blade1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.18198919, 3.18196392, -3.93390656e-006, 0, 0.707109332, 0.707104385, 0, -0.707104385, 0.707109332, 1, 0, 0))
  795. mesh("BlockMesh",Blade1,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 0.699999988, 0.500999987))
  796.  
  797.  
  798. local function setupPart(part)
  799. part.Anchored = true
  800. part.FormFactor = 'Custom'
  801. part.CanCollide = false
  802. part.BrickColor = BrickColor.new("Really white")
  803. part.Material = "Neon"
  804. part.TopSurface = 'SmoothNoOutlines'
  805. part.BottomSurface = 'SmoothNoOutlines'
  806. part.FrontSurface = 'SmoothNoOutlines'
  807. part.BackSurface = 'SmoothNoOutlines'
  808. part.LeftSurface = 'SmoothNoOutlines'
  809. part.RightSurface = 'SmoothNoOutlines'
  810. end
  811.  
  812. function CFrameFromTopBack(at, top, back)
  813. local right = top:Cross(back)
  814. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  815. end
  816.  
  817. function CreateTriangle(parent, a, b, c)
  818. local this = {}
  819. local mPart1 = Instance.new('WedgePart')
  820. setupPart(mPart1)
  821. local mPart2 = Instance.new('WedgePart')
  822. setupPart(mPart2)
  823. function this:Set(a, b, c) --[[ edg1 A ------|------>B --. '\ | / \ \part1|part2/ | \ cut / / Direction edges point in: edg3 \ / edg2 / (clockwise) \ / |/ \<- / ` \ / C --]]
  824. local ab, bc, ca = b-a, c-b, a-c local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  825. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  826. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  827. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  828. if edg1 < edg2 then
  829. if edg1 < edg3 then
  830. -- nothing to change
  831. else
  832. a, b, c = c, a, b
  833. ab, bc, ca = ca, ab, bc
  834. abm = cam
  835. end
  836. else
  837. if edg2 < edg3 then
  838. a, b, c = b, c, a
  839. ab, bc, ca = bc, ca, ab
  840. abm = bcm
  841. else
  842. a, b, c = c, a, b
  843. ab, bc, ca = ca, ab, bc
  844. abm = cam
  845. end
  846. end
  847.  
  848. local len1 = -ca:Dot(ab)/abm local len2 = abm - len1 local width = (ca + ab.unit*len1).magnitude
  849. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  850.  
  851. mPart1.Parent = parent
  852. mPart1.Size = Vector3.new(1,1,1)
  853. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  854. local Mesh = Instance.new("SpecialMesh",mPart1)
  855. Mesh.MeshType = "Wedge"
  856. Mesh.Scale = Vector3.new(0.005, width, len1)
  857.  
  858. mPart2.Parent = parent
  859. mPart2.Size = Vector3.new(1,1,1)
  860. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  861. local Mesh = Instance.new("SpecialMesh",mPart2)
  862. Mesh.MeshType = "Wedge"
  863. Mesh.Scale = Vector3.new(0.005, width, len2)
  864. end
  865.  
  866. function this:SetProperty(prop, value)
  867. mPart1[prop] = value
  868. mPart2[prop] = value
  869. end
  870.  
  871. function this:GetProperty(prop)
  872. return mPart1[prop]
  873. end
  874.  
  875. this:Set(a, b, c)
  876. function this:Destroy()
  877. mPart1:Destroy()
  878. mPart2:Destroy()
  879. end
  880. return this
  881. end
  882. function CreateTrail(Adornee, Axis)
  883. local Axis = Axis or "X"
  884.  
  885. local trail = {}
  886. trail.Triangles = {}
  887. trail.Adornee = Adornee
  888. trail.Axis = Axis
  889.  
  890. local L1, L2
  891.  
  892. function trail:Fade(speed)
  893. local speed = speed or 0.01
  894.  
  895. for n, v in pairs(trail.Triangles) do
  896. v:SetProperty("Transparency", v:GetProperty("Transparency") + speed)
  897. if v:GetProperty("Transparency") >= 1 then
  898. v:Destroy()
  899.  
  900. table.remove(trail.Triangles, n)
  901. end
  902. end
  903. end
  904.  
  905. function trail:Update()
  906. local adornee = trail.Adornee
  907.  
  908. local axis = trail.Axis
  909. local Size = Vector3.new((axis == "X" and adornee.Size.X or 0), (axis == "Y" and adornee.Size.Y or 0), (axis == "Z" and adornee.Size.Z or 0))
  910. local P1 = adornee.CFrame * CFrame.new(Size / 2)
  911. local P2 = adornee.CFrame * CFrame.new(Size / -2)
  912.  
  913. if L1 and L2 then
  914. table.insert(trail.Triangles, CreateTriangle(adornee, L1.p, L2.p, P1.p))
  915. table.insert(trail.Triangles, CreateTriangle(adornee, P1.p, P2.p, L2.p))
  916. end
  917.  
  918. L1, L2 = P1, P2
  919. end
  920.  
  921. return trail
  922. end
  923.  
  924.  
  925. Ssongs = {
  926. 378387996;203275374;303592872;179281636;357375770;346175829;151514610;160536628;60536666;158929777;165520893;160542922;179282324;144043274;168614529;186849544;335631255;335631297;342455387;342455399;209567483;209567529;162914123;162914203;320473062;286415112;190454307;155968128;160453802;276963903;270655227;244143404;246184492;245121821;242545577;247241693;248062278;247236446;256851659;256848383;342455399;209567483;209567529;162914123;162914203;320473062;286415112;190454307;155968128;160453802;276963903;270655227;244143404;246184492;245121821;242545577;247241693;248062278;247236446;256851659;256848383;306431437;348690251;348541501;321185592;305976780;302580452;302205297;299796054;297799220;295753229;295753229;293860654;293612495;293861765;293375555;293376196;293012202;293011823;290524959;306431437;348690251;348541501;321185592;305976780;302580452;302205297;299796054;297799220;295753229;295753229;293860654;293612495;293861765;293375555;293376196;293012202;293011823;290524959;
  927. }
  928.  
  929.  
  930. local sou = Instance.new("Sound", Hitbox)
  931. sou.Volume = 1
  932. sou.Pitch = 1
  933. sou.SoundId = "http://roblox.com/asset/?id="..Ssongs[math.random(1,#Ssongs)]
  934. sou:play()
  935.  
  936.  
  937. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  938. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  939. prt.Anchored = true
  940. prt.CFrame = cframe
  941. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  942. game:GetService("Debris"):AddItem(prt, 10)
  943. if Type == 1 or Type == nil then
  944. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  945. else
  946. if Type == 2 then
  947. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  948. end
  949. end
  950. end
  951. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  952. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  953. prt.Anchored = true
  954. prt.CFrame = cframe
  955. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  956. game:GetService("Debris"):AddItem(prt, 10)
  957. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  958. end
  959. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  960. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  961. prt.Anchored = true
  962. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  963. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  964. game:GetService("Debris"):AddItem(prt, 10)
  965. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  966. end
  967. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  968. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  969. prt.Anchored = true
  970. prt.CFrame = cframe
  971. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  972. game:GetService("Debris"):AddItem(prt, 10)
  973. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  974. end
  975. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  976. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  977. prt.Anchored = true
  978. prt.CFrame = cframe
  979. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  980. game:GetService("Debris"):AddItem(prt, 10)
  981. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  982. end
  983. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  984. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  985. prt.Anchored = true
  986. prt.CFrame = cframe
  987. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  988. game:GetService("Debris"):AddItem(prt, 10)
  989. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  990. end
  991. DragonEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  992. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  993. prt.Anchored = true
  994. prt.CFrame = cframe
  995. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://420077883", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  996. game:GetService("Debris"):AddItem(prt, 10)
  997. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  998. end
  999. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  1000. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1001. prt.Anchored = true
  1002. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1003. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1004. local num = math.random(10, 50) / 1000
  1005. game:GetService("Debris"):AddItem(prt, 10)
  1006. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  1007. end
  1008.  
  1009.  
  1010.  
  1011. Hate = function()
  1012. attack = true
  1013. local count = 1
  1014. local barra = false
  1015. local keafy = false
  1016. dd = math.random(-50, 50)
  1017. dd2 = math.random(-50, 50)
  1018. dd3 = math.random(-50, 50)
  1019. if count == 1 then
  1020. MagniDamage(RootPart, 17, 6, 10, 0, "Normal")
  1021. CreateSound("http://roblox.com/asset/?id=63719813", Hitbox, 1, 0.6)
  1022. coroutine.resume(coroutine.create(function()
  1023. for i = 0, 360, 10 do
  1024. swait()
  1025. SphereEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1026. CylinderEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1027. RingEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1028. SpecialEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1029. end
  1030. end))
  1031. else
  1032. if count == 2 then
  1033. MagniDamage(RootPart, 17, 5, 15, 0, "Normal")
  1034. CreateSound("http://roblox.com/asset/?id=63719813", Hitbox, 1, 0.5)
  1035. coroutine.resume(coroutine.create(function()
  1036. for i = 0, 360, 10 do
  1037. swait()
  1038. SphereEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1039. CylinderEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1040. RingEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1041. SpecialEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1042. end
  1043. end))
  1044. coroutine.resume(coroutine.create(function()
  1045. for i = 0, 360, 10 do
  1046. swait()
  1047. SphereEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1048. CylinderEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1049. RingEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1050. SpecialEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1051. end
  1052. end))
  1053. else
  1054. if count == 3 then
  1055. CreateSound("http://roblox.com/asset/?id=63719813", Hitbox, 1, 0.2)
  1056. MagniDamage(RootPart, 17, 4, 20, 0, "Normal")
  1057. coroutine.resume(coroutine.create(function()
  1058. for i = 0, 360, 10 do
  1059. swait()
  1060. SphereEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1061. CylinderEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1062. RingEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1063. SpecialEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1064. end
  1065. end))
  1066. coroutine.resume(coroutine.create(function()
  1067. for i = 0, 360, 10 do
  1068. swait()
  1069. SphereEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1070. CylinderEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1071. RingEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1072. SpecialEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1073. end
  1074. end))
  1075. coroutine.resume(coroutine.create(function()
  1076. for i = 0, 360, 10 do
  1077. swait()
  1078. SphereEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1079. CylinderEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1080. RingEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1081. SpecialEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1082. end
  1083. end))
  1084. end
  1085. end
  1086. end
  1087. count = 1
  1088. wait(2)
  1089. keafy = false
  1090. attack = false
  1091. end
  1092.  
  1093.  
  1094.  
  1095.  
  1096. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1097. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1098. prt.Anchored = true
  1099. prt.CFrame = cframe
  1100. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1101. game:GetService("Debris"):AddItem(prt, 10)
  1102. if Type == 1 or Type == nil then
  1103. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  1104. else
  1105. if Type == 2 then
  1106. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  1107. end
  1108. end
  1109. end
  1110.  
  1111. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1112. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1113. prt.Anchored = true
  1114. prt.CFrame = cframe
  1115. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1116. game:GetService("Debris"):AddItem(prt, 10)
  1117. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1118. end
  1119.  
  1120. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1121. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1122. prt.Anchored = true
  1123. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  1124. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1125. game:GetService("Debris"):AddItem(prt, 10)
  1126. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1127. end
  1128.  
  1129. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1130. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1131. prt.Anchored = true
  1132. prt.CFrame = cframe
  1133. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1134. game:GetService("Debris"):AddItem(prt, 10)
  1135. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1136. end
  1137.  
  1138. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1139. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1140. prt.Anchored = true
  1141. prt.CFrame = cframe
  1142. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1143. game:GetService("Debris"):AddItem(prt, 10)
  1144. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1145. end
  1146.  
  1147. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1148. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1149. prt.Anchored = true
  1150. prt.CFrame = cframe
  1151. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1152. game:GetService("Debris"):AddItem(prt, 10)
  1153. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1154. end
  1155.  
  1156. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  1157. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1158. prt.Anchored = true
  1159. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1160. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1161. local num = math.random(10, 50) / 1000
  1162. game:GetService("Debris"):AddItem(prt, 10)
  1163. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  1164. end
  1165.  
  1166. attackone = function()
  1167. attack = true
  1168. Humanoid.WalkSpeed = 0
  1169. local con = Hitbox.Touched:connect(function(hit)
  1170. Damagefunc(Hitbox, hit, 1, 3, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1171. end
  1172. )
  1173. for i = 0, 1, 0.13 do
  1174. swait()
  1175. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.3)
  1176. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  1177. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(100), math.rad(5)), 0.3)
  1178. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(-140), math.rad(-75)), 0.3)
  1179. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-50)), 0.3)
  1180. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(20)), 0.3)
  1181. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-30), math.rad(100), math.rad(0)), 0.3)
  1182. end
  1183. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.8)
  1184. for i = 0, 1, 0.1 do
  1185. swait()
  1186. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.5)
  1187. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(15), math.rad(0), math.rad(0)), 0.5)
  1188. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.3) * angles(math.rad(30), math.rad(100), math.rad(-20)), 0.5)
  1189. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.5)
  1190. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(-10)), 0.5)
  1191. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 0.5)
  1192. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(100), math.rad(3)), 0.5)
  1193. end
  1194. con:disconnect()
  1195. Humanoid.WalkSpeed = 15
  1196. attack = false
  1197. end
  1198.  
  1199.  
  1200. attacktwo = function()
  1201. attack = true
  1202. local con = Hitbox.Touched:connect(function(hit)
  1203. Damagefunc(Hitbox, hit, 1, 5, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1204. end
  1205. )
  1206. Humanoid.WalkSpeed = 5
  1207. for i = 0, 1, 0.13 do
  1208. swait()
  1209. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1210. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1211. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, 0) * angles(math.rad(-90), math.rad(60), math.rad(90)), 0.3)
  1212. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1213. RH.C0 = clerp(RH.C0, cn(1, -0.5, 0) * RHCF * angles(math.rad(-3), math.rad(-30), math.rad(0)), 0.3)
  1214. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(50)), 0.3)
  1215. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3)
  1216. end
  1217. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.9)
  1218. for i = 0, 1, 0.1 do
  1219. swait()
  1220. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.25) * angles(math.rad(10), math.rad(0), math.rad(-60)), 0.3)
  1221. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(60)), 0.3)
  1222. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, 0.1) * angles(math.rad(-90), math.rad(-20), math.rad(90)), 0.3)
  1223. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.3)
  1224. RH.C0 = clerp(RH.C0, cn(1, -0.9, 0) * RHCF * angles(math.rad(-3), math.rad(40), math.rad(-10)), 0.3)
  1225. LH.C0 = clerp(LH.C0, cn(-1, -0.7, 0) * LHCF * angles(math.rad(-2), math.rad(30), math.rad(-10)), 0.3)
  1226. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(-10)), 0.3)
  1227. end
  1228. con:disconnect()
  1229. Humanoid.WalkSpeed = 15
  1230. attack = false
  1231. end
  1232.  
  1233. attackthree = function()
  1234. attack = true
  1235. local con = Hitbox.Touched:connect(function(hit)
  1236. Damagefunc(Hitbox, hit, 1, 10, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1237. end
  1238. )
  1239. Humanoid.WalkSpeed = 5
  1240. for i = 0, 1, 0.13 do
  1241. swait()
  1242. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1243. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1244. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(-140), math.rad(-90)), 0.3)
  1245. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1246. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1247. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1248. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3)
  1249. end
  1250. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 1)
  1251. for i = 0, 1, 0.13 do
  1252. swait()
  1253. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1254. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1255. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(-90)), 0.3)
  1256. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1257. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1258. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1259. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(10)), 0.3)
  1260. end
  1261. con:disconnect()
  1262. Humanoid.WalkSpeed = 15
  1263. attack = false
  1264. end
  1265.  
  1266.  
  1267. local attackready = false
  1268. finale = function()
  1269. attack = true
  1270. attackready = true
  1271. Humanoid.WalkSpeed = 0
  1272. for i = 0, 1, 0.13 do
  1273. swait()
  1274. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.3)
  1275. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  1276. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(-10), math.rad(5)), 0.3)
  1277. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(-140), math.rad(-75)), 0.3)
  1278. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-50)), 0.3)
  1279. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(20)), 0.3)
  1280. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1281. end
  1282. ref = CreatePart(workspace, "SmoothPlastic", 0, 0, BrickColor.new("Really black"), "ref", Vector3.new())
  1283. ref.Anchored = true
  1284. ref.CanCollide = false
  1285. ref.CFrame = LeftArm.CFrame * CFrame.new(0, -0.5, 0)
  1286. coroutine.resume(coroutine.create(function()
  1287. for i = 0, 5, 0.1 do
  1288. swait()
  1289. ref.CFrame = LeftArm.CFrame * CFrame.new(0, -0.5 - 5 * i, 0)
  1290. end
  1291. end
  1292. ))
  1293. coroutine.resume(coroutine.create(function()
  1294. while attackready do
  1295. wait(0.15)
  1296. BlockEffect(BrickColor.new("Really black"), ref.CFrame, 50, 50, 50, -0.5, -0.5, -0.5, 0.07, 1)
  1297. SphereEffect(BrickColor.new("Really black"), ref.CFrame, 50, 50, 50, -0.5, -0.5, -0.5, 0.07)
  1298. end
  1299. end
  1300. ))
  1301. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.8)
  1302. for i = 0, 2, 0.05 do
  1303. swait()
  1304. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(-20), math.rad(0), math.rad(-90)), 0.3)
  1305. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1306. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(-10), math.rad(5)), 0.3)
  1307. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-95)), 0.3)
  1308. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-20)), 0.3)
  1309. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(-20)), 0.3)
  1310. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1311. end
  1312. for i = 0, 2, 0.05 do
  1313. swait()
  1314. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(-20), math.rad(0), math.rad(-90)), 0.3)
  1315. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1316. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(-10), math.rad(5)), 0.3)
  1317. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-95)), 0.3)
  1318. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-20)), 0.3)
  1319. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(-20)), 0.3)
  1320. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1321. end
  1322. for i = 0, 1, 0.1 do
  1323. swait()
  1324. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1325. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1326. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(-10), math.rad(5)), 0.3)
  1327. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.3)
  1328. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-20)), 0.3)
  1329. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(0)), 0.3)
  1330. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1331. end
  1332. ref.CFrame = RootPart.CFrame * CFrame.new(0, -0.5, -25)
  1333. MagniDamage(ref, 100, 1, 40, 10, "Knockdown")
  1334. BlockEffect(BrickColor.new("Really black"), ref.CFrame, 150, 150, 150, 15, 15, 15, 0.07, 1)
  1335. SphereEffect(BrickColor.new("Really black"), ref.CFrame, 150, 150, 150, 51, 51, 51, 0.07)
  1336. SphereEffect(BrickColor.new("Really black"), ref.CFrame, 20, 100, 20, 10, 100, 10, 0.07)
  1337. for i = 0, 1, 0.1 do
  1338. swait()
  1339. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1340. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1341. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(-10), math.rad(5)), 0.3)
  1342. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.3)
  1343. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-20)), 0.3)
  1344. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(0)), 0.3)
  1345. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1346. end
  1347. ref.Parent = nil
  1348. Humanoid.WalkSpeed = 15
  1349. attack = false
  1350. attackready = false
  1351. end
  1352.  
  1353.  
  1354.  
  1355. Slashy = function()
  1356. attack = true
  1357. Humanoid.WalkSpeed = 0
  1358.  
  1359. local con = Hitbox.Touched:connect(function(hit)
  1360. Damagefunc(Hitbox, hit, 1, 10, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1361. hit.Velocity = Vector3.new(0,100, 0)
  1362. end
  1363. )
  1364. for i = 0, 1, 0.05 do
  1365. swait()
  1366. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
  1367. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1368. RW.C0 = clerp(RW.C0, CFrame.new(1, .5, -.7) * angles(math.rad(40), math.rad(80), math.rad(-50)), .3)
  1369. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(10)), .3)
  1370. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-10)), .3)
  1371. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(50)), .3)
  1372. MagniDamage(RootPart, 10, 10, 10, 10, "Normal")
  1373. end
  1374. wait(1)
  1375. con:disconnect()
  1376. attack = false
  1377. end
  1378.  
  1379.  
  1380. function DIVIDE()
  1381. attack = true
  1382. Character.Humanoid.Jump = true
  1383. Torso.Velocity = Vector3.new(0,100, 0)
  1384. for i = 0, 1, 0.05 do
  1385. swait()
  1386. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.5) * angles(6 * i, math.rad(0), math.rad(0)), .2)
  1387. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(90)), .3)
  1388. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 1, .7) * angles(math.rad(180), math.rad(80), math.rad(-80)), .3)
  1389. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(-20)), .3)
  1390. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(20)), .3)
  1391. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(-10), math.rad(10), math.rad(50)), .3)
  1392. end
  1393. for i = 0, 1, 0.017 do
  1394. swait()
  1395. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.5) * angles(math.rad(50), math.rad(0), math.rad(0)), .2)
  1396. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1397. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 1, -1) * angles(math.rad(180), math.rad(80), math.rad(-80)), .3)
  1398. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(-50)), .2)
  1399. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(50)), .2)
  1400. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(-10), math.rad(10), math.rad(50)), .3)
  1401. end
  1402. for i = 0, 1, 0.05 do
  1403. swait()
  1404. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
  1405. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1406. RW.C0 = clerp(RW.C0, CFrame.new(1, .5, -.7) * angles(math.rad(40), math.rad(80), math.rad(-50)), .3)
  1407. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(10)), .3)
  1408. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-10)), .3)
  1409. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(50)), .3)
  1410. MagniDamage(RootPart, 10, 10, 10, 1e9, "Normal")
  1411. end
  1412. attack = false
  1413. end
  1414.  
  1415.  
  1416.  
  1417. spinattack = function()
  1418. attack = true
  1419. Humanoid.WalkSpeed = 5
  1420. for i = 0, 1, 0.13 do
  1421. swait()
  1422. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1423. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1424. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, 0) * angles(math.rad(0), math.rad(60), math.rad(90)), 0.3)
  1425. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-30)), 0.3)
  1426. RH.C0 = clerp(RH.C0, cn(1, -0.5, 0) * RHCF * angles(math.rad(-3), math.rad(-30), math.rad(0)), 0.3)
  1427. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(50)), 0.3)
  1428. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3)
  1429. end
  1430. for i = 0, 3 do
  1431. swait()
  1432. MagniDamage(RootPart, 15, 1, 15, 0, "Normal")
  1433. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.9)
  1434. for i = 0, 1, 0.1 do
  1435. swait()
  1436. Torso.Velocity = RootPart.CFrame.lookVector * 75
  1437. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.25) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3)
  1438. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(60)), 0.3)
  1439. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, 0.1) * angles(math.rad(100), math.rad(20), math.rad(90)), 0.3)
  1440. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.3)
  1441. RH.C0 = clerp(RH.C0, cn(1, -0.9, 0) * RHCF * angles(math.rad(-3), math.rad(40), math.rad(-10)), 0.3)
  1442. LH.C0 = clerp(LH.C0, cn(-1, -0.7, 0) * LHCF * angles(math.rad(-2), math.rad(30), math.rad(-10)), 0.3)
  1443. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(-10)), 0.3)
  1444. end
  1445. end
  1446. Humanoid.WalkSpeed = 15
  1447. attack = false
  1448. end
  1449.  
  1450.  
  1451.  
  1452. Naildrive = function()
  1453. attack = true
  1454. Humanoid.WalkSpeed = 5
  1455. local con = Hitbox.Touched:connect(function(hit)
  1456. Damagefunc(Hitbox, hit, 5, 58, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1457. end
  1458. )
  1459. for i = 0, 1, 0.1 do
  1460. swait()
  1461. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.4)
  1462. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(90)), 0.4)
  1463. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(100), math.rad(-140), math.rad(-90)), 0.3)
  1464. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1465. RH.C0 = clerp(RH.C0, cn(1, -1, -0.5) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1466. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(20)), 0.3)
  1467. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(160), math.rad(0), math.rad(10)), 0.3)
  1468. end
  1469. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 1)
  1470. for i = 0, 1, 0.1 do
  1471. Torso.Velocity = RootPart.CFrame.lookVector * 50
  1472. swait()
  1473. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(90)), 0.3)
  1474. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-90)), 0.3)
  1475. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(100), math.rad(200), math.rad(-90)), 0.3)
  1476. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1477. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1478. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.5) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(-10)), 0.3)
  1479. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(260), math.rad(0), math.rad(0)), 0.3)
  1480. end
  1481. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.8)
  1482. for i = 0, 1, 0.08 do
  1483. swait()
  1484. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1485. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(10), math.rad(70)), 0.3)
  1486. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(110), math.rad(250), math.rad(-90)), 0.3)
  1487. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
  1488. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1489. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(-10)), 0.3)
  1490. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(400), math.rad(0), math.rad(0)), 0.3)
  1491. end
  1492. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 1.2)
  1493. for i = 0, 1, 0.1 do
  1494. swait()
  1495. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  1496. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  1497. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(300), math.rad(-90)), 0.3)
  1498. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(0), math.rad(-200), math.rad(-90)), 0.3)
  1499. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1500. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(-10)), 0.3)
  1501. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(260), math.rad(0), math.rad(0)), 0.3)
  1502. end
  1503. con:disconnect()
  1504. Humanoid.WalkSpeed = 15
  1505. attack = false
  1506. end
  1507.  
  1508. ob1u = function()
  1509. end
  1510.  
  1511.  
  1512.  
  1513.  
  1514. Laz0r = function(col23)
  1515. attack = true
  1516. local sine = 0
  1517. local change = 1
  1518. sine = sine + change
  1519. Character.Humanoid.WalkSpeed = 0
  1520. la = Instance.new("Part",Character)
  1521. la.FormFactor = 3
  1522. la.TopSurface = 0
  1523. la.Transparency = 0.8
  1524. la.BottomSurface = 0
  1525. la.Material = "Neon"
  1526. la.Size = Vector3.new(0.3,0.3,0.3)
  1527. la.BrickColor = BrickColor.new(tostring(col23))
  1528. lam = Instance.new("SpecialMesh",la)
  1529. lam.MeshType = "Sphere"
  1530. lam.Scale = Vector3.new(1,1,1)
  1531. law = Instance.new("Weld",la)
  1532. law.Part0 = la
  1533. law.Part1 = Handle
  1534. la1 = Instance.new("Part",Character)
  1535. la1.FormFactor = 3
  1536. la1.TopSurface = 0
  1537. la1.Transparency = 0
  1538. la1.BottomSurface = 0
  1539. la1.Material = "Neon"
  1540. la1.Size = Vector3.new(0.1,0.1,0.1)
  1541. la1.BrickColor = BrickColor.new(tostring(col23))
  1542. lam1 = Instance.new("SpecialMesh",la1)
  1543. lam1.MeshType = "Sphere"
  1544. lam1.Scale = Vector3.new(1,1,1)
  1545. law1 = Instance.new("Weld",la1)
  1546. law1.Part0 = la1
  1547. law1.Part1 = Handle
  1548. s1 = Instance.new("Sound",Handle)
  1549. s1.SoundId = "rbxassetid://181004943"
  1550. s1.Volume = .7
  1551. s1.Pitch = .9
  1552. s1:Play()
  1553. for i = 1,6,0.15 do wait()
  1554. lam.Scale = Vector3.new(i,i,i)
  1555. lam1.Scale = Vector3.new(i,i,i)
  1556. end
  1557. wait(0.1)
  1558. wait(0.4)
  1559. s = Instance.new("Sound",Handle)
  1560. s.SoundId = "rbxassetid://228343271"
  1561. s.Volume = .7
  1562. s.Pitch = 1
  1563. s:Play()
  1564. rng = Instance.new("Part",Character)
  1565. rng.FormFactor = 3
  1566. rng.TopSurface = 0
  1567. rng.BottomSurface = 0
  1568. rng.Transparency = 0.8
  1569. rng.BrickColor = BrickColor.new(tostring(col23))
  1570. rng.Size = Vector3.new(0.1,0.1,0.1)
  1571. rng.Material = "Neon"
  1572. rngm = Instance.new("SpecialMesh",rng)
  1573. rngm.MeshType = "FileMesh"
  1574. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1575. rngm.Scale = Vector3.new(1,1,1)
  1576. rngw = Instance.new("Weld",rng)
  1577. rngw.Part0 = rng
  1578. rngw.Part1 = Handle
  1579. rngw.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.pi/2,0,0)
  1580. la2 = Instance.new("Part",Character)
  1581. la2.FormFactor = 3
  1582. la2.TopSurface = 0
  1583. la2.Transparency = 0
  1584. la2.BottomSurface = 0
  1585. la2.Material = "Neon"
  1586. la2.Size = Vector3.new(0.1,0.1,0.1)
  1587. la2.BrickColor = BrickColor.new(tostring(col23))
  1588. lam2 = Instance.new("SpecialMesh",la2)
  1589. lam2.MeshType = "Sphere"
  1590. lam2.Scale = Vector3.new(1,1,1)
  1591. law2 = Instance.new("Weld",la2)
  1592. law2.Part0 = la2
  1593. law2.Part1 = la1
  1594. local Beam1 = la2:Clone()
  1595. Beam1.Parent = Character
  1596. local Mesh = Instance.new("CylinderMesh",Beam1)
  1597. Beam1.Size = Vector3.new(1,1,1)
  1598. Beam1.Anchored = true
  1599. Beam1.CanCollide = false
  1600. local Beam2 = Beam1:Clone()
  1601. Beam2.Parent = Character
  1602. Beam2.Transparency = .8
  1603. Beam2.BrickColor = BrickColor.new(tostring(col23))
  1604. local Mesh2 = Instance.new("CylinderMesh",Beam2)
  1605. for i = 1,17,0.3 do wait()
  1606. lam2.Scale = Vector3.new(0,0,i)
  1607. rngm.Scale = Vector3.new(i/4,i/4,1)
  1608. local Ray = Ray.new(la2.CFrame.p,(la2.CFrame.p-(la2.CFrame*CFrame.new(0,-10,0)).p).unit*900)
  1609. local hit,pos = workspace:FindPartOnRay(Ray,Character)
  1610. local Mag = (pos - la2.CFrame.p).magnitude
  1611. Beam1.CFrame = la2.CFrame * CFrame.new(0,Mag/2,0)
  1612. Mesh.Scale = Vector3.new(.7,Mag,.7)
  1613. Beam2.CFrame = Beam1.CFrame
  1614. Mesh2.Scale = Vector3.new(1.2,Mag,1.2)
  1615. if hit then
  1616. dmg2 = 6
  1617. if hit.Parent:FindFirstChild("Humanoid")
  1618. then hit.Parent:FindFirstChild("Humanoid"):TakeDamage(dmg2)
  1619. if hit.Parent.Parent:FindFirstChild("Humanoid")
  1620. then hit.Parent.Parent:FindFirstChild("Humanoid"):TakeDamage(dmg2)
  1621. if dmg2 > 6 then dmg2 = 6
  1622. end
  1623. end
  1624. end
  1625. end
  1626. end
  1627.  
  1628. cn,ca,bc,v3,r = CFrame.new,CFrame.Angles,BrickColor.new,Vector3.new,function(a)return (math.random()-.5)*2*(a or 1) end
  1629. deg,nf,c3,ins,ma,pi,mr = math.deg,math.floor,Color3.new,Instance.new,math.abs,math.pi,math.rad
  1630. local part = function(prnt,cfr,siz,col,anc,canc,tra,mat,typ)
  1631. local p = ins(typ or "Part")
  1632. p.FormFactor = "Custom"
  1633. p.Material = mat
  1634. p.Transparency = tra
  1635. p.CanCollide = canc
  1636. p.Anchored = anc
  1637. p.BrickColor = bc(col)
  1638. p.Size = siz
  1639. p.CFrame = cfr
  1640. p.Parent = prnt
  1641. p.Locked = true
  1642. p.TopSurface,p.BottomSurface = 0,0
  1643. p:BreakJoints()
  1644. return p
  1645. end
  1646. local mesh = function(typ,prnt,scal,mtyp,mid,mtx)
  1647. local m = ins(typ or "SpecialMesh")
  1648. if mtyp then m.MeshType = mtyp end
  1649. if mid then m.MeshId = mid end
  1650. if mtx then m.TextureId = mtx end
  1651. if scal then m.Scale = scal end
  1652. m.Parent = prnt
  1653. return m
  1654. end
  1655. function cylinderOpen(cf)
  1656. local p = part(Character,cf,v3(0,1000,0),tostring(col23),true,false,.1,"Neon")
  1657. local pm = mesh("CylinderMesh",p)
  1658. local p2 = part(Character,cf,v3(0,1000,0),tostring(col23),true,false,.1,"Neon")
  1659. local p2m = mesh("CylinderMesh",p2)
  1660. Spawn(function()
  1661. for i=.1,1.1,.0125 do
  1662. p.Transparency = i
  1663. p2.Transparency = i
  1664. pm.Scale = pm.Scale + v3(.8,0,.8)
  1665. p2m.Scale = p2m.Scale + v3(.5,0,.5)
  1666. wait()
  1667. end
  1668. p:Destroy()
  1669. p2:Destroy()
  1670. end)
  1671. end
  1672.  
  1673.  
  1674. for _,v in pairs(m:children()) do
  1675. if v:IsA("Part") or v:IsA("WedgePart") then
  1676. v.BrickColor = BrickColor.new(tostring(col23))
  1677. SpecialEffect(BrickColor.new(tostring(col23)), v.CFrame, .3, 1, .3, 1, .3, .3, 0.07)
  1678. SpecialEffect(BrickColor.new(tostring(col23)), v.CFrame, .3, math.cos((sine) / 1), .3, math.cos((sine) / 1), .3, .3, 1)
  1679. end
  1680. end
  1681.  
  1682. for _,v in pairs(m:children()) do
  1683. if v:IsA("Part") or v:IsA("WedgePart") then
  1684. v.Material = "Neon"
  1685. SpecialEffect(BrickColor.new(tostring(col23)), v.CFrame, .3, 1, .3, 1, .3, .3, 0.07)
  1686. SphereEffect(BrickColor.new(tostring(col23)), v.CFrame, .3, math.cos((sine) / 1), .3, math.cos((sine) / 1), .3, .3, 1)
  1687. end
  1688. end
  1689. SphereEffect(BrickColor.new(tostring(col23)), RootPart.CFrame, 4, 4, 4, 4, 4, 4, 3)
  1690. cylinderOpen(Handle.CFrame)
  1691.  
  1692. SpecialEffect(BrickColor.new(tostring(col23)), RootPart.CFrame, .3, 1, .3, 1, .3, .3, 0.07)
  1693. SpecialEffect(BrickColor.new(tostring(col23)), RootPart.CFrame, .3, math.cos((sine) / 1), .3, math.cos((sine) / 1), .3, .3, 1)
  1694. SpecialEffect(BrickColor.new(tostring(col23)), RootPart.CFrame, .3, 1, .3, 1, .3, .3, 0.07)
  1695. SpecialEffect(BrickColor.new(tostring(col23)), RootPart.CFrame, .3, math.cos((sine) / 1), .3, math.cos((sine) / 1), .3, .3, 1)
  1696.  
  1697.  
  1698.  
  1699. for i = 4,1,-0.1 do wait()
  1700. lam.Scale = Vector3.new(i+2,i+2,i+2)
  1701. lam1.Scale = Vector3.new(i+2,i+2,i+2)
  1702. lam2.Scale = Vector3.new(i,i,i)
  1703. rng.Transparency = rng.Transparency + i/10
  1704. local Ray = Ray.new(la2.CFrame.p,(la2.CFrame.p-(la2.CFrame*CFrame.new(0,-10,0)).p).unit*900)
  1705. local hit,pos = workspace:FindPartOnRay(Ray,Character)
  1706. local Mag = (pos - la2.CFrame.p).magnitude
  1707. Beam1.CFrame = la2.CFrame * CFrame.new(0,Mag/2,0)
  1708. Beam2.CFrame = Beam1.CFrame
  1709. Mesh.Scale = Vector3.new(.7/4*i,Mag,.7/4*i)
  1710. Mesh2.Scale = Vector3.new(1.2/4*i,Mag,1.2/4*i)
  1711. if hit then
  1712. dmg = 6
  1713. if hit.Parent:FindFirstChild("Humanoid")
  1714. then hit.Parent:FindFirstChild("Humanoid"):TakeDamage(dmg)
  1715. if hit.Parent.Parent:FindFirstChild("Humanoid")
  1716. then hit.Parent.Parent:FindFirstChild("Humanoid"):TakeDamage(dmg)
  1717. if dmg > 6 then dmg = 6
  1718. end
  1719. end
  1720. end
  1721. end
  1722. end
  1723. rng:Remove()
  1724. la:Remove()
  1725. la1:Remove()
  1726. la2:Remove()
  1727. Beam1:Remove()
  1728. Beam2:Remove()
  1729. wait(0.5)
  1730. Character.Humanoid.WalkSpeed = 16
  1731. attack = false
  1732. end
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738. ob1d = function()
  1739. if attack == false and attacktype == 1 then
  1740. attacktype = 2
  1741. attackone()
  1742. else
  1743. if attack == false and attacktype == 2 then
  1744. attacktype = 3
  1745. attacktwo()
  1746. else
  1747. if attack == false and attacktype == 3 then
  1748. attacktype = 1
  1749. attackthree()
  1750. end
  1751. end
  1752. end
  1753. end
  1754.  
  1755. key = function(k)
  1756. k = k:lower()
  1757. if attack == false and k == "z" and co1 <= cooldown1 then
  1758. cooldown1 = 0
  1759. Hate()
  1760. wait(.3)
  1761. DIVIDE()
  1762. else
  1763. if attack == false and k == "x" and co2 <= cooldown2 then
  1764. cooldown2 = cooldown2 / 2
  1765. Slashy()
  1766. else
  1767. if attack == false and k == "c" and co3 <= cooldown3 then
  1768. cooldown3 = 0
  1769. spinattack()
  1770. else
  1771. if attack == false and k == "v" and co4 <= cooldown4 then
  1772. cooldown4 = 0
  1773. Laz0r("Really red")
  1774. dmgMultipyer = 16
  1775. wait(20)
  1776. Laz0r("Really black")
  1777. dmgMultipyer = 3
  1778. end
  1779. end
  1780. end
  1781. end
  1782. end
  1783.  
  1784. ds = function(mouse)
  1785. end
  1786.  
  1787. s = function(mouse)
  1788. print("Selected")
  1789. mouse.Button1Down:connect(function()
  1790. ob1d(mouse)
  1791. end
  1792. )
  1793. mouse.Button1Up:connect(function()
  1794. ob1u(mouse)
  1795. end
  1796. )
  1797. mouse.KeyDown:connect(key)
  1798. end
  1799.  
  1800. s(mouse)
  1801.  
  1802.  
  1803.  
  1804. local walk = 0
  1805. local walkforw = false
  1806. updateskills = function()
  1807. if cooldown1 <= co1 then
  1808. cooldown1 = cooldown1 + 0.033333333333333
  1809. end
  1810. if cooldown2 <= co2 then
  1811. cooldown2 = cooldown2 + 0.033333333333333
  1812. end
  1813. if cooldown3 <= co3 then
  1814. cooldown3 = cooldown3 + 0.033333333333333
  1815. end
  1816. if cooldown4 <= co4 then
  1817. cooldown4 = cooldown4 + 0.033333333333333
  1818. end
  1819. end
  1820.  
  1821. TrailThingy = CreateTrail(Blade111,"Y")
  1822. TrailThingy1 = CreateTrail(Blade,"Y")
  1823. TrailThingy2 = CreateTrail(Blade1,"Y")
  1824.  
  1825. --[[TrailThingy3 = CreateTrail(RightArm,"Y")
  1826. TrailThingy4 = CreateTrail(RightLeg,"Y")
  1827. TrailThingy5 = CreateTrail(LeftArm,"Y")
  1828. TrailThingy6 = CreateTrail(LeftLeg,"Y")]]
  1829.  
  1830. while 1 do
  1831. swait()
  1832. TrailThingy:Update()
  1833. TrailThingy:Fade(0.05)
  1834.  
  1835. TrailThingy1:Update()
  1836. TrailThingy1:Fade(0.05)
  1837.  
  1838. TrailThingy2:Update()
  1839. TrailThingy2:Fade(0.05)
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845. --[[TrailThingy3:Update()
  1846. TrailThingy3:Fade(0.08)
  1847.  
  1848. TrailThingy4:Update()
  1849. TrailThingy4:Fade(0.08)
  1850.  
  1851. TrailThingy5:Update()
  1852. TrailThingy5:Fade(0.08)
  1853.  
  1854. TrailThingy6:Update()
  1855. TrailThingy6:Fade(0.08)]]
  1856.  
  1857. updateskills()
  1858. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1859. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1860. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1861. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1862. for i,v in pairs(Character:GetChildren()) do
  1863. if v:IsA("Part") then
  1864. v.Material = "SmoothPlastic"
  1865. else
  1866. if v:IsA("Hat") then
  1867. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1868. end
  1869. end
  1870. end
  1871. walk = walk + 1.2
  1872. if 15 - 5 * (Humanoid.WalkSpeed / 16) <= walk then
  1873. walk = 0
  1874. if walkforw == true then
  1875. walkforw = false
  1876. else
  1877. if walkforw == false then
  1878. walkforw = true
  1879. end
  1880. end
  1881. end
  1882. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1883. velocity = RootPart.Velocity.y
  1884. sine = sine + change
  1885. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1886. if equipped == true or equipped == false then
  1887. if 1 < RootPart.Velocity.y and hit == nil then
  1888. Anim = "Jump"
  1889. if attack == false then
  1890. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1891. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1892. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, 0) * angles(math.rad(-130), math.rad(115), math.rad(205)), 0.3)
  1893. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1894. RH.C0 = clerp(RH.C0, cn(1, -0.5, -0.4) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(-30)), 0.3)
  1895. LH.C0 = clerp(LH.C0, cn(-1, -0.8, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(20)), 0.3)
  1896. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1897. end
  1898. else
  1899. if RootPart.Velocity.y < -1 and hit == nil then
  1900. Anim = "Fall"
  1901. if attack == false then
  1902. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1903. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1904. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, 0) * angles(math.rad(130), math.rad(120), math.rad(205)), 0.3)
  1905. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-60)), 0.3)
  1906. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(30)), 0.3)
  1907. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.3) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-20)), 0.3)
  1908. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1909. end
  1910. else
  1911. if (math.abs(Torsovelocity.x) + math.abs(Torsovelocity.z)) < 1 and hit ~= nil then
  1912. Anim = "Idle"
  1913. if attack == false then
  1914. change = 1
  1915. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  1916. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
  1917. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, 0) * angles(math.rad(100), math.rad(110 - 3 * math.cos((sine) / 23)), math.rad(205 + 3 * math.cos((sine) / 23))), 0.3)
  1918. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
  1919. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
  1920. LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
  1921. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1922. end
  1923. else
  1924. if 2 < (math.abs(Torsovelocity.x) + math.abs(Torsovelocity.z)) and hit ~= nil then
  1925. Anim = "Walk"
  1926. if attack == false then
  1927. change = 2
  1928. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2 * math.cos((sine) / 7))), 0.3)
  1929. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 + 3 * math.cos((sine) / 23)), math.rad(0), math.rad(-2 * math.cos((sine) / 7))), 0.3)
  1930. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, 0) * angles(math.rad(100), math.rad(110), math.rad(-200)), 0.3)
  1931. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30 * math.cos((sine) / 10)), math.rad(0), math.rad(-5)), 0.3)
  1932. RH.C0 = clerp(RH.C0, cn(1, -1 - 0.3 * math.cos((sine) / 8) / 2, -0.03 + math.sin((sine) / 8) / 2) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10) - math.sin((sine) / 8)), 0.3)
  1933. LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.3 * math.cos((sine) / 8) / 2, -0.03 - math.sin((sine) / 8) / 2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10) - math.sin((sine) / 8)), 0.3)
  1934. Handleweld.C0 = clerp(Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1935. end
  1936. end
  1937. end
  1938. end
  1939. end
  1940. end
  1941. if 0 < #Effects then
  1942. for e = 1, #Effects do
  1943. if Effects[e] ~= nil then
  1944. local Thing = Effects[e]
  1945. if Thing ~= nil then
  1946. local Part = Thing[1]
  1947. local Mode = Thing[2]
  1948. local Delay = Thing[3]
  1949. local IncX = Thing[4]
  1950. local IncY = Thing[5]
  1951. local IncZ = Thing[6]
  1952. if Thing[1].Transparency <= 1 then
  1953. if Thing[2] == "Block1" then
  1954. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1955. Mesh = Thing[1].Mesh
  1956. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1957. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1958. else
  1959. if Thing[2] == "Block2" then
  1960. Thing[1].CFrame = Thing[1].CFrame
  1961. Mesh = Thing[7]
  1962. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1963. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1964. else
  1965. if Thing[2] == "Cylinder" then
  1966. Mesh = Thing[1].Mesh
  1967. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1968. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1969. else
  1970. if Thing[2] == "Blood" then
  1971. Mesh = Thing[7]
  1972. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1973. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1974. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1975. else
  1976. if Thing[2] == "Elec" then
  1977. Mesh = Thing[1].Mesh
  1978. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1979. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1980. else
  1981. if Thing[2] == "Disappear" then
  1982. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1983. else
  1984. if Thing[2] == "Shatter" then
  1985. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1986. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1987. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1988. Thing[6] = Thing[6] + Thing[5]
  1989. end
  1990. end
  1991. end
  1992. end
  1993. end
  1994. end
  1995. end
  1996. else
  1997. Part.Parent = nil
  1998. table.remove(Effects, e)
  1999. end
  2000. end
  2001. end
  2002. end
  2003. end
  2004. end
Add Comment
Please, Sign In to add comment