Advertisement
ZeyadSamer1

Untitled

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