ZZAFFFf

Untitled

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