Advertisement
Guest User

4sr!31 Dr33mur

a guest
Apr 28th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 100.52 KB | None | 0 0
  1. ---- remake by 123jl123 ----
  2. --- made for Iates32 ----
  3.  
  4. p = game.Players.LocalPlayer
  5. char = p.Character
  6. hum = char.Humanoid
  7. hum.MaxHealth = math.huge
  8.  
  9. Player=game:GetService("Players").LocalPlayer
  10. Character=Player.Character
  11. PlayerGui=Player.PlayerGui
  12. Backpack=Player.Backpack
  13. Torso=Character.Torso
  14. Head=Character.Head
  15. Humanoid=Character.Humanoid
  16. LeftArm=Character["Left Arm"]
  17. LeftLeg=Character["Left Leg"]
  18. RightArm=Character["Right Arm"]
  19. RightLeg=Character["Right Leg"]
  20. cam=game.Workspace.CurrentCamera
  21. LS=Torso["Left Shoulder"]
  22. LH=Torso["Left Hip"]
  23. RS=Torso["Right Shoulder"]
  24. RH=Torso["Right Hip"]
  25. Face = Head.face
  26. Neck=Torso.Neck
  27. it=Instance.new
  28. attacktype=1
  29. vt=Vector3.new
  30. cf=CFrame.new
  31. euler=CFrame.fromEulerAnglesXYZ
  32. angles=CFrame.Angles
  33. cloaked=false
  34. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  35. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  36. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  37. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  38. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  39. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  40. RootPart=Character.HumanoidRootPart
  41. RootJoint=RootPart.RootJoint
  42. RootCF=euler(-1.57,0,3.14)
  43. attack = false
  44. bounce=false
  45. cooldown=false
  46. deeznuts=false
  47. attackdebounce = false
  48. deb=false
  49. equipped=true
  50. hand=false
  51. MMouse=nil
  52. combo=0
  53. mana=0
  54. trispeed=.2
  55. attackmode='none'
  56. local idle=0
  57. local Anim="Idle"
  58. local Effects={}
  59. local gun=false
  60. local shoot=false
  61. player=nil
  62. mana=0
  63. game:service("Chat"):Chat(Head, "The last form of my asriel transformation!", Enum.ChatColor.Blue)
  64. wait(1)
  65. game:service("Chat"):Chat(Head, "A world that will rip to shreds.", Enum.ChatColor.Blue)
  66. wait(1)
  67. game:service("Chat"):Chat(Head, "Obey your new founding fathers and america!", Enum.ChatColor.Green)
  68. wait(1)
  69. game:service("Chat"):Chat(Head, "A NATION REBORN!!", Enum.ChatColor.Red)
  70. wait(1)
  71. game:service("Chat"):Chat(Head, "My soul isnt proud, and i wont be either!", Enum.ChatColor.Green)
  72. wait(1)
  73. game:service("Chat"):Chat(Head, "You've defeated me once...", Enum.ChatColor.Green)
  74. wait(1)
  75. game:service("Chat"):Chat(Head, "AND IM NOT GONNA LET IT HAPPEN AGAIN!", Enum.ChatColor.Red)
  76. wait(1)
  77.  
  78.  
  79. ------------------------------------------------------------------------------------
  80. local Character = game.Players.LocalPlayer.Character --game.Workspace.fefio92142
  81.  
  82.  
  83. -------------------------------------------------------------------------------------
  84.  
  85.  
  86.  
  87. -------------------------------------------------------------------------------------
  88. Image2 = "http://www.roblox.com/asset/?id=282913325"
  89.  
  90. speed = 6
  91.  
  92. LockP = true
  93.  
  94. Life = 1
  95. Rot = 20
  96.  
  97. Glow3 = Color3.new(.8,0,.8)
  98. Glow4 = Color3.new(0,0,0)
  99.  
  100. local Num = 3
  101.  
  102. local Num2 = 4 -------------Mods:1,4,8,10,15,20-------------------------------------
  103. local Size = .1
  104. local Rate = 300
  105. -------------------------------------------------------------------------------------
  106.  
  107. ------------------------------------------------------------------------------------------------
  108. local Player = game:service'Players'.LocalPlayer
  109. local Character = Player.Character
  110. Torso = Character:WaitForChild'Torso'
  111.  
  112. local Wing1 = Instance.new("Part",Character)
  113. Wing1.FormFactor = Enum.FormFactor.Custom
  114. Wing1.Size = Vector3.new(.2, .2, .2)
  115. Wing1.Name = "WIng_1"
  116.  
  117. local fire = Instance.new("ParticleEmitter", Wing1)
  118. fire.VelocitySpread = 0
  119. fire.Lifetime = NumberRange.new(Life)
  120. fire.Acceleration = Vector3.new(0, 4, 4)
  121. fire.RotSpeed = NumberRange.new(Rot)
  122. fire.Rate = Rate
  123. fire.Rotation = NumberRange.new(151515)
  124. fire.Name = "Fire"
  125. fire.LightEmission = 0.3
  126. fire.LockedToPart = LockP
  127. fire.Texture = Image2
  128. fire.Color = ColorSequence.new(Glow3,Glow4)
  129. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
  130. fire.LightEmission = 1
  131. fire.Speed =NumberRange.new(speed)
  132.  
  133. local Wing2 = Wing1:Clone()
  134. Wing2.Parent = Torso
  135. local x,y,z = 5,-50,0
  136.  
  137. Wld = function(a,b,cf)
  138. local Weld = Instance.new('Weld',a)
  139. Weld.Part0 = a
  140. Weld.Part1 = b
  141. Weld.C1 = cf
  142. return Weld
  143. end
  144.  
  145. local wld = Wld(Torso,Wing1,CFrame.new(-0.3,.8,0.2)*CFrame.Angles(-math.rad(40),-math.rad(-60),-math.rad(90)))
  146. local wld2 = Wld(Torso,Wing2,CFrame.new(-0.3,.8,-0.2)*CFrame.Angles(-math.rad(140),-math.rad(-60),-math.rad(90)))
  147.  
  148. print'Loaded'
  149.  
  150. game:service'RunService'.Stepped:connect(function()
  151. --z = 6+math.sin(tick()*2)
  152. y = -1+math.sin(tick()*Num)*Num2
  153. Wing1.Fire.Acceleration = Vector3.new(x,y,z)
  154. Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
  155. end)
  156.  
  157. ------------------------------------------------------------------------------------------------
  158.  
  159.  
  160. player = game:service("Players").LocalPlayer
  161. char = player.Character
  162. Glow1 = Color3.new(1,0,1)
  163. Glow2 = Color3.new(0,0,0)
  164.  
  165. GlowParticle = Instance.new("ParticleEmitter",char.Torso)
  166. GlowParticle.LightEmission = 0.5
  167. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  168. GlowParticle.Size = NumberSequence.new(5,7)
  169. GlowParticle.Texture = "http://www.roblox.com/asset/?id=23596922"
  170. GlowParticle.Transparency = NumberSequence.new(.3,.8)
  171. GlowParticle.LockedToPart = true
  172. GlowParticle.Lifetime = NumberRange.new(2)
  173. GlowParticle.Rate= 10
  174. GlowParticle.Speed =NumberRange.new(0)
  175.  
  176.  
  177. local LocalPlayer = game:GetService("Players").LocalPlayer
  178. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  179.  
  180. Character.Head.Transparency = 0
  181.  
  182. local Orb = Instance.new("Part", Character)
  183. Orb.Name = "Orb"
  184.  
  185. Orb.CanCollide = false
  186. Orb.BrickColor = BrickColor.new("Institutional white")
  187. Orb.Transparency = 0
  188. Orb.Material = "Plastic"
  189. Orb.Size = Vector3.new(1, 1, 1)
  190.  
  191.  
  192. local M = Instance.new("SpecialMesh")
  193. M.Parent = Orb
  194. M.MeshId = "http://www.roblox.com/asset/?id=0"
  195. M.Scale = Vector3.new( 1, 1, 1)
  196.  
  197.  
  198. local Weld = Instance.new("Weld", Orb)
  199. Weld.Part0 = Character.Head
  200. Weld.Part1 = Orb
  201. Weld.C1 = CFrame.new(0, -0.15, 0)
  202. ---------------------------------------------------
  203.  
  204. local p = game.Players.LocalPlayer
  205. local char = p.Character
  206.  
  207. CV="Plum"
  208.  
  209. local txt = Instance.new("BillboardGui", char)
  210. txt.Adornee = char .Orb
  211. txt.Name = "_status"
  212. txt.Size = UDim2.new(2, 0, 1.2, 0)
  213. txt.StudsOffset = Vector3.new(-2, 1.5, 0)
  214. local text = Instance.new("TextLabel", txt)
  215. text.Size = UDim2.new(3, 0, 1, 0)
  216. text.FontSize = "Size8"
  217. text.TextScaled = true
  218. text.TextTransparency = 0
  219. text.BackgroundTransparency = 1
  220. text.TextTransparency = 0
  221. text.TextStrokeTransparency = 0
  222. text.Font = "Arial"
  223. text.TextStrokeColor3 = Color3.new(0,0,0)
  224.  
  225. v=Instance.new("Part")
  226. v.Name = "ColorBrick"
  227. v.Parent=p.Character
  228. v.FormFactor="Symmetric"
  229. v.Anchored=true
  230. v.CanCollide=false
  231. v.BottomSurface="Smooth"
  232. v.TopSurface="Smooth"
  233. v.Size=Vector3.new(10,5,3)
  234. v.Transparency=0.7
  235. v.CFrame=char.Torso.CFrame
  236. v.BrickColor=BrickColor.new(CV)
  237. v.Transparency=1
  238. text.TextColor3 = v.BrickColor.Color
  239. v.Shape="Block"
  240. text.Text = "Sir Kadee"
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248. cam = workspace.CurrentCamera
  249. ZTarget = nil
  250. RocketTarget = nil
  251. local m = Instance.new("Model",Character)
  252. m.Name = "WeaponModel"
  253.  
  254. mouse=Player:GetMouse()
  255. --save shoulders
  256. RSH, LSH=nil, nil
  257. --welds
  258. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  259. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  260. LH=Torso["Left Hip"]
  261. RH=Torso["Right Hip"]
  262. function NoOutline(Part)
  263. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  264. end
  265. player=Player
  266. ch=Character
  267. RSH=ch.Torso["Right Shoulder"]
  268. LSH=ch.Torso["Left Shoulder"]
  269. --
  270. RSH.Parent=nil
  271. LSH.Parent=nil
  272. --
  273. RW.Name="Right Shoulder"
  274. RW.Part0=ch.Torso
  275. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  276. RW.C1=cf(0, 0.5, 0)
  277. RW.Part1=ch["Right Arm"]
  278. RW.Parent=ch.Torso
  279. --
  280. LW.Name="Left Shoulder"
  281. LW.Part0=ch.Torso
  282. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  283. LW.C1=cf(0, 0.5, 0)
  284. LW.Part1=ch["Left Arm"]
  285. LW.Parent=ch.Torso
  286.  
  287. function swait(num)
  288. if num==0 or num==nil then
  289. game:service'RunService'.Heartbeat:wait(0)
  290. else
  291. for i=0,num do
  292. game:service'RunService'.Heartbeat:wait(0)
  293. end
  294. end
  295. end
  296.  
  297. function nooutline(part)
  298. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  299. end
  300.  
  301. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  302. local fp=it("Part")
  303. fp.formFactor=formfactor
  304. fp.Parent=parent
  305. fp.Reflectance=reflectance
  306. fp.Transparency=transparency
  307. fp.CanCollide=false
  308. fp.Locked=true
  309. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  310. fp.Name=name
  311. fp.Size=size
  312. fp.Position=Character.Torso.Position
  313. nooutline(fp)
  314. fp.Material=material
  315. fp:BreakJoints()
  316. return fp
  317. end
  318.  
  319. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  320. local fp = it("Part")
  321. fp.formFactor = formfactor
  322. fp.Parent = parent
  323. fp.Reflectance = reflectance
  324. fp.Transparency = transparency
  325. fp.CanCollide = false
  326. fp.Locked=true
  327. fp.BrickColor = brickcolor
  328. fp.Name = name
  329. fp.Size = size
  330. fp.Position = EffectPart.Position
  331. NoOutline(fp)
  332. fp.Material="Neon"
  333. fp:BreakJoints()
  334. return fp
  335. end
  336.  
  337. function wweld(parent,part0,part1,c0)
  338. local weld=it("Weld")
  339. weld.Parent=parent
  340. weld.Part0=part0
  341. weld.Part1=part1
  342. weld.C0=c0
  343. return weld
  344. end
  345.  
  346. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  347. local mesh=it(Mesh)
  348. mesh.Parent=part
  349. if Mesh=="SpecialMesh" then
  350. mesh.MeshType=meshtype
  351. mesh.MeshId=meshid
  352. end
  353. mesh.Offset=offset
  354. mesh.Scale=scale
  355. return mesh
  356. end
  357.  
  358. function decal(part,face,texture,transparency,shiny,specular,name)
  359. local d=it("Decal",part)
  360. d.Shiny=shiny
  361. d.Face=face
  362. d.Specular=specular
  363. d.Transparency=transparency
  364. d.Texture=texture
  365. d.Name=name
  366. return d
  367. end
  368.  
  369. function weld(parent,part0,part1,c0,c1)
  370. local weld=it("Weld")
  371. weld.Parent=parent
  372. weld.Part0=part0
  373. weld.Part1=part1
  374. weld.C0=c0
  375. weld.C1=c1
  376. return weld
  377. end
  378.  
  379.  
  380. local function CFrameFromTopBack(at, top, back)
  381. local right = top:Cross(back)
  382. return CFrame.new(at.x, at.y, at.z,
  383. right.x, top.x, back.x,
  384. right.y, top.y, back.y,
  385. right.z, top.z, back.z)
  386. end
  387.  
  388. function Triangle(a, b, c)
  389. local edg1 = (c-a):Dot((b-a).unit)
  390. local edg2 = (a-b):Dot((c-b).unit)
  391. local edg3 = (b-c):Dot((a-c).unit)
  392. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  393. a, b, c = a, b, c
  394. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  395. a, b, c = b, c, a
  396. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  397. a, b, c = c, a, b
  398. else
  399. assert(false, "unreachable")
  400. end
  401.  
  402. local len1 = (c-a):Dot((b-a).unit)
  403. local len2 = (b-a).magnitude - len1
  404. local width = (a + (b-a).unit*len1 - c).magnitude
  405.  
  406. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  407.  
  408. local list = {}
  409.  
  410. local TrailColor = ("Institutional white")
  411.  
  412. if len1 > 0.01 then
  413. local w1 = Instance.new('WedgePart', m)
  414. game:GetService("Debris"):AddItem(w1,5)
  415. w1.Material = "Neon"
  416. w1.FormFactor = 'Custom'
  417. w1.BrickColor = BrickColor.new(TrailColor)
  418. w1.Transparency = 0
  419. w1.Reflectance = 0
  420. w1.Material = "Neon"
  421. w1.CanCollide = false
  422. NoOutline(w1)
  423. local sz = Vector3.new(0.2, width, len1)
  424. w1.Size = sz
  425. local sp = Instance.new("SpecialMesh",w1)
  426. sp.MeshType = "Wedge"
  427. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  428. w1:BreakJoints()
  429. w1.Anchored = true
  430. w1.Parent = workspace
  431. w1.Transparency = 0.7
  432. table.insert(Effects,{w1,"Disappear",.01})
  433. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  434. table.insert(list,w1)
  435. end
  436.  
  437. if len2 > 0.01 then
  438. local w2 = Instance.new('WedgePart', m)
  439. game:GetService("Debris"):AddItem(w2,5)
  440. w2.Material = "Neon"
  441. w2.FormFactor = 'Custom'
  442. w2.BrickColor = BrickColor.new(TrailColor)
  443. w2.Transparency = 0
  444. w2.Reflectance = 0
  445. w2.Material = "Neon"
  446. w2.CanCollide = false
  447. NoOutline(w2)
  448. local sz = Vector3.new(0.2, width, len2)
  449. w2.Size = sz
  450. local sp = Instance.new("SpecialMesh",w2)
  451. sp.MeshType = "Wedge"
  452. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  453. w2:BreakJoints()
  454. w2.Anchored = true
  455. w2.Parent = workspace
  456. w2.Transparency = 0.7
  457. table.insert(Effects,{w2,"Disappear",.01})
  458. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  459. table.insert(list,w2)
  460. end
  461. return unpack(list)
  462. end
  463.  
  464.  
  465. so = function(id,par,vol,pit)
  466. coroutine.resume(coroutine.create(function()
  467. local sou = Instance.new("Sound",par or workspace)
  468. sou.Volume=vol
  469. sou.Pitch=pit or 1
  470. sou.SoundId=id
  471. swait()
  472. sou:play()
  473. game:GetService("Debris"):AddItem(sou,6)
  474. end))
  475. end
  476.  
  477. function clerp(a,b,t)
  478. local qa = {QuaternionFromCFrame(a)}
  479. local qb = {QuaternionFromCFrame(b)}
  480. local ax, ay, az = a.x, a.y, a.z
  481. local bx, by, bz = b.x, b.y, b.z
  482. local _t = 1-t
  483. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  484. end
  485.  
  486. function QuaternionFromCFrame(cf)
  487. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  488. local trace = m00 + m11 + m22
  489. if trace > 0 then
  490. local s = math.sqrt(1 + trace)
  491. local recip = 0.5/s
  492. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  493. else
  494. local i = 0
  495. if m11 > m00 then
  496. i = 1
  497. end
  498. if m22 > (i == 0 and m00 or m11) then
  499. i = 2
  500. end
  501. if i == 0 then
  502. local s = math.sqrt(m00-m11-m22+1)
  503. local recip = 0.5/s
  504. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  505. elseif i == 1 then
  506. local s = math.sqrt(m11-m22-m00+1)
  507. local recip = 0.5/s
  508. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  509. elseif i == 2 then
  510. local s = math.sqrt(m22-m00-m11+1)
  511. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  512. end
  513. end
  514. end
  515.  
  516. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  517. local xs, ys, zs = x + x, y + y, z + z
  518. local wx, wy, wz = w*xs, w*ys, w*zs
  519. local xx = x*xs
  520. local xy = x*ys
  521. local xz = x*zs
  522. local yy = y*ys
  523. local yz = y*zs
  524. local zz = z*zs
  525. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  526. end
  527.  
  528. function QuaternionSlerp(a, b, t)
  529. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  530. local startInterp, finishInterp;
  531. if cosTheta >= 0.0001 then
  532. if (1 - cosTheta) > 0.0001 then
  533. local theta = math.acos(cosTheta)
  534. local invSinTheta = 1/math.sin(theta)
  535. startInterp = math.sin((1-t)*theta)*invSinTheta
  536. finishInterp = math.sin(t*theta)*invSinTheta
  537. else
  538. startInterp = 1-t
  539. finishInterp = t
  540. end
  541. else
  542. if (1+cosTheta) > 0.0001 then
  543. local theta = math.acos(-cosTheta)
  544. local invSinTheta = 1/math.sin(theta)
  545. startInterp = math.sin((t-1)*theta)*invSinTheta
  546. finishInterp = math.sin(t*theta)*invSinTheta
  547. else
  548. startInterp = t-1
  549. finishInterp = t
  550. end
  551. end
  552. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  553. end
  554.  
  555. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  556. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 99999999999.999)), Ignore)
  557. end
  558.  
  559. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  560. if hit.Parent==nil then
  561. return
  562. end
  563. local h=hit.Parent:FindFirstChild("Humanoid")
  564. for _,v in pairs(hit.Parent:children()) do
  565. if v:IsA("Humanoid") then
  566. h=v
  567. end
  568. end
  569. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  570. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  571. end
  572. if hit.Parent.className=="Hat" then
  573. hit=hit.Parent.Parent:findFirstChild("Head")
  574. end
  575. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  576. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  577. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  578. return
  579. end]]
  580. -- hs(hit,1.2)
  581. local c=Instance.new("ObjectValue")
  582. c.Name="creator"
  583. c.Value=game:service("Players").LocalPlayer
  584. c.Parent=h
  585. game:GetService("Debris"):AddItem(c,0.5)
  586. local Damage=math.rad(9999999999999999,99999999999999999999)
  587. -- h:TakeDamage(Damage)
  588. local blocked=false
  589. local block=hit.Parent:findFirstChild("Block")
  590. if block~=nil then
  591. print(block.className)
  592. if block.className=="NumberValue" then
  593. if block.Value>0 then
  594. blocked=true
  595. if decreaseblock==nil then
  596. block.Value=block.Value-1
  597. end
  598. end
  599. end
  600. if block.className=="IntValue" then
  601. if block.Value>0 then
  602. blocked=true
  603. if decreaseblock~=nil then
  604. block.Value=block.Value-1
  605. end
  606. end
  607. end
  608. end
  609. if blocked==false then
  610. -- h:TakeDamage(Damage)
  611. h.Health=h.Health-Damage
  612. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  613. else
  614. h.Health=h.Health-(Damage/2)
  615. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 0.5, BrickColor.new("Bright blue").Color)
  616. end
  617. if Type=="Knockdown" then
  618. local hum=hit.Parent.Humanoid
  619. hum.PlatformStand=true
  620. coroutine.resume(coroutine.create(function(HHumanoid)
  621. swait(1)
  622. HHumanoid.PlatformStand=false
  623. end),hum)
  624. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  625. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  626. local bodvol=Instance.new("BodyVelocity")
  627. bodvol.velocity=angle*knockback
  628. bodvol.P=5000
  629. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  630. bodvol.Parent=hit
  631. local rl=Instance.new("BodyAngularVelocity")
  632. rl.P=3000
  633. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  634. rl.angularvelocity=Vector3.new(math.rad(-10,10),math.rad(-10,10),math.rad(-10,10))
  635. rl.Parent=hit
  636. game:GetService("Debris"):AddItem(bodvol,.5)
  637. game:GetService("Debris"):AddItem(rl,.5)
  638. elseif Type=="Normal" then
  639. local vp=Instance.new("BodyVelocity")
  640. vp.P=500
  641. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  642. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  643. if KnockbackType==1 then
  644. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  645. elseif KnockbackType==2 then
  646. vp.velocity=Property.CFrame.lookVector*knockback
  647. end
  648. if knockback>0 then
  649. vp.Parent=hit.Parent.Torso
  650. end
  651. game:GetService("Debris"):AddItem(vp,.5)
  652. elseif Type=="Up" then
  653. local bodyVelocity=Instance.new("BodyVelocity")
  654. bodyVelocity.velocity=vt(0,60,0)
  655. bodyVelocity.P=5000
  656. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  657. bodyVelocity.Parent=hit
  658. game:GetService("Debris"):AddItem(bodyVelocity,1)
  659. local rl=Instance.new("BodyAngularVelocity")
  660. rl.P=3000
  661. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  662. rl.angularvelocity=Vector3.new(math.rad(-30,30),math.rad(-30,30),math.rad(-30,30))
  663. rl.Parent=hit
  664. game:GetService("Debris"):AddItem(rl,.5)
  665. elseif Type=="Snare" then
  666. local bp=Instance.new("BodyPosition")
  667. bp.P=2000
  668. bp.D=100
  669. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  670. bp.position=hit.Parent.Torso.Position
  671. bp.Parent=hit.Parent.Torso
  672. game:GetService("Debris"):AddItem(bp,1)
  673. elseif Type=="Target" then
  674. local Targetting = false
  675. if Targetting==false then
  676. ZTarget=hit.Parent.Torso
  677. coroutine.resume(coroutine.create(function(Part)
  678. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  679. swait(5)
  680. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  681. end),ZTarget)
  682. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  683. local targetgui=Instance.new("BillboardGui")
  684. targetgui.Parent=ZTarget
  685. targetgui.Size=UDim2.new(10,100,10,100)
  686. local targ=Instance.new("ImageLabel")
  687. targ.Parent=targetgui
  688. targ.BackgroundTransparency=1
  689. targ.Image="rbxassetid://4834067"
  690. targ.Size=UDim2.new(1,0,1,0)
  691. cam.CameraType="Scriptable"
  692. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  693. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  694. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  695. Targetting=true
  696. RocketTarget=ZTarget
  697. for i=1,Property do
  698. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  699. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  700. swait()
  701. end
  702. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  703. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  704. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  705. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  706. end
  707. Targetting=false
  708. RocketTarget=nil
  709. targetgui.Parent=nil
  710. cam.CameraType="Custom"
  711. end
  712. end
  713. local debounce=Instance.new("BoolValue")
  714. debounce.Name="DebounceHit"
  715. debounce.Parent=hit.Parent
  716. debounce.Value=true
  717. game:GetService("Debris"):AddItem(debounce,Delay)
  718. c=Instance.new("ObjectValue")
  719. c.Name="creator"
  720. c.Value=Player
  721. c.Parent=h
  722. game:GetService("Debris"):AddItem(c,.5)
  723. end
  724. end
  725.  
  726.  
  727. function ShowDamage(Pos, Text, Time, Color)
  728. local Rate = (1 / 30)
  729. local Pos = (Pos or Vector3.new(0, 0, 0))
  730. local Text = (Text or "")
  731. local Time = (Time or 2)
  732. local Color = (Color or Color3.new(1, 0, 0))
  733. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  734. EffectPart.Anchored = true
  735. local BillboardGui = Instance.new("BillboardGui")
  736. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  737. BillboardGui.Adornee = EffectPart
  738. local TextLabel = Instance.new("TextLabel")
  739. TextLabel.BackgroundTransparency = 1
  740. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  741. TextLabel.Text = Text
  742. TextLabel.TextColor3 = Color
  743. TextLabel.TextScaled = true
  744. TextLabel.Font = Enum.Font.ArialBold
  745. TextLabel.Parent = BillboardGui
  746. BillboardGui.Parent = EffectPart
  747. game.Debris:AddItem(EffectPart, (Time + 0.1))
  748. EffectPart.Parent = game:GetService("Workspace")
  749. Delay(0, function()
  750. local Frames = (Time / Rate)
  751. for Frame = 1, Frames do
  752. wait(Rate)
  753. local Percent = (Frame / Frames)
  754. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  755. TextLabel.TextTransparency = Percent
  756. end
  757. if EffectPart and EffectPart.Parent then
  758. EffectPart:Destroy()
  759. end
  760. end)
  761. end
  762.  
  763. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  764. local fp=it("Part")
  765. fp.formFactor=formfactor
  766. fp.Parent=parent
  767. fp.Reflectance=reflectance
  768. fp.Transparency=transparency
  769. fp.CanCollide=false
  770. fp.Locked=true
  771. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  772. fp.Name=name
  773. fp.Size=size
  774. fp.Position=Character.Torso.Position
  775. nooutline(fp)
  776. fp.Material=material
  777. fp:BreakJoints()
  778. return fp
  779. end
  780.  
  781. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  782. local mesh=it(Mesh)
  783. mesh.Parent=part
  784. if Mesh=="SpecialMesh" then
  785. mesh.MeshType=meshtype
  786. mesh.MeshId=meshid
  787. end
  788. mesh.Offset=offset
  789. mesh.Scale=scale
  790. return mesh
  791. end
  792.  
  793. function weld(parent,part0,part1,c0,c1)
  794. local weld=it("Weld")
  795. weld.Parent=parent
  796. weld.Part0=part0
  797. weld.Part1=part1
  798. weld.C0=c0
  799. weld.C1=c1
  800. return weld
  801. end
  802.  
  803. -----Asriel {R} Arm-----
  804. p=Instance.new('Part',Character)
  805. p.BrickColor=BrickColor.new('Institutional white')
  806. p.Material=("Neon")
  807. p.Name="P1"
  808. p.Size=Vector3.new(1.2,2.2,1.2)
  809. w=Instance.new('Weld',Character.P1)
  810. w.Part0=Character.P1
  811. w.Part1=RightArm
  812. ------------------------------
  813. p=Instance.new('Part',Character)
  814. p.BrickColor=BrickColor.new('Really black')
  815. p.Material=("Neon")
  816. p.Name="P2"
  817. p.Size=Vector3.new(1.3, 0.2, 1.3)
  818. w=Instance.new('Weld',Character.P2)
  819. w.Part0=Character.P2
  820. w.Part1=RightArm
  821. w.C0=CFrame.new(0,0.8,0)
  822. ------------------------------
  823. p=Instance.new('Part',Character)
  824. p.BrickColor=BrickColor.new('Really black')
  825. p.Material=("Neon")
  826. p.Name="Diamond1"
  827. p.Size=Vector3.new(1.3, 0.2, 1.3)
  828. m=Instance.new('SpecialMesh',Character.Diamond1)
  829. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  830. m.Scale=Vector3.new(1.3, 1.4, 1.3)
  831. w=Instance.new('Weld',Character.Diamond1)
  832. w.Part0=Character.Diamond1
  833. w.Part1=RightArm
  834. w.C0=CFrame.new(0,0,0)
  835. ----------------------------------
  836. p=Instance.new('Part',Character)
  837. p.BrickColor=BrickColor.new('Really black')
  838. p.Material=("Neon")
  839. p.Name="P3"
  840. p.Size=Vector3.new(1.3, 0.2, 1.3)
  841. w=Instance.new('Weld',Character.P3)
  842. w.Part0=Character.P3
  843. w.Part1=RightArm
  844. w.C0=CFrame.new(0,0.4,0)
  845. ------------------------------------------
  846. p=Instance.new('Part',Character)
  847. p.BrickColor=BrickColor.new('Really black')
  848. p.Material=("Neon")
  849. p.Name="P5"
  850. p.Size=Vector3.new(1.3, 0.2, 1.3)
  851. w=Instance.new('Weld',Character.P5)
  852. w.Part0=Character.P5
  853. w.Part1=RightArm
  854. w.C0=CFrame.new(0,-0.8,0)
  855. -----------------------------------------------------
  856. p=Instance.new('Part',Character)
  857. p.BrickColor=BrickColor.new('Really black')
  858. p.Material=("Neon")
  859. p.Name="P4"
  860. p.Size=Vector3.new(1.3, 0.2, 1.3)
  861. w=Instance.new('Weld',Character.P4)
  862. w.Part0=Character.P4
  863. w.Part1=RightArm
  864. w.C0=CFrame.new(0,-0.4,0)
  865. -----Left Asriel {R} Arm Two----------------------
  866. p=Instance.new('Part',Character)
  867. p.BrickColor=BrickColor.new('Institutional white')
  868. p.Material=("Neon")
  869. p.Name="P6"
  870. p.Size=Vector3.new(1.2,2.2,1.2)
  871. w=Instance.new('Weld',Character.P6)
  872. w.Part0=Character.P6
  873. w.Part1=LeftArm
  874. ------------------------------
  875. p=Instance.new('Part',Character)
  876. p.BrickColor=BrickColor.new('Really black')
  877. p.Material=("Neon")
  878. p.Name="P7"
  879. p.Size=Vector3.new(1.3, 0.2, 1.3)
  880. w=Instance.new('Weld',Character.P7)
  881. w.Part0=Character.P7
  882. w.Part1=LeftArm
  883. w.C0=CFrame.new(0,0.8,0)
  884. ------------------------------
  885. p=Instance.new('Part',Character)
  886. p.BrickColor=BrickColor.new('Really black')
  887. p.Material=("Neon")
  888. p.Name="Diamond2"
  889. p.Size=Vector3.new(1.3, 0.2, 1.3)
  890. m=Instance.new('SpecialMesh',Character.Diamond2)
  891. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  892. m.Scale=Vector3.new(1.3, 1.4, 1.3)
  893. w=Instance.new('Weld',Character.Diamond2)
  894. w.Part0=Character.Diamond2
  895. w.Part1=LeftArm
  896. w.C0=CFrame.new(0,0,0)
  897. ----------------------------------
  898. p=Instance.new('Part',Character)
  899. p.BrickColor=BrickColor.new('Really black')
  900. p.Material=("Neon")
  901. p.Name="P8"
  902. p.Size=Vector3.new(1.3, 0.2, 1.3)
  903. w=Instance.new('Weld',Character.P8)
  904. w.Part0=Character.P8
  905. w.Part1=LeftArm
  906. w.C0=CFrame.new(0,0.4,0)
  907. ------------------------------------------
  908. p=Instance.new('Part',Character)
  909. p.BrickColor=BrickColor.new('Really black')
  910. p.Material=("Neon")
  911. p.Name="P9"
  912. p.Size=Vector3.new(1.3, 0.2, 1.3)
  913. w=Instance.new('Weld',Character.P9)
  914. w.Part0=Character.P9
  915. w.Part1=LeftArm
  916. w.C0=CFrame.new(0,-0.8,0)
  917. -----------------------------------------------------
  918. p=Instance.new('Part',Character)
  919. p.BrickColor=BrickColor.new('Really black')
  920. p.Material=("Neon")
  921. p.Name="P10"
  922. p.Size=Vector3.new(1.3, 0.2, 1.3)
  923. w=Instance.new('Weld',Character.P10)
  924. w.Part0=Character.P10
  925. w.Part1=LeftArm
  926. w.C0=CFrame.new(0,-0.4,0)
  927. ------- Asriel {R} Leg-------
  928. p=Instance.new('Part',Character)
  929. p.BrickColor=BrickColor.new('Institutional white')
  930. p.Material=("Neon")
  931. p.Name="R1"
  932. p.Size=Vector3.new(1.2,2,1.2)
  933. w=Instance.new('Weld',Character.R1)
  934. w.Part0=Character.R1
  935. w.Part1=RightLeg
  936. ------------------------------
  937. p=Instance.new('Part',Character)
  938. p.BrickColor=BrickColor.new('Really black')
  939. p.Material=("Neon")
  940. p.Name="R2"
  941. p.Size=Vector3.new(1.3, 0.2, 1.3)
  942. w=Instance.new('Weld',Character.R2)
  943. w.Part0=Character.R2
  944. w.Part1=RightLeg
  945. w.C0=CFrame.new(0,0.7,0)
  946. ------------------------------
  947. p=Instance.new('Part',Character)
  948. p.BrickColor=BrickColor.new('Really black')
  949. p.Material=("Neon")
  950. p.Name="Diamond3"
  951. p.Size=Vector3.new(1.3, 0.2, 1.3)
  952. m=Instance.new('SpecialMesh',Character.Diamond3)
  953. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  954. m.Scale=Vector3.new(1, 1, 1)
  955. w=Instance.new('Weld',Character.Diamond3)
  956. w.Part0=Character.Diamond3
  957. w.Part1=RightLeg
  958. w.C0=CFrame.new(0,0,0)
  959. ----------------------------------
  960. p=Instance.new('Part',Character)
  961. p.BrickColor=BrickColor.new('Really black')
  962. p.Material=("Neon")
  963. p.Name="Bash1"
  964. p.Size=Vector3.new(1.3, 0.2, 1.3)
  965. m=Instance.new('SpecialMesh',Character.Bash1)
  966. m.Scale=Vector3.new(5, 0, 1)
  967. w=Instance.new('Weld',Character.Bash1)
  968. w.Part0=Character.Bash1
  969. w.Part1=RightLeg
  970. w.C0=CFrame.new(0,0,0)
  971. ----------------------------------
  972. p=Instance.new('Part',Character)
  973. p.BrickColor=BrickColor.new('Really black')
  974. p.Material=("Neon")
  975. p.Name="R3"
  976. p.Size=Vector3.new(1.3, 0.2, 1.3)
  977. w=Instance.new('Weld',Character.R3)
  978. w.Part0=Character.R3
  979. w.Part1=RightLeg
  980. w.C0=CFrame.new(0,-0.7,0)
  981. ------------------------------
  982. p=Instance.new('Part',Character)
  983. p.BrickColor=BrickColor.new('Institutional white')
  984. p.Material=("Neon")
  985. p.Name="R4"
  986. p.Size=Vector3.new(1.2,2,1.2)
  987. w=Instance.new('Weld',Character.R4)
  988. w.Part0=Character.R4
  989. w.Part1=LeftLeg
  990. ------------------------------
  991. p=Instance.new('Part',Character)
  992. p.BrickColor=BrickColor.new('Really black')
  993. p.Material=("Neon")
  994. p.Name="R5"
  995. p.Size=Vector3.new(1.3, 0.2, 1.3)
  996. w=Instance.new('Weld',Character.R5)
  997. w.Part0=Character.R5
  998. w.Part1=LeftLeg
  999. w.C0=CFrame.new(0,0.7,0)
  1000. ------------------------------
  1001. p=Instance.new('Part',Character)
  1002. p.BrickColor=BrickColor.new('Really black')
  1003. p.Material=("Neon")
  1004. p.Name="Diamond4"
  1005. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1006. m=Instance.new('SpecialMesh',Character.Diamond4)
  1007. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  1008. m.Scale=Vector3.new(1, 1, 1)
  1009. w=Instance.new('Weld',Character.Diamond4)
  1010. w.Part0=Character.Diamond4
  1011. w.Part1=LeftLeg
  1012. w.C0=CFrame.new(0,0,0)
  1013. ----------------------------------
  1014. p=Instance.new('Part',Character)
  1015. p.BrickColor=BrickColor.new('Really black')
  1016. p.Material=("Neon")
  1017. p.Name="Bash2"
  1018. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1019. m=Instance.new('SpecialMesh',Character.Bash2)
  1020. m.Scale=Vector3.new(5, 0, 1)
  1021. w=Instance.new('Weld',Character.Bash2)
  1022. w.Part0=Character.Bash2
  1023. w.Part1=LeftLeg
  1024. w.C0=CFrame.new(0,0,0)
  1025. ----------------------------------
  1026. p=Instance.new('Part',Character)
  1027. p.BrickColor=BrickColor.new('Really black')
  1028. p.Material=("Neon")
  1029. p.Name="R6"
  1030. p.Size=Vector3.new(1.3, 0.2, 1.3)
  1031. w=Instance.new('Weld',Character.R6)
  1032. w.Part0=Character.R6
  1033. w.Part1=LeftLeg
  1034. w.C0=CFrame.new(0,-0.7,0)
  1035. ------- Death {A} Ray --------
  1036. p=Instance.new('Part',Character)
  1037. p.Name="DeathRay"
  1038. p.Size=Vector3.new(0.2, 5.22, 2.13)
  1039. p.BrickColor=BrickColor.new('White')
  1040. p.Transparency=1
  1041. d=Instance.new('Decal',Character.DeathRay)
  1042. d.Face="Left"
  1043. d.Texture="http://www.roblox.com/asset/?id=340395528"
  1044. d=Instance.new('Decal',Character.DeathRay)
  1045. d.Face="Right"
  1046. d.Texture="http://www.roblox.com/asset/?id=340395528"
  1047. w=Instance.new('Weld',Character.DeathRay)
  1048. w.Part0=Character.DeathRay
  1049. w.Part1=LeftArm
  1050. w.C0=CFrame.new(0.7,0,0)
  1051. ------- Left Death {A} Ray --------
  1052. p=Instance.new('Part',Character)
  1053. p.Name="DeathRay2"
  1054. p.Size=Vector3.new(0.2, 5.22, 2.13)
  1055. p.BrickColor=BrickColor.new('White')
  1056. p.Transparency=1
  1057. d=Instance.new('Decal',Character.DeathRay2)
  1058. d.Face="Left"
  1059. d.Texture="http://www.roblox.com/asset/?id=340395528"
  1060. d=Instance.new('Decal',Character.DeathRay2)
  1061. d.Face="Right"
  1062. d.Texture="http://www.roblox.com/asset/?id=340395528"
  1063. w=Instance.new('Weld',Character.DeathRay2)
  1064. w.Part0=Character.DeathRay2
  1065. w.Part1=RightArm
  1066. w.C0=CFrame.new(-0.7,0,0)
  1067. ---Asrielovania {R} Music---
  1068. s=Instance.new('Sound',Character)
  1069. s.SoundId="rbxassetid://498083590"
  1070. s.Volume=1
  1071. s.Pitch=1
  1072. s.Looped=true
  1073. s:Play()
  1074. -------Sorcer {A} Sword-------
  1075. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  1076. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
  1077. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  1078. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  1079. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
  1080. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  1081. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  1082. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
  1083. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  1084. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  1085. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
  1086. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  1087. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  1088. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
  1089. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  1090. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  1091. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
  1092. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  1093. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  1094. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
  1095. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  1096. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1, 1.20000005, 1))
  1097. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
  1098. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  1099. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  1100. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  1101. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  1102. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  1103. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  1104. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  1105. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  1106. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  1107. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  1108. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  1109. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  1110. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  1111. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  1112. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  1113. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  1114. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  1115. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  1116. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  1117. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  1118. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
  1119. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1120. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  1121. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
  1122. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1123. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  1124. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
  1125. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1126. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  1127. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  1128. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1129. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  1130. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
  1131. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1132. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  1133. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
  1134. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1135. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  1136. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  1137. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  1138. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  1139. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  1140. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  1141. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  1142. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  1143. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  1144. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  1145. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  1146. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  1147. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  1148. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  1149. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  1150. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  1151. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  1152. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  1153. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1154. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
  1155. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  1156. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  1157. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  1158. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1159. EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  1160. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1161. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1162. EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  1163.  
  1164. DarkRiftF=function(par)
  1165. while lol == true do
  1166. wait()
  1167. local PWN={}
  1168. for _,v in pairs(game.Workspace:children()) do
  1169. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  1170. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  1171. table.insert(PWN,v.Torso)
  1172. end
  1173. end
  1174. end
  1175. for _,t in pairs(PWN) do
  1176. local targ=par.Position-t.Position
  1177. local Mag=targ.magnitude
  1178. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  1179. if Mag<=30 then
  1180. t.Parent.Humanoid:TakeDamage(9999999999.5)
  1181. local rl=Instance.new("BodyAngularVelocity")
  1182. rl.P=3000
  1183. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  1184. rl.angularvelocity=Vector3.new(math.rad(-20,20),math.rad(-20,20),math.rad(-20,20))/10
  1185. rl.Parent=t
  1186. game:GetService("Debris"):AddItem(rl,.1)
  1187. end
  1188. if Mag<=20 then
  1189. t.Parent.Humanoid:TakeDamage(99999999999.1)
  1190. else
  1191. local vl=Instance.new("BodyVelocity")
  1192. vl.P=3000
  1193. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  1194. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  1195. vl.Parent=t
  1196. game:GetService("Debris"):AddItem(vl,.1)
  1197. end
  1198. end
  1199. end
  1200. wait(.08)
  1201. end
  1202. end
  1203.  
  1204. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  1205. local msh1 = Instance.new("BlockMesh")
  1206. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1207. local S=Instance.new("Part")
  1208. S.Name="Effect"
  1209. S.Material="Neon"
  1210. S.formFactor=0
  1211. S.Size=Vector3.new(x1,y1,z1)
  1212. S.BrickColor=color
  1213. S.Reflectance = 0
  1214. S.TopSurface=0
  1215. S.BottomSurface=0
  1216. S.Transparency=0
  1217. S.Anchored=false
  1218. S.CanCollide=false
  1219. S.CFrame=part.CFrame
  1220. S.Parent=game.Workspace
  1221. msh1.Parent = S
  1222. local W=Instance.new("Weld")
  1223. W.Parent=S
  1224. W.Part0=S
  1225. W.Part1=part
  1226. W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1227. W.Parent=nil
  1228. S.Anchored=true
  1229. coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) --[[Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
  1230. end
  1231.  
  1232. local function BlackHole(parent,cframe)
  1233. local effectsmsh = Instance.new("SpecialMesh")
  1234. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  1235. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  1236. effectsmsh.Scale = Vector3.new(3,3,3)
  1237. local effectsg = Instance.new("Part")
  1238. effectsg.formFactor = 3
  1239. effectsg.CanCollide = false
  1240. effectsg.Name = "Effect"
  1241. effectsg.Locked = true
  1242. effectsg.Transparency = 1
  1243. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  1244. effectsg.Parent = parent
  1245. effectsg.BrickColor = BrickColor.random()
  1246. effectsg.Material="Neon"
  1247. coroutine.resume(coroutine.create(function(Part,Mesh)
  1248. local Mesh = Instance.new("SpecialMesh")
  1249. Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  1250. Mesh.MeshType = "Sphere"
  1251. -- Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
  1252. Part=Instance.new("Part")
  1253. Part.Name="Effect"
  1254. Part.formFactor=0
  1255. Part.Size=Vector3.new(1,1,1)
  1256. Part.BrickColor=BrickColor.random()
  1257. Part.Material="Neon"
  1258. Part.Reflectance = 0
  1259. Part.TopSurface=0
  1260. Part.BottomSurface=0
  1261. Part.Transparency=0
  1262. Part.Anchored=true
  1263. NoOutline(Part)
  1264. Part.CanCollide=false
  1265. Part.CFrame=cframe
  1266. Part.Parent=parent
  1267. Mesh.Parent = Part
  1268. lol=true
  1269. coroutine.resume(coroutine.create(function()
  1270. DarkRiftF(Part)
  1271. end))
  1272. for i=0,200 do
  1273. wait()
  1274. DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.random())
  1275. Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  1276. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1277. end
  1278. local fff=200
  1279. for i=0,100 do
  1280. wait()
  1281. DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.random())
  1282. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1283. end
  1284. for i=0,1,0.05 do
  1285. wait()
  1286. Part.Transparency=Part.Transparency+0.05
  1287. Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  1288. end
  1289. lol=false
  1290. Part.Parent=nil
  1291. end),nil,nil)
  1292. end
  1293.  
  1294. function makeShockwave(height,color,speed,range,pulse)
  1295. local range = range or 2000
  1296. local p = Instance.new("Part")
  1297. p.Anchored = true
  1298. p.CanCollide = false
  1299. p.FormFactor = "Custom"
  1300. p.BrickColor = color
  1301. p.Parent = workspace
  1302. local m = Instance.new("SpecialMesh",p)
  1303. m.MeshId = "rbxassetid://3270017"
  1304. local estimateSurvival = math.floor(range/speed) * 0.03
  1305. game:GetService("Debris"):AddItem(p,estimateSurvival)
  1306. Spawn(function ()
  1307. for i = 1,range,speed do
  1308. p.Transparency = 1-math.min(0.5,3-(i/500))
  1309. m.Scale = Vector3.new(i,i,i*height)
  1310. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  1311. wait()
  1312. end
  1313. p:Destroy()
  1314. end)
  1315. end
  1316.  
  1317. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1318. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1319. prt.Anchored=true
  1320. prt.CFrame=cframe
  1321. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  1322. game:GetService("Debris"):AddItem(prt,2)
  1323. coroutine.resume(coroutine.create(function(Part,Mesh)
  1324. for i=0,2,delay do
  1325. wait()
  1326. Part.CFrame=Part.CFrame
  1327. Part.Transparency=i
  1328. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1329. end
  1330. Part.Parent=nil
  1331. end),prt,msh)
  1332. end
  1333.  
  1334. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1335. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1336. prt.Anchored=true
  1337. prt.CFrame=cframe
  1338. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1339. game:GetService("Debris"):AddItem(prt,5)
  1340. coroutine.resume(coroutine.create(function(Part,Mesh)
  1341. for i=0,1,delay do
  1342. wait()
  1343. Part.CFrame=Part.CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1344. Part.Transparency=i
  1345. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1346. end
  1347. Part.Parent=nil
  1348. end),prt,msh)
  1349. end
  1350.  
  1351. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  1352. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  1353. if Type~=2 then
  1354. prt.Anchored=true
  1355. end
  1356. prt.CFrame=cframe
  1357. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1358. game:GetService("Debris"):AddItem(prt,5)
  1359. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  1360. local wld=nil
  1361. if dur==2 then
  1362. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  1363. end
  1364. for i=0,1,delay do
  1365. swait()
  1366. if dur==1 then
  1367. Part.CFrame=Part.CFrame
  1368. elseif dur==2 then
  1369. wld.C0=cframe
  1370. end
  1371. Part.Transparency=i
  1372. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1373. end
  1374. Part.Parent=nil
  1375. end),prt,msh,Type)
  1376. end
  1377.  
  1378. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1379. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1380. prt.Anchored=true
  1381. prt.CFrame=cframe
  1382. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1383. game:GetService("Debris"):AddItem(prt,5)
  1384. coroutine.resume(coroutine.create(function(Part,Mesh)
  1385. for i=0,1,delay do
  1386. swait()
  1387. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1388. Part.Transparency=i
  1389. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1390. end
  1391. Part.Parent=nil
  1392. end),prt,msh)
  1393. end
  1394.  
  1395. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1396. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1397. prt.Anchored=true
  1398. prt.CFrame=cframe
  1399. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1400. game:GetService("Debris"):AddItem(prt,5)
  1401. coroutine.resume(coroutine.create(function(Part,Mesh)
  1402. for i=0,1,delay do
  1403. wait()
  1404. Part.CFrame=Part.CFrame
  1405. Part.Transparency=i
  1406. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1407. end
  1408. Part.Parent=nil
  1409. end),prt,msh)
  1410. end
  1411.  
  1412. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1413. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  1414. prt.Anchored=true
  1415. prt.CFrame=cframe
  1416. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1417. game:GetService("Debris"):AddItem(prt,5)
  1418. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1419. end
  1420.  
  1421. function Blast(parent)
  1422. MagicBlock(BrickColor.random(),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1423. MagicWaveThing(BrickColor.random(),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1424. end
  1425.  
  1426. function ChargeBall(parent,t)
  1427. local counter=0
  1428. local size=1
  1429. for i=0,t,1 do
  1430. swait()
  1431. counter=counter+1
  1432. if counter%10==0 then
  1433. if size==3 then
  1434. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1435. elseif size==2 then
  1436. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1437. end
  1438. end
  1439. if counter%5==0 then
  1440. if size==1 then
  1441. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1442. elseif size==2 then
  1443. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1444. elseif size==3 then
  1445. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1446. end
  1447. end
  1448. end
  1449. end
  1450.  
  1451. function ChargeBall2(parent,t)
  1452. local counter=0
  1453. local size=1
  1454. for i=0,t,1 do
  1455. swait()
  1456. counter=counter+1
  1457. if counter%10==0 then
  1458. if size==3 then
  1459. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1460. elseif size==2 then
  1461. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1462. end
  1463. end
  1464. if counter%5==0 then
  1465. if size==1 then
  1466. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1467. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1468. elseif size==2 then
  1469. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1470. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1471. elseif size==3 then
  1472. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1473. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1474. end
  1475. end
  1476. end
  1477. end
  1478.  
  1479. function MagniDamage(Part,dis,mind,maxd,force,knock)
  1480. for _,c in pairs(workspace:children()) do
  1481. local hum=c:findFirstChild("Humanoid")
  1482. if hum~=nil then
  1483. local head=c:findFirstChild("Torso")
  1484. if head~=nil then
  1485. local targ=head.Position-Part.Position
  1486. local mag=targ.magnitude
  1487. if mag<=dis and c.Name~=Character.Name then
  1488. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  1489. end
  1490. end
  1491. end
  1492. end
  1493. end
  1494.  
  1495. function computeDirection(vec)
  1496. local lenSquared = vec.magnitude * vec.magnitude
  1497. local invSqrt = 1 / math.sqrt(lenSquared)
  1498. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1499. end
  1500.  
  1501. function attackone()
  1502. attack = true
  1503.  
  1504. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1505. local fx=Hitbox.Touched:connect(function(part)
  1506. local human=part.Parent:findFirstChild("Humanoid")
  1507. if human~=nil and bounce==false then
  1508. bounce=true
  1509.  
  1510.  
  1511.  
  1512. end
  1513. end)
  1514. for i = 0,1,0.1 do
  1515. swait()
  1516. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1517. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1518. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1519. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1520. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1521. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1522. end
  1523. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1524. for i = 0,1,0.1 do
  1525. swait()
  1526. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1527. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1528. local h = 5
  1529. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1530. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1531. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1532. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1533. scfr = blcf
  1534. elseif not scfr then
  1535. scfr = blcf
  1536. end
  1537. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1538. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1539. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1540. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1541. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1542. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1543. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1544. end
  1545. attack = false
  1546. bounce=false
  1547. scfr=nil
  1548. fx:disconnect()
  1549. con:disconnect()
  1550. end
  1551.  
  1552. function attacktwo()
  1553. attack=true
  1554.  
  1555. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1556. local fx=Hitbox.Touched:connect(function(part)
  1557. local human=part.Parent:findFirstChild("Humanoid")
  1558. if human~=nil and bounce==false then
  1559. bounce=true
  1560.  
  1561.  
  1562.  
  1563. end
  1564. end)
  1565. for i=0,1,.1 do
  1566. swait()
  1567. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1568. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1569. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1570. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1571. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1572. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1573. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1574. end
  1575. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1576. for i = 0,1,0.1 do
  1577. swait()
  1578. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1579. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1580. local h = 5
  1581. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1582. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1583. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1584. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1585. scfr = blcf
  1586. elseif not scfr then
  1587. scfr = blcf
  1588. end
  1589. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1590. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1591. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1592. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1593. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1594. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1595. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1596. end
  1597. scfr=nil
  1598. attack=false
  1599. bounce=false
  1600. con:disconnect()
  1601. fx:disconnect()
  1602. end
  1603.  
  1604. function attackthree()
  1605. attack=true
  1606.  
  1607. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1608. local fx=Hitbox.Touched:connect(function(part)
  1609. local human=part.Parent:findFirstChild("Humanoid")
  1610. if human~=nil and bounce==false then
  1611. bounce=true
  1612.  
  1613.  
  1614.  
  1615. end
  1616. end)
  1617. for i=0,1,.1 do
  1618. swait()
  1619. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1620. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1621. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1622. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1623. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1624. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1625. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1626. end
  1627. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1628. for i = 0,1,0.1 do
  1629. swait()
  1630. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1631. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1632. local h = 5
  1633. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1634. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1635. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1636. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1637. scfr = blcf
  1638. elseif not scfr then
  1639. scfr = blcf
  1640. end
  1641. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1642. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1643. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1644. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1645. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1646. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1647. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1648. end
  1649. attack=false
  1650. bounce=false
  1651. scfr=nil
  1652. con:disconnect()
  1653. fx:disconnect()
  1654. end
  1655.  
  1656. function attackfour()
  1657. attack = true
  1658.  
  1659. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(20,30),"Normal",RootPart,.2,1) end)
  1660. local fx=Hitbox.Touched:connect(function(part)
  1661. local human=part.Parent:findFirstChild("Humanoid")
  1662. if human~=nil and bounce==false then
  1663. bounce=true
  1664.  
  1665.  
  1666.  
  1667. end
  1668. end)
  1669. for i = 0,1,0.1 do
  1670. swait()
  1671. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  1672. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  1673. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  1674. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  1675. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  1676. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  1677. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
  1678. end
  1679. so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
  1680. local v=it("BodyVelocity",Torso)
  1681. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  1682. v.velocity=RootPart.CFrame.lookVector*50
  1683. for i = 0,1,0.1 do
  1684. swait()
  1685. local blcf = Hitbox.CFrame*cf(0,0,0)
  1686. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1687. local h = 5
  1688. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1689. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1690. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1691. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1692. scfr = blcf
  1693. elseif not scfr then
  1694. scfr = blcf
  1695. end
  1696. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  1697. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1698. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  1699. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  1700. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1701. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1702. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
  1703. end
  1704. v.Parent=nil
  1705. scfr=nil
  1706. attack = false
  1707. bounce=false
  1708. con:disconnect()
  1709. fx:disconnect()
  1710. end
  1711.  
  1712. function Slash()
  1713. attack=true
  1714.  
  1715. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1716. local fx=Hitbox.Touched:connect(function(part)
  1717. local human=part.Parent:findFirstChild("Humanoid")
  1718. if human~=nil and bounce==false then
  1719. bounce=true
  1720.  
  1721.  
  1722.  
  1723. end
  1724. end)
  1725. for i=0,1,.1 do
  1726. swait()
  1727. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1728. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1729. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1730. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1731. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1732. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1733. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1734. end
  1735. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1736. for i = 0,1,0.1 do
  1737. swait()
  1738. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1739. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1740. local h = 5
  1741. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1742. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1743. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1744. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1745. scfr = blcf
  1746. elseif not scfr then
  1747. scfr = blcf
  1748. end
  1749. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1750. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1751. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1752. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1753. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1754. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1755. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1756. end
  1757. for i = 0,1,0.1 do ----------------------------------- second attack
  1758. swait()
  1759. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1760. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1761. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1762. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1763. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1764. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1765. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1766. end
  1767. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1768. for i = 0,1,0.1 do
  1769. swait()
  1770. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1771. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1772. local h = 5
  1773. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1774. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1775. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1776. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1777. scfr = blcf
  1778. elseif not scfr then
  1779. scfr = blcf
  1780. end
  1781. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1782. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1783. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1784. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1785. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1786. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1787. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1788. end
  1789. attack=false
  1790. bounce=false
  1791. scfr=nil
  1792. con:disconnect()
  1793. fx:disconnect()
  1794. end
  1795. function Combo()
  1796. attack = true
  1797.  
  1798. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1799. local fx=Hitbox.Touched:connect(function(part)
  1800. local human=part.Parent:findFirstChild("Humanoid")
  1801. if human~=nil and bounce==false then
  1802. bounce=true
  1803.  
  1804.  
  1805.  
  1806. end
  1807. end)
  1808. for i = 0,1,0.1 do ----------------------------------- first attack
  1809. swait()
  1810. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1811. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1812. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1813. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1814. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1815. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1816. end
  1817. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1818. for i = 0,1,0.1 do
  1819. swait()
  1820. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1821. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1822. local h = 5
  1823. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1824. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1825. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1826. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1827. scfr = blcf
  1828. elseif not scfr then
  1829. scfr = blcf
  1830. end
  1831. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1832. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1833. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1834. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1835. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1836. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1837. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1838. end
  1839. for i = 0,1,0.1 do ----------------------------------- second attack
  1840. swait()
  1841. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1842. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1843. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1844. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1845. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1846. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1847. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1848. end
  1849. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1850. for i = 0,1,0.1 do
  1851. swait()
  1852. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1853. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1854. local h = 5
  1855. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1856. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1857. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1858. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1859. scfr = blcf
  1860. elseif not scfr then
  1861. scfr = blcf
  1862. end
  1863. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1864. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1865. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1866. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1867. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1868. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1869. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1870. end
  1871. for i = 0,1,0.1 do
  1872. swait()
  1873. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1874. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1875. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1876. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1877. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1878. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1879. end
  1880. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1881. for i = 0,1,0.1 do
  1882. swait()
  1883. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1884. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1885. local h = 5
  1886. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1887. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1888. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1889. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1890. scfr = blcf
  1891. elseif not scfr then
  1892. scfr = blcf
  1893. end
  1894. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1895. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1896. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1897. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1898. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1899. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1900. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1901. end
  1902. for i = 0,1,0.1 do ----------------------------------- second attack
  1903. swait()
  1904. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1905. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1906. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1907. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1908. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1909. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1910. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1911. end
  1912. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1913. for i = 0,1,0.1 do
  1914. swait()
  1915. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1916. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1917. local h = 5
  1918. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1919. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1920. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1921. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1922. scfr = blcf
  1923. elseif not scfr then
  1924. scfr = blcf
  1925. end
  1926. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1927. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1928. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1929. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1930. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1931. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1932. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1933. end
  1934. for i = 0,1,0.1 do ----------------------------------- first attack
  1935. swait()
  1936. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1937. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1938. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1939. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1940. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1941. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1942. end
  1943. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1944. for i = 0,1,0.1 do
  1945. swait()
  1946. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1947. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1948. local h = 5
  1949. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1950. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1951. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1952. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1953. scfr = blcf
  1954. elseif not scfr then
  1955. scfr = blcf
  1956. end
  1957. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1958. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1959. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1960. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1961. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1962. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1963. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1964. end
  1965. for i = 0,1,0.1 do ----------------------------------- second attack
  1966. swait()
  1967. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1968. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1969. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1970. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1971. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1972. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1973. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1974. end
  1975. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1976. for i = 0,1,0.1 do
  1977. swait()
  1978. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1979. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1980. local h = 5
  1981. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1982. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1983. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1984. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1985. scfr = blcf
  1986. elseif not scfr then
  1987. scfr = blcf
  1988. end
  1989. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1990. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1991. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1992. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1993. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1994. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1995. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1996. end
  1997. attack = false
  1998. bounce=false
  1999. scfr=nil
  2000. fx:disconnect()
  2001. con:disconnect()
  2002. end
  2003. function LustrisFulgo()
  2004. attack=true
  2005. Humanoid.WalkSpeed=0
  2006. for i=0,1,0.1 do
  2007. swait()
  2008. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
  2009. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
  2010. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
  2011. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
  2012. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
  2013. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
  2014. handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  2015. end
  2016. local function boom()
  2017. local pprt=ppart(3,game.Workspace,0,1,BrickColor.random(),"Effect",vt(1,1,1))
  2018. pprt.Anchored=true
  2019. pprt.CFrame=EffectPart.CFrame
  2020. game:GetService("Debris"):AddItem(pprt,2)
  2021. MagicCircle(BrickColor.random(),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
  2022. so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
  2023. so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
  2024. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.random(),"Effect",vt(1,1,1))
  2025. local waveweld=weld(game.Workspace,handle,wave,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  2026. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  2027. MagniDamage(wave,20,15,25,math.rad(20,30),"Knockdown",RootPart)
  2028. for i=0,80 do
  2029. swait()
  2030. MagicBlock(BrickColor.random(),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
  2031. MagicCircle(BrickColor.random(),EffectPart.CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
  2032. wave.Size=vt(1+i,1+i,1+i)
  2033. wavemesh.Scale=vt(1+i,1+i,1+i)
  2034. wave.CFrame=EffectPart.CFrame
  2035. Humanoid.Health=Humanoid.Health+.15
  2036. end
  2037. wave:Destroy()
  2038. end
  2039. boom()
  2040. attack=false
  2041. Humanoid.WalkSpeed=35
  2042. end
  2043.  
  2044. function LeviterGlomus()
  2045. attack=true
  2046. for i=0,1,.1 do
  2047. swait()
  2048. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2049. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2050. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  2051. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  2052. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  2053. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(-25),math.rad(-110),math.rad(0))*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2054. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
  2055. end
  2056. so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
  2057. efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Institutional white","BallEffect",Vector3.new(2, 2, 2))
  2058. weld(m,Character["Left Arm"],efprt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  2059. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  2060. ChargeBall(EffectPart2,35)
  2061. for i=0,1,.1 do
  2062. swait()
  2063. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2064. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2065. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  2066. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  2067. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  2068. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  2069. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
  2070. end
  2071. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  2072. efprt:BreakJoints()
  2073. local Target=mouse.Hit.p
  2074. local direction = Target - handle.Position
  2075. direction = computeDirection(direction)
  2076. local pos = handle.Position + (direction * 10.0)
  2077. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  2078. local floatForce = Instance.new("BodyForce")
  2079. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  2080. floatForce.Parent = efprt
  2081. efprt.Velocity = direction * 160
  2082. efprt.Touched:connect(function(hit)
  2083. if not hit:IsDescendantOf(Character) then
  2084. if hit.Name~="Effect" then
  2085. MagniDamage(efprt,15,70,100,math.rad(20,30),"Knockdown",RootPart)
  2086. floatForce.Parent=nil
  2087. efprt.Anchored=true
  2088. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  2089. Blast(efprt)
  2090. efprt:Destroy()
  2091. end
  2092. end
  2093. end)
  2094. game:GetService("Debris"):AddItem(efprt,6)
  2095. attack=false
  2096. end
  2097.  
  2098. function PortalStorm()
  2099. Humanoid.WalkSpeed=1
  2100. attack=true
  2101. for i=0,1,.1 do
  2102. swait()
  2103. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2104. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2105. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
  2106. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
  2107. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2108. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2109. handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
  2110. end
  2111. so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
  2112. ChargeBall2(handle,100)
  2113. makeShockwave(0.5,BrickColor.random(),30,1000,0)
  2114. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),2,2,2,.5,.3,.5,0.01)
  2115. so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
  2116. wait(2)
  2117. so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
  2118. delay(0.5,function ()
  2119. MagniDamage(Torso,99999999,math.rad(50,70),"Knockdown",RootPart)
  2120. end)
  2121. Humanoid.Health=Humanoid.Health-0
  2122. makeShockwave(4,BrickColor.new("Teal"),10,2000,1)
  2123. attack=false
  2124. Humanoid.WalkSpeed=20
  2125. wait(4)
  2126. Humanoid.WalkSpeed=35
  2127. end
  2128. function SolSiderea()
  2129. Humanoid.WalkSpeed=1
  2130. attack=true
  2131. so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  2132. for i=0,1,.1 do
  2133. swait()
  2134. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2135. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2136. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  2137. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  2138. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2139. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2140. handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  2141. end
  2142. for i=0,1,.1 do
  2143. swait()
  2144. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2145. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2146. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  2147. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  2148. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2149. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2150. handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  2151. end
  2152. coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  2153. local n=2
  2154. local orb=ppart(3,Character,0,1,BrickColor.random(),"Orb",vt())
  2155. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  2156. local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  2157. for i=1,0.3,-0.01 do
  2158. wait()
  2159. orb.Transparency=i
  2160. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  2161. MagicBlock(BrickColor.random(),orb.CFrame,15,15,15,2,2,2,0.1)
  2162. local ef=ppart(3,workspace,0,0,BrickColor.random(),"Effect",vt())
  2163. ef.Anchored=true
  2164. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.rad(1000,1500)/100,2))
  2165. local ceef=euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))*cf(0,math.rad(10,20),0)
  2166. ef.CFrame=orb.CFrame*ceef
  2167. game:GetService("Debris"):AddItem(ef,2)
  2168. coroutine.resume(coroutine.create(function(Part,Mesh)
  2169. for i=0,1,0.1 do
  2170. wait()
  2171. Part.Transparency=i
  2172. Part.CFrame=Part.CFrame*cf(0,-1,0)
  2173. end
  2174. Part.Parent=nil
  2175. end),ef,emsh)
  2176. end
  2177. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  2178. wait(.5)
  2179. orb.Parent=nil
  2180. wait(1)
  2181. local hit,pos = rayCast(orb.Position,Pos,1000,Character)
  2182. local mag=(orb.Position-pos).magnitude
  2183. BlackHole(game.Workspace,cf(pos))
  2184. coroutine.resume(coroutine.create(function()
  2185. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.random(),"Effect",vt(1,1,1))
  2186. wweld(game.Workspace,wave,orb,Torso.CFrame)
  2187. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  2188. for i=1,100 do
  2189. swait()
  2190. wave.Size=vt(1+i,1+i,1+i)
  2191. wavemesh.Scale=vt(1+i,1+i,1+i)
  2192. wave.CFrame=cf(pos)
  2193. end
  2194. end))
  2195. coroutine.resume(coroutine.create(function()
  2196. for i=0,2 do
  2197. swait(15)
  2198. local range = 1500
  2199. local p = Instance.new("Part")
  2200. p.Anchored = true
  2201. p.CanCollide = false
  2202. p.FormFactor = "Custom"
  2203. p.BrickColor = BrickColor.random()
  2204. p.Parent = workspace
  2205. p.Name="Effect"
  2206. p.CFrame=cf(pos)
  2207. local m = Instance.new("SpecialMesh",p)
  2208. m.MeshId = "rbxassetid://3270017"
  2209. local estimateSurvival = math.floor(range/30) * 0.03
  2210. game:GetService("Debris"):AddItem(p,estimateSurvival)
  2211. Spawn(function ()
  2212. for i = 1,range,30 do
  2213. p.Transparency = 1-math.min(0.5,3-(i/500))
  2214. m.Scale = Vector3.new(i,i,i*0.5)
  2215. p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
  2216. wait()
  2217. end
  2218. p:Destroy()
  2219. end)
  2220. end
  2221. end))
  2222. MagicCylinder(BrickColor.random(),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  2223. for i=1,2 do
  2224. end
  2225. for i=1,5 do
  2226. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  2227. end
  2228. for i=0,5 do
  2229. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  2230. end
  2231. local ref=ppart(3,workspace,0,1,BrickColor.random(),"Effect",vt())
  2232. ref.CFrame=cf(pos)
  2233. coroutine.resume(coroutine.create(function(Part)
  2234. wait(1)
  2235. Part.Parent=nil
  2236. end),ref)
  2237. MagniDamage(ref,999999999,"Knockdown",ref)
  2238. if hit~=nil then
  2239. Damagefunc(ref,hit,99999999,"Knockdown",RootPart,0)
  2240. end
  2241. local n=2
  2242. MagicWave(BrickColor.random(),cf(pos)*euler(0,math.rad(-50,50),0),2,2,2,.5,.3,.5,0.01)
  2243. swait(75)
  2244. Humanoid.WalkSpeed=35
  2245. attack=false
  2246. end
  2247.  
  2248. attacktype=1
  2249. mouse.Button1Down:connect(function()
  2250. if attacktype==1 and attack==false then
  2251. attacktype=2
  2252. attackone()
  2253. elseif attacktype==2 and attack==false then
  2254. attacktype=3
  2255. attacktwo()
  2256. elseif attacktype==3 and attack==false then
  2257. attacktype=4
  2258. attackthree()
  2259. elseif attacktype==4 and attack==false then
  2260. attacktype=1
  2261. attackfour()
  2262. end
  2263. end)
  2264.  
  2265. mouse.KeyDown:connect(function(k)
  2266. k=k:lower()
  2267. if attack == false and k == 'e' then
  2268. LeviterGlomus()
  2269. ChargeBall(efprt,100)
  2270. end
  2271. if attack == false and k == 'q' then
  2272. LustrisFulgo()
  2273. end
  2274. if attack == false and k == 'f' and deeznuts==false then
  2275. deeznuts=true
  2276. SolSiderea()
  2277. deeznuts=false
  2278. end
  2279. if attack == false and k == 'r' and cooldown==false then
  2280. cooldown=true
  2281. PortalStorm()
  2282. cooldown=false
  2283. end
  2284. end)
  2285.  
  2286. mouse.KeyDown:connect(function(k)
  2287. if attack == false and k == 't' then
  2288. Combo()
  2289. end
  2290. end)
  2291. mouse.KeyDown:connect(function(k)
  2292. if attack == false and k == 'y' then
  2293. Slash()
  2294. end
  2295. end)
  2296.  
  2297.  
  2298. local sine = 0
  2299. local change = 1
  2300. local val = 0
  2301.  
  2302. while true do
  2303. swait()
  2304. sine = sine + change
  2305. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2306. local velderp=RootPart.Velocity.y
  2307. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2308. if equipped==true or equipped==false then
  2309. if attack==false then
  2310. idle=idle+1
  2311. else
  2312. idle=0
  2313. end
  2314. if idle>=500 then
  2315. if attack==false then
  2316. end
  2317. end
  2318. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2319. Anim="Jump"
  2320. if attack==false then
  2321. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2322. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2323. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  2324. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  2325. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2326. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2327. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2328. end
  2329. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2330. Anim="Fall"
  2331. if attack==false then
  2332. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2333. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  2334. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  2335. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2336. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2337. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2338. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  2339. end
  2340. elseif torvel<1 and hitfloor~=nil then
  2341. Anim="Idle"
  2342. if attack==false then
  2343. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  2344. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  2345. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  2346. LW.C0 = clerp(LW.C0, CFrame.new(-0.3, 0.5, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2347. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  2348. LH.C0=clerp(LH.C0,cf(-1,-1,0.3)*angles(math.rad(-36),math.rad(-95),math.rad(0)),.3)
  2349. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
  2350. end
  2351. elseif torvel>2 and hitfloor~=nil then
  2352. Anim="Walk"
  2353. if attack==false then
  2354. change=3
  2355. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  2356. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  2357. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  2358. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)), 0.3)
  2359. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  2360. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  2361. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2362. end
  2363. end
  2364. end
  2365. if #Effects>0 then
  2366. for e=1,#Effects do
  2367. if Effects[e]~=nil then
  2368. local Thing=Effects[e]
  2369. if Thing~=nil then
  2370. local Part=Thing[1]
  2371. local Mode=Thing[2]
  2372. local Delay=Thing[3]
  2373. local IncX=Thing[4]
  2374. local IncY=Thing[5]
  2375. local IncZ=Thing[6]
  2376. if Thing[1].Transparency<=1 then
  2377. if Thing[2]=="Block1" then
  2378. Thing[1].CFrame=Thing[1].CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  2379. Mesh=Thing[1].Mesh
  2380. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2381. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2382. elseif Thing[2]=="Cylinder" then
  2383. Mesh=Thing[1].Mesh
  2384. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2385. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2386. elseif Thing[2]=="Blood" then
  2387. Mesh=Thing[7]
  2388. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2389. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2390. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2391. elseif Thing[2]=="Elec" then
  2392. Mesh=Thing[1].Mesh
  2393. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2394. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2395. elseif Thing[2]=="Disappear" then
  2396. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2397. end
  2398. else
  2399. Part.Parent=nil
  2400. table.remove(Effects,e)
  2401. end
  2402. end
  2403. end
  2404. end
  2405. end
  2406. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement