Advertisement
ScriptBuilderSHEHAB

sword

Jul 20th, 2016
444
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.68 KB | None | 0 0
  1. --Strife edit made by kent911t
  2.  
  3. Player=game:GetService("Players").LocalPlayer
  4. Player.Character.Humanoid.MaxHealth=math.huge
  5. Player.Character.Humanoid.Health=math.huge
  6. Character=Player.Character
  7. PlayerGui=Player.PlayerGui
  8. Backpack=Player.Backpack
  9. Torso=Character.Torso
  10. Head=Character.Head
  11. Humanoid=Character.Humanoid
  12. LeftArm=Character["Left Arm"]
  13. LeftLeg=Character["Left Leg"]
  14. RightArm=Character["Right Arm"]
  15. RightLeg=Character["Right Leg"]
  16. cam=game.Workspace.CurrentCamera
  17. LS=Torso["Left Shoulder"]
  18. LH=Torso["Left Hip"]
  19. RS=Torso["Right Shoulder"]
  20. RH=Torso["Right Hip"]
  21. Face = Head.face
  22. Neck=Torso.Neck
  23. it=Instance.new
  24. attacktype=1
  25. vt=Vector3.new
  26. cf=CFrame.new
  27. euler=CFrame.fromEulerAnglesXYZ
  28. angles=CFrame.Angles
  29. cloaked=false
  30. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  33. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  34. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RootPart=Character.HumanoidRootPart
  37. RootJoint=RootPart.RootJoint
  38. RootCF=euler(-1.57,0,3.14)
  39. attack = false
  40. skillattack=false
  41. skillattack1=false
  42. skillattack2=false
  43. skillattack3=false
  44. bounce=false
  45. cooldown=false
  46. deeznuts=false
  47. attackdebounce = false
  48. deb=false
  49. equipped=true
  50. hand=false
  51. MMouse=nil
  52. combo=0
  53. mana=0
  54. trispeed=.2
  55. attackmode='none'
  56. local idle=0
  57. local Anim="Idle"
  58. local Effects={}
  59. local gun=false
  60. local shoot=false
  61. player=nil
  62. mana=0
  63. cam = workspace.CurrentCamera
  64. ZTarget = nil
  65. RocketTarget = nil
  66. local m = Instance.new("Model",Character)
  67. m.Name = "WeaponModel"
  68.  
  69. a = Instance.new("ScreenGui")
  70. a.Name="aaaa"
  71. a.Parent=Player.PlayerGui
  72.  
  73. b = Instance.new("Frame")
  74. b.Parent=a
  75. b.Visible=true
  76. b.BackgroundTransparency=0.3
  77. b.BackgroundColor3=Color3.fromRGB(0, 0, 0)
  78. b.BorderColor3=Color3.fromRGB(255, 255, 255)
  79. b.BorderSizePixel=3
  80. b.Position=UDim2.new(0.75, 0, 0.75, 0)
  81. b.Size=UDim2.new(0, 200, 0, 100)
  82.  
  83. c = Instance.new("Frame")
  84. c.Parent=a
  85. c.Visible=true
  86. c.BackgroundTransparency=0.3
  87. c.BorderColor3=Color3.fromRGB(255, 255, 255)
  88. c.BorderSizePixel=3
  89. c.BackgroundColor3=Color3.fromRGB(0, 0, 0)
  90. c.Position=UDim2.new(0.875, 0, 0.75, 0)
  91. c.Size=UDim2.new(0, 200, 0, 100)
  92.  
  93. d = Instance.new("Frame")
  94. d.Parent=a
  95. d.Visible=true
  96. d.BackgroundTransparency=0.3
  97. d.BorderColor3=Color3.fromRGB(255, 255, 255)
  98. d.BorderSizePixel=3
  99. d.BackgroundColor3=Color3.fromRGB(0, 0, 0)
  100. d.Position=UDim2.new(0.875, 0, 0.865, 0)
  101. d.Size=UDim2.new(0, 200, 0, 100)
  102.  
  103. e = Instance.new("Frame")
  104. e.Parent=a
  105. e.Visible=true
  106. e.BackgroundTransparency=0.3
  107. e.BorderColor3=Color3.fromRGB(255, 255, 255)
  108. e.BorderSizePixel=3
  109. e.BackgroundColor3=Color3.fromRGB(0, 0, 0)
  110. e.Position=UDim2.new(0.75, 0, 0.865, 0)
  111. e.Size=UDim2.new(0, 200, 0, 100)
  112.  
  113. b2=Instance.new("TextLabel")
  114. b2.Parent=a
  115. b2.BackgroundTransparency=1
  116. b2.BorderColor3=Color3.fromRGB(139, 139, 139)
  117. b2.BorderSizePixel=3
  118. b2.Position=b.Position
  119. b2.Size=UDim2.new(0, 200, 0, 100)
  120. b2.Visible=true
  121. b2.ZIndex=3
  122. b2.Font="SourceSansItalic"
  123. b2.FontSize="Size32"
  124. b2.TextColor3=Color3.fromRGB(255, 255, 255)
  125. b2.TextScaled=false
  126. b2.TextStrokeColor3=Color3.fromRGB(139, 139, 139)
  127. b2.TextTransparency=0
  128. b2.Text=[[
  129. Lustris Fulgo
  130. (Z)
  131. ]]
  132.  
  133. c2=Instance.new("TextLabel")
  134. c2.Parent=a
  135. c2.BackgroundTransparency=1
  136. c2.BorderColor3=Color3.fromRGB(139, 139, 139)
  137. c2.BorderSizePixel=3
  138. c2.Position=c.Position
  139. c2.Size=UDim2.new(0, 200, 0, 100)
  140. c2.Visible=true
  141. c2.ZIndex=3
  142. c2.Font="SourceSansItalic"
  143. c2.FontSize="Size32"
  144. c2.TextColor3=Color3.fromRGB(255, 255, 255)
  145. c2.TextScaled=false
  146. c2.TextStrokeColor3=Color3.fromRGB(139, 139, 139)
  147. c2.TextTransparency=0
  148. c2.Text=[[
  149. Leviter Glomus
  150. (X)
  151. ]]
  152.  
  153. d2=Instance.new("TextLabel")
  154. d2.Parent=a
  155. d2.BackgroundTransparency=1
  156. d2.BorderColor3=Color3.fromRGB(139, 139, 139)
  157. d2.BorderSizePixel=3
  158. d2.Position=d.Position
  159. d2.Size=UDim2.new(0, 200, 0, 100)
  160. d2.Visible=true
  161. d2.ZIndex=3
  162. d2.Font="SourceSansItalic"
  163. d2.FontSize="Size32"
  164. d2.TextColor3=Color3.fromRGB(255, 255, 255)
  165. d2.TextScaled=false
  166. d2.TextStrokeColor3=Color3.fromRGB(139, 139, 139)
  167. d2.TextTransparency=0
  168. d2.Text=[[
  169. Sol Siderea
  170. (V)
  171. ]]
  172.  
  173. e2=Instance.new("TextLabel")
  174. e2.Parent=a
  175. e2.BackgroundTransparency=1
  176. e2.BorderColor3=Color3.fromRGB(139, 139, 139)
  177. e2.BorderSizePixel=3
  178. e2.Position=e.Position
  179. e2.Size=UDim2.new(0, 200, 0, 100)
  180. e2.Visible=true
  181. e2.ZIndex=3
  182. e2.Font="SourceSansItalic"
  183. e2.FontSize="Size32"
  184. e2.TextColor3=Color3.fromRGB(255, 255, 255)
  185. e2.TextScaled=false
  186. e2.TextStrokeColor3=Color3.fromRGB(139, 139, 139)
  187. e2.TextTransparency=0
  188. e2.Text=[[
  189. Portal Storm
  190. (C)
  191. ]]
  192.  
  193. mouse=Player:GetMouse()
  194. --save shoulders
  195. RSH, LSH=nil, nil
  196. --welds
  197. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  198. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  199. LH=Torso["Left Hip"]
  200. RH=Torso["Right Hip"]
  201. TorsoColor=Torso.BrickColor
  202. function NoOutline(Part)
  203. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  204. end
  205. player=Player
  206. ch=Character
  207. RSH=ch.Torso["Right Shoulder"]
  208. LSH=ch.Torso["Left Shoulder"]
  209. --
  210. RSH.Parent=nil
  211. LSH.Parent=nil
  212. --
  213. RW.Name="Right Shoulder"
  214. RW.Part0=ch.Torso
  215. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  216. RW.C1=cf(0, 0.5, 0)
  217. RW.Part1=ch["Right Arm"]
  218. RW.Parent=ch.Torso
  219. --
  220. LW.Name="Left Shoulder"
  221. LW.Part0=ch.Torso
  222. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  223. LW.C1=cf(0, 0.5, 0)
  224. LW.Part1=ch["Left Arm"]
  225. LW.Parent=ch.Torso
  226.  
  227. function swait(num)
  228. if num==0 or num==nil then
  229. game:service'RunService'.Heartbeat:wait(0)
  230. else
  231. for i=0,num do
  232. game:service'RunService'.Heartbeat:wait(0)
  233. end
  234. end
  235. end
  236.  
  237. function nooutline(part)
  238. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  239. end
  240.  
  241. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  242. local fp=it("Part")
  243. fp.formFactor=formfactor
  244. fp.Parent=parent
  245. fp.Reflectance=reflectance
  246. fp.Transparency=transparency
  247. fp.CanCollide=false
  248. fp.Locked=true
  249. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  250. fp.Name=name
  251. fp.Size=size
  252. fp.Position=Character.Torso.Position
  253. nooutline(fp)
  254. fp.Material=material
  255. fp:BreakJoints()
  256. return fp
  257. end
  258.  
  259. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  260. local fp = it("Part")
  261. fp.formFactor = formfactor
  262. fp.Parent = parent
  263. fp.Reflectance = reflectance
  264. fp.Transparency = transparency
  265. fp.CanCollide = false
  266. fp.Locked=true
  267. fp.BrickColor = brickcolor
  268. fp.Name = name
  269. fp.Size = size
  270. fp.Position = EffectPart.Position
  271. NoOutline(fp)
  272. fp.Material="Neon"
  273. fp:BreakJoints()
  274. return fp
  275. end
  276.  
  277. function wweld(parent,part0,part1,c0)
  278. local weld=it("Weld")
  279. weld.Parent=parent
  280. weld.Part0=part0
  281. weld.Part1=part1
  282. weld.C0=c0
  283. return weld
  284. end
  285.  
  286. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  287. local mesh=it(Mesh)
  288. mesh.Parent=part
  289. if Mesh=="SpecialMesh" then
  290. mesh.MeshType=meshtype
  291. mesh.MeshId=meshid
  292. end
  293. mesh.Offset=offset
  294. mesh.Scale=scale
  295. return mesh
  296. end
  297.  
  298. function decal(part,face,texture,transparency,shiny,specular,name)
  299. local d=it("Decal",part)
  300. d.Shiny=shiny
  301. d.Face=face
  302. d.Specular=specular
  303. d.Transparency=transparency
  304. d.Texture=texture
  305. d.Name=name
  306. return d
  307. end
  308.  
  309. function weld(parent,part0,part1,c0,c1)
  310. local weld=it("Weld")
  311. weld.Parent=parent
  312. weld.Part0=part0
  313. weld.Part1=part1
  314. weld.C0=c0
  315. weld.C1=c1
  316. return weld
  317. end
  318.  
  319.  
  320. local function CFrameFromTopBack(at, top, back)
  321. local right = top:Cross(back)
  322. return CFrame.new(at.x, at.y, at.z,
  323. right.x, top.x, back.x,
  324. right.y, top.y, back.y,
  325. right.z, top.z, back.z)
  326. end
  327.  
  328. function Triangle(a, b, c)
  329. local edg1 = (c-a):Dot((b-a).unit)
  330. local edg2 = (a-b):Dot((c-b).unit)
  331. local edg3 = (b-c):Dot((a-c).unit)
  332. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  333. a, b, c = a, b, c
  334. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  335. a, b, c = b, c, a
  336. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  337. a, b, c = c, a, b
  338. else
  339. assert(false, "unreachable")
  340. end
  341.  
  342. local len1 = (c-a):Dot((b-a).unit)
  343. local len2 = (b-a).magnitude - len1
  344. local width = (a + (b-a).unit*len1 - c).magnitude
  345.  
  346. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  347.  
  348. local list = {}
  349.  
  350. local TrailColor = ("Gold")
  351.  
  352. if len1 > 0.01 then
  353. local w1 = Instance.new('WedgePart', m)
  354. game:GetService("Debris"):AddItem(w1,5)
  355. w1.Material = "Neon"
  356. w1.FormFactor = 'Custom'
  357. w1.BrickColor = BrickColor.new(TrailColor)
  358. w1.Transparency = 0
  359. w1.Reflectance = 0
  360. w1.Material = "Neon"
  361. w1.CanCollide = false
  362. NoOutline(w1)
  363. local sz = Vector3.new(0.2, width, len1)
  364. w1.Size = sz
  365. local sp = Instance.new("SpecialMesh",w1)
  366. sp.MeshType = "Wedge"
  367. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  368. w1:BreakJoints()
  369. w1.Anchored = true
  370. w1.Parent = workspace
  371. w1.Transparency = 0.7
  372. table.insert(Effects,{w1,"Disappear",.01})
  373. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  374. table.insert(list,w1)
  375. end
  376.  
  377. if len2 > 0.01 then
  378. local w2 = Instance.new('WedgePart', m)
  379. game:GetService("Debris"):AddItem(w2,5)
  380. w2.Material = "Neon"
  381. w2.FormFactor = 'Custom'
  382. w2.BrickColor = BrickColor.new(TrailColor)
  383. w2.Transparency = 0
  384. w2.Reflectance = 0
  385. w2.Material = "Neon"
  386. w2.CanCollide = false
  387. NoOutline(w2)
  388. local sz = Vector3.new(0.2, width, len2)
  389. w2.Size = sz
  390. local sp = Instance.new("SpecialMesh",w2)
  391. sp.MeshType = "Wedge"
  392. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  393. w2:BreakJoints()
  394. w2.Anchored = true
  395. w2.Parent = workspace
  396. w2.Transparency = 0.7
  397. table.insert(Effects,{w2,"Disappear",.01})
  398. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  399. table.insert(list,w2)
  400. end
  401. return unpack(list)
  402. end
  403.  
  404.  
  405. so = function(id,par,vol,pit)
  406. coroutine.resume(coroutine.create(function()
  407. local sou = Instance.new("Sound",par or workspace)
  408. sou.Volume=vol
  409. sou.Pitch=pit or 1
  410. sou.SoundId=id
  411. swait()
  412. sou:play()
  413. game:GetService("Debris"):AddItem(sou,6)
  414. end))
  415. end
  416.  
  417. function clerp(a,b,t)
  418. local qa = {QuaternionFromCFrame(a)}
  419. local qb = {QuaternionFromCFrame(b)}
  420. local ax, ay, az = a.x, a.y, a.z
  421. local bx, by, bz = b.x, b.y, b.z
  422. local _t = 1-t
  423. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  424. end
  425.  
  426. function QuaternionFromCFrame(cf)
  427. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  428. local trace = m00 + m11 + m22
  429. if trace > 0 then
  430. local s = math.sqrt(1 + trace)
  431. local recip = 0.5/s
  432. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  433. else
  434. local i = 0
  435. if m11 > m00 then
  436. i = 1
  437. end
  438. if m22 > (i == 0 and m00 or m11) then
  439. i = 2
  440. end
  441. if i == 0 then
  442. local s = math.sqrt(m00-m11-m22+1)
  443. local recip = 0.5/s
  444. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  445. elseif i == 1 then
  446. local s = math.sqrt(m11-m22-m00+1)
  447. local recip = 0.5/s
  448. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  449. elseif i == 2 then
  450. local s = math.sqrt(m22-m00-m11+1)
  451. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  452. end
  453. end
  454. end
  455.  
  456. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  457. local xs, ys, zs = x + x, y + y, z + z
  458. local wx, wy, wz = w*xs, w*ys, w*zs
  459. local xx = x*xs
  460. local xy = x*ys
  461. local xz = x*zs
  462. local yy = y*ys
  463. local yz = y*zs
  464. local zz = z*zs
  465. 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))
  466. end
  467.  
  468. function QuaternionSlerp(a, b, t)
  469. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  470. local startInterp, finishInterp;
  471. if cosTheta >= 0.0001 then
  472. if (1 - cosTheta) > 0.0001 then
  473. local theta = math.acos(cosTheta)
  474. local invSinTheta = 1/math.sin(theta)
  475. startInterp = math.sin((1-t)*theta)*invSinTheta
  476. finishInterp = math.sin(t*theta)*invSinTheta
  477. else
  478. startInterp = 1-t
  479. finishInterp = t
  480. end
  481. else
  482. if (1+cosTheta) > 0.0001 then
  483. local theta = math.acos(-cosTheta)
  484. local invSinTheta = 1/math.sin(theta)
  485. startInterp = math.sin((t-1)*theta)*invSinTheta
  486. finishInterp = math.sin(t*theta)*invSinTheta
  487. else
  488. startInterp = t-1
  489. finishInterp = t
  490. end
  491. end
  492. 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
  493. end
  494.  
  495. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  496. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  497. end
  498.  
  499. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  500. if hit.Parent==nil then
  501. return
  502. end
  503. local h=hit.Parent:FindFirstChild("Humanoid")
  504. for _,v in pairs(hit.Parent:children()) do
  505. if v:IsA("Humanoid") then
  506. h=v
  507. end
  508. end
  509. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  510. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  511. end
  512. if hit.Parent.className=="Hat" then
  513. hit=hit.Parent.Parent:findFirstChild("Head")
  514. end
  515. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  516. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  517. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  518. return
  519. end]]
  520. -- hs(hit,1.2)
  521. local c=Instance.new("ObjectValue")
  522. c.Name="creator"
  523. c.Value=game:service("Players").LocalPlayer
  524. c.Parent=h
  525. game:GetService("Debris"):AddItem(c,.5)
  526. local Damage=math.huge
  527. -- h:TakeDamage(Damage)
  528. local blocked=false
  529. local block=hit.Parent:findFirstChild("Block")
  530. if block~=nil then
  531. print(block.className)
  532. if block.className=="NumberValue" then
  533. if block.Value>0 then
  534. blocked=true
  535. if decreaseblock==nil then
  536. block.Value=block.Value-1
  537. end
  538. end
  539. end
  540. if block.className=="IntValue" then
  541. if block.Value>0 then
  542. blocked=true
  543. if decreaseblock~=nil then
  544. block.Value=block.Value-1
  545. end
  546. end
  547. end
  548. end
  549. if blocked==false then
  550. -- h:TakeDamage(Damage)
  551. h.Health=h.Health-Damage
  552. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  553. else
  554. h.Health=h.Health-(Damage/2)
  555. 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)
  556. end
  557. if Type=="Knockdown" then
  558. local hum=hit.Parent.Humanoid
  559. hum.PlatformStand=true
  560. coroutine.resume(coroutine.create(function(HHumanoid)
  561. swait(1)
  562. HHumanoid.PlatformStand=false
  563. end),hum)
  564. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  565. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  566. local bodvol=Instance.new("BodyVelocity")
  567. bodvol.velocity=angle*knockback
  568. bodvol.P=5000
  569. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  570. bodvol.Parent=hit
  571. local rl=Instance.new("BodyAngularVelocity")
  572. rl.P=3000
  573. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  574. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  575. rl.Parent=hit
  576. game:GetService("Debris"):AddItem(bodvol,.5)
  577. game:GetService("Debris"):AddItem(rl,.5)
  578. elseif Type=="Normal" then
  579. local vp=Instance.new("BodyVelocity")
  580. vp.P=500
  581. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  582. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  583. if KnockbackType==1 then
  584. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  585. elseif KnockbackType==2 then
  586. vp.velocity=Property.CFrame.lookVector*knockback
  587. end
  588. if knockback>0 then
  589. vp.Parent=hit.Parent.Torso
  590. end
  591. game:GetService("Debris"):AddItem(vp,.5)
  592. elseif Type=="Up" then
  593. local bodyVelocity=Instance.new("BodyVelocity")
  594. bodyVelocity.velocity=vt(0,60,0)
  595. bodyVelocity.P=5000
  596. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  597. bodyVelocity.Parent=hit
  598. game:GetService("Debris"):AddItem(bodyVelocity,1)
  599. local rl=Instance.new("BodyAngularVelocity")
  600. rl.P=3000
  601. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  602. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  603. rl.Parent=hit
  604. game:GetService("Debris"):AddItem(rl,.5)
  605. elseif Type=="Snare" then
  606. local bp=Instance.new("BodyPosition")
  607. bp.P=2000
  608. bp.D=100
  609. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  610. bp.position=hit.Parent.Torso.Position
  611. bp.Parent=hit.Parent.Torso
  612. game:GetService("Debris"):AddItem(bp,1)
  613. elseif Type=="Target" then
  614. local Targetting = false
  615. if Targetting==false then
  616. ZTarget=hit.Parent.Torso
  617. coroutine.resume(coroutine.create(function(Part)
  618. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  619. swait(5)
  620. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  621. end),ZTarget)
  622. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  623. local targetgui=Instance.new("BillboardGui")
  624. targetgui.Parent=ZTarget
  625. targetgui.Size=UDim2.new(10,100,10,100)
  626. local targ=Instance.new("ImageLabel")
  627. targ.Parent=targetgui
  628. targ.BackgroundTransparency=1
  629. targ.Image="rbxassetid://4834067"
  630. targ.Size=UDim2.new(1,0,1,0)
  631. cam.CameraType="Scriptable"
  632. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  633. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  634. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  635. Targetting=true
  636. RocketTarget=ZTarget
  637. for i=1,Property do
  638. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  639. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  640. swait()
  641. end
  642. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  643. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  644. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  645. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  646. end
  647. Targetting=false
  648. RocketTarget=nil
  649. targetgui.Parent=nil
  650. cam.CameraType="Custom"
  651. end
  652. end
  653. local debounce=Instance.new("BoolValue")
  654. debounce.Name="DebounceHit"
  655. debounce.Parent=hit.Parent
  656. debounce.Value=true
  657. game:GetService("Debris"):AddItem(debounce,Delay)
  658. c=Instance.new("ObjectValue")
  659. c.Name="creator"
  660. c.Value=Player
  661. c.Parent=h
  662. game:GetService("Debris"):AddItem(c,.5)
  663. end
  664. end
  665.  
  666.  
  667. function ShowDamage(Pos, Text, Time, Color)
  668. local Rate = (1 / 30)
  669. local Pos = (Pos or Vector3.new(0, 0, 0))
  670. local Text = (Text or "")
  671. local Time = (Time or 2)
  672. local Color = (Color or Color3.new(1, 0, 0))
  673. local EffectPart = part("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  674. EffectPart.Anchored = true
  675. local BillboardGui = Instance.new("BillboardGui")
  676. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  677. BillboardGui.Adornee = EffectPart
  678. local TextLabel = Instance.new("TextLabel")
  679. TextLabel.BackgroundTransparency = 1
  680. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  681. TextLabel.Text = Text
  682. TextLabel.TextColor3 = Color
  683. TextLabel.TextScaled = true
  684. TextLabel.Font = Enum.Font.ArialBold
  685. TextLabel.Parent = BillboardGui
  686. BillboardGui.Parent = EffectPart
  687. game.Debris:AddItem(EffectPart, (Time + 0.1))
  688. EffectPart.Parent = game:GetService("Workspace")
  689. Delay(0, function()
  690. local Frames = (Time / Rate)
  691. for Frame = 1, Frames do
  692. wait(Rate)
  693. local Percent = (Frame / Frames)
  694. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  695. TextLabel.TextTransparency = Percent
  696. end
  697. if EffectPart and EffectPart.Parent then
  698. EffectPart:Destroy()
  699. end
  700. end)
  701. end
  702.  
  703. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  704. 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))
  705. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  707. 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))
  708. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  710. 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))
  711. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  712. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  713. 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))
  714. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  715. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  716. 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))
  717. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  718. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  719. 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))
  720. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  721. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  722. 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))
  723. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  724. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"White","SwordPart",Vector3.new(1, 1.20000005, 1))
  725. 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))
  726. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  727. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  728. 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))
  729. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  730. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  731. 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))
  732. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  733. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  734. 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))
  735. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  736. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  737. 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))
  738. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  739. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  740. 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))
  741. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  742. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  743. 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))
  744. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  745. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  746. 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))
  747. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  748. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  749. 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))
  750. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  751. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  752. 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))
  753. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  754. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  755. 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))
  756. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  757. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  758. 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))
  759. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  760. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  761. 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))
  762. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  763. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  764. 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))
  765. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  766. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  767. 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))
  768. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  769. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  770. 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))
  771. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  772. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  773. 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))
  774. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  775. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  776. 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))
  777. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  778. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  779. 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))
  780. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  782. 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))
  783. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  784. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"White","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  785. 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))
  786. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Gold","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  787. 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))
  788. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  789. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"White","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  790. 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))
  791.  
  792. DarkRiftF=function(par)
  793. while lol == true do
  794. wait()
  795. local PWN={}
  796. for _,v in pairs(game.Workspace:children()) do
  797. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  798. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  799. table.insert(PWN,v.Torso)
  800. end
  801. end
  802. end
  803. for _,t in pairs(PWN) do
  804. local targ=par.Position-t.Position
  805. local Mag=targ.magnitude
  806. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  807. if Mag<=30 then
  808. t.Parent.Humanoid:TakeDamage(.5)
  809. local rl=Instance.new("BodyAngularVelocity")
  810. rl.P=3000
  811. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  812. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  813. rl.Parent=t
  814. game:GetService("Debris"):AddItem(rl,.1)
  815. end
  816. if Mag<=20 then
  817. t.Parent.Humanoid:TakeDamage(.1)
  818. else
  819. local vl=Instance.new("BodyVelocity")
  820. vl.P=3000
  821. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  822. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  823. vl.Parent=t
  824. game:GetService("Debris"):AddItem(vl,.1)
  825. end
  826. end
  827. end
  828. wait(.08)
  829. end
  830. end
  831.  
  832. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  833. local msh1 = Instance.new("BlockMesh")
  834. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  835. local S=Instance.new("Part")
  836. S.Name="Effect"
  837. S.Material="Neon"
  838. S.formFactor=0
  839. S.Size=Vector3.new(x1,y1,z1)
  840. S.BrickColor=color
  841. S.Reflectance = 0
  842. S.TopSurface=0
  843. S.BottomSurface=0
  844. S.Transparency=0
  845. S.Anchored=false
  846. S.CanCollide=false
  847. S.CFrame=part.CFrame
  848. S.Parent=game.Workspace
  849. msh1.Parent = S
  850. local W=Instance.new("Weld")
  851. W.Parent=S
  852. W.Part0=S
  853. W.Part1=part
  854. W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  855. W.Parent=nil
  856. S.Anchored=true
  857. 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.random(-50,50),math.random(-50,50),math.random(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
  858. end
  859.  
  860. local function WhiteHole(parent,cframe)
  861. local effectsmsh = Instance.new("SpecialMesh")
  862. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  863. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  864. effectsmsh.Scale = Vector3.new(3,3,3)
  865. local effectsg = Instance.new("Part")
  866. effectsg.formFactor = 3
  867. effectsg.CanCollide = false
  868. effectsg.Name = "Effect"
  869. effectsg.Locked = true
  870. effectsg.Transparency = 1
  871. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  872. effectsg.Parent = parent
  873. effectsg.BrickColor = BrickColor.new("Gold")
  874. effectsg.Material="Neon"
  875. coroutine.resume(coroutine.create(function(Part,Mesh)
  876. local Mesh = Instance.new("SpecialMesh")
  877. Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  878. Mesh.MeshType = "Sphere"
  879. -- Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
  880. Part=Instance.new("Part")
  881. Part.Name="Effect"
  882. Part.formFactor=0
  883. Part.Size=Vector3.new(1,1,1)
  884. Part.BrickColor=BrickColor.new("Gold")
  885. Part.Material="Neon"
  886. Part.Reflectance = 0
  887. Part.TopSurface=0
  888. Part.BottomSurface=0
  889. Part.Transparency=0
  890. Part.Anchored=true
  891. NoOutline(Part)
  892. Part.CanCollide=false
  893. Part.CFrame=cframe
  894. Part.Parent=parent
  895. Mesh.Parent = Part
  896. lol=true
  897. coroutine.resume(coroutine.create(function()
  898. DarkRiftF(Part)
  899. end))
  900. for i=0,200 do
  901. wait()
  902. DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.new("Gold"))
  903. Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  904. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  905. end
  906. local fff=200
  907. for i=0,100 do
  908. wait()
  909. DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.new("Gold"))
  910. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  911. end
  912. for i=0,1,0.05 do
  913. wait()
  914. Part.Transparency=Part.Transparency+0.05
  915. Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  916. end
  917. lol=false
  918. Part.Parent=nil
  919. end),nil,nil)
  920. end
  921.  
  922. function makeShockwave(height,color,speed,range,pulse)
  923. local range = range or 2000
  924. local p = Instance.new("Part")
  925. p.Anchored = true
  926. p.CanCollide = false
  927. p.FormFactor = "Custom"
  928. p.BrickColor = color
  929. p.Parent = workspace
  930. local m = Instance.new("SpecialMesh",p)
  931. m.MeshId = "rbxassetid://3270017"
  932. local estimateSurvival = math.floor(range/speed) * 0.03
  933. game:GetService("Debris"):AddItem(p,estimateSurvival)
  934. Spawn(function ()
  935. for i = 1,range,speed do
  936. p.Transparency = 1-math.min(0.5,3-(i/500))
  937. m.Scale = Vector3.new(i,i,i*height)
  938. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  939. wait()
  940. end
  941. p:Destroy()
  942. end)
  943. end
  944.  
  945. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  946. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  947. prt.Anchored=true
  948. prt.CFrame=cframe
  949. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  950. game:GetService("Debris"):AddItem(prt,2)
  951. coroutine.resume(coroutine.create(function(Part,Mesh)
  952. for i=0,2,delay do
  953. wait()
  954. Part.CFrame=Part.CFrame
  955. Part.Transparency=i
  956. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  957. end
  958. Part.Parent=nil
  959. end),prt,msh)
  960. end
  961.  
  962. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  963. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  964. prt.Anchored=true
  965. prt.CFrame=cframe
  966. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  967. game:GetService("Debris"):AddItem(prt,5)
  968. coroutine.resume(coroutine.create(function(Part,Mesh)
  969. for i=0,1,delay do
  970. wait()
  971. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  972. Part.Transparency=i
  973. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  974. end
  975. Part.Parent=nil
  976. end),prt,msh)
  977. end
  978.  
  979. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  980. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  981. if Type~=2 then
  982. prt.Anchored=true
  983. end
  984. prt.CFrame=cframe
  985. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  986. game:GetService("Debris"):AddItem(prt,5)
  987. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  988. local wld=nil
  989. if dur==2 then
  990. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  991. end
  992. for i=0,1,delay do
  993. swait()
  994. if dur==1 then
  995. Part.CFrame=Part.CFrame
  996. elseif dur==2 then
  997. wld.C0=cframe
  998. end
  999. Part.Transparency=i
  1000. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1001. end
  1002. Part.Parent=nil
  1003. end),prt,msh,Type)
  1004. end
  1005.  
  1006. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1007. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1008. prt.Anchored=true
  1009. prt.CFrame=cframe
  1010. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1011. game:GetService("Debris"):AddItem(prt,5)
  1012. coroutine.resume(coroutine.create(function(Part,Mesh)
  1013. for i=0,1,delay do
  1014. swait()
  1015. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1016. Part.Transparency=i
  1017. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1018. end
  1019. Part.Parent=nil
  1020. end),prt,msh)
  1021. end
  1022.  
  1023. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1024. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1025. prt.Anchored=true
  1026. prt.CFrame=cframe
  1027. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1028. game:GetService("Debris"):AddItem(prt,5)
  1029. coroutine.resume(coroutine.create(function(Part,Mesh)
  1030. for i=0,1,delay do
  1031. wait()
  1032. Part.CFrame=Part.CFrame
  1033. Part.Transparency=i
  1034. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1035. end
  1036. Part.Parent=nil
  1037. end),prt,msh)
  1038. end
  1039.  
  1040. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1041. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  1042. prt.Anchored=true
  1043. prt.CFrame=cframe
  1044. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1045. game:GetService("Debris"):AddItem(prt,5)
  1046. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1047. end
  1048.  
  1049. function Blast(parent)
  1050. MagicBlock(BrickColor.new("White"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1051. MagicWaveThing(BrickColor.new("White"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1052. end
  1053.  
  1054. function ChargeBall(parent,t)
  1055. local counter=0
  1056. local size=1
  1057. for i=0,t,1 do
  1058. swait()
  1059. counter=counter+1
  1060. if counter%10==0 then
  1061. if size==3 then
  1062. MagicRing(BrickColor.new("White"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1063. elseif size==2 then
  1064. MagicRing(BrickColor.new("White"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1065. end
  1066. end
  1067. if counter%5==0 then
  1068. if size==1 then
  1069. MagicBlock(BrickColor.new("White"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1070. elseif size==2 then
  1071. MagicBlock(BrickColor.new("White"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1072. elseif size==3 then
  1073. MagicBlock(BrickColor.new("White"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1074. end
  1075. end
  1076. end
  1077. end
  1078.  
  1079. function ChargeBall2(parent,t)
  1080. local counter=0
  1081. local size=1
  1082. for i=0,t,1 do
  1083. swait()
  1084. counter=counter+1
  1085. if counter%10==0 then
  1086. if size==3 then
  1087. MagicRing(BrickColor.new("White"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1088. elseif size==2 then
  1089. MagicRing(BrickColor.new("White"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1090. end
  1091. end
  1092. if counter%5==0 then
  1093. if size==1 then
  1094. MagicBlock(BrickColor.new("White"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1095. MagicWave(BrickColor.new("Gold"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1096. elseif size==2 then
  1097. MagicBlock(BrickColor.new("White"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1098. MagicWave(BrickColor.new("Gold"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1099. elseif size==3 then
  1100. MagicBlock(BrickColor.new("White"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1101. MagicWave(BrickColor.new("Gold"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1102. end
  1103. end
  1104. end
  1105. end
  1106.  
  1107. function MagniDamage(Part,dis,mind,maxd,force,knock)
  1108. for _,c in pairs(workspace:children()) do
  1109. local hum=c:findFirstChild("Humanoid")
  1110. if hum~=nil then
  1111. local head=c:findFirstChild("Torso")
  1112. if head~=nil then
  1113. local targ=head.Position-Part.Position
  1114. local mag=targ.magnitude
  1115. if mag<=dis and c.Name~=Character.Name then
  1116. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  1117. end
  1118. end
  1119. end
  1120. end
  1121. end
  1122.  
  1123. function computeDirection(vec)
  1124. local lenSquared = vec.magnitude * vec.magnitude
  1125. local invSqrt = 1 / math.sqrt(lenSquared)
  1126. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1127. end
  1128.  
  1129. function attackone()
  1130. attack = true
  1131. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1132. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1133. local fx=Hitbox.Touched:connect(function(part)
  1134. local human=part.Parent:findFirstChild("Humanoid")
  1135. if human~=nil and bounce==false then
  1136. bounce=true
  1137. local rndm=math.random(1,#hitsounds)
  1138. local r=rndm
  1139. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1140. end
  1141. end)
  1142. for i = 0,1,0.1 do
  1143. swait()
  1144. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1145. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1146. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1147. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1148. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1149. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1150. end
  1151. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1152. for i = 0,1,0.1 do
  1153. swait()
  1154. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1155. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1156. local h = 5
  1157. 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)
  1158. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1159. 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)
  1160. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1161. scfr = blcf
  1162. elseif not scfr then
  1163. scfr = blcf
  1164. end
  1165. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1166. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1167. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1168. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1169. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1170. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1171. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1172. end
  1173. attack = false
  1174. bounce=false
  1175. scfr=nil
  1176. fx:disconnect()
  1177. con:disconnect()
  1178. end
  1179.  
  1180. function attacktwo()
  1181. attack=true
  1182. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1183. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1184. local fx=Hitbox.Touched:connect(function(part)
  1185. local human=part.Parent:findFirstChild("Humanoid")
  1186. if human~=nil and bounce==false then
  1187. bounce=true
  1188. local rndm=math.random(1,#hitsounds)
  1189. local r=rndm
  1190. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1191. end
  1192. end)
  1193. for i=0,1,.1 do
  1194. swait()
  1195. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1196. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1197. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1198. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1199. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1200. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1201. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1202. end
  1203. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1204. for i = 0,1,0.1 do
  1205. swait()
  1206. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1207. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1208. local h = 5
  1209. 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)
  1210. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1211. 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)
  1212. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1213. scfr = blcf
  1214. elseif not scfr then
  1215. scfr = blcf
  1216. end
  1217. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1218. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1219. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1220. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1221. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1222. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1223. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1224. end
  1225. scfr=nil
  1226. attack=false
  1227. bounce=false
  1228. con:disconnect()
  1229. fx:disconnect()
  1230. end
  1231.  
  1232. function attackthree()
  1233. attack=true
  1234. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1235. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,6222,152222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1236. local fx=Hitbox.Touched:connect(function(part)
  1237. local human=part.Parent:findFirstChild("Humanoid")
  1238. if human~=nil and bounce==false then
  1239. bounce=true
  1240. local rndm=math.random(1,#hitsounds)
  1241. local r=rndm
  1242. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1243. end
  1244. end)
  1245. for i=0,1,.1 do
  1246. swait()
  1247. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1248. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1249. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1250. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1251. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1252. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1253. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1254. end
  1255. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1256. for i = 0,1,0.1 do
  1257. swait()
  1258. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1259. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1260. local h = 5
  1261. 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)
  1262. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1263. 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)
  1264. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1265. scfr = blcf
  1266. elseif not scfr then
  1267. scfr = blcf
  1268. end
  1269. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1270. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1271. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1272. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1273. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1274. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1275. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1276. end
  1277. attack=false
  1278. bounce=false
  1279. scfr=nil
  1280. con:disconnect()
  1281. fx:disconnect()
  1282. end
  1283.  
  1284. function attackfour()
  1285. attack = true
  1286. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1287. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9222,18222,math.random(20,30),"Normal",RootPart,.2,1) end)
  1288. local fx=Hitbox.Touched:connect(function(part)
  1289. local human=part.Parent:findFirstChild("Humanoid")
  1290. if human~=nil and bounce==false then
  1291. bounce=true
  1292. local rndm=math.random(1,#hitsounds)
  1293. local r=rndm
  1294. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1295. end
  1296. end)
  1297. for i = 0,1,0.1 do
  1298. swait()
  1299. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  1300. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  1301. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  1302. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  1303. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  1304. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  1305. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
  1306. end
  1307. so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
  1308. local v=it("BodyVelocity",Torso)
  1309. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  1310. v.velocity=RootPart.CFrame.lookVector*50
  1311. for i = 0,1,0.1 do
  1312. swait()
  1313. local blcf = Hitbox.CFrame*cf(0,0,0)
  1314. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1315. local h = 5
  1316. 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)
  1317. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1318. 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)
  1319. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1320. scfr = blcf
  1321. elseif not scfr then
  1322. scfr = blcf
  1323. end
  1324. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  1325. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1326. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  1327. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  1328. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1329. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1330. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
  1331. end
  1332. v.Parent=nil
  1333. scfr=nil
  1334. attack = false
  1335. bounce=false
  1336. con:disconnect()
  1337. fx:disconnect()
  1338. end
  1339.  
  1340. function LustrisFulgo()
  1341. attack=true
  1342. Humanoid.WalkSpeed=0
  1343. for i=0,1,0.1 do
  1344. swait()
  1345. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
  1346. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
  1347. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
  1348. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
  1349. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
  1350. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
  1351. handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1352. end
  1353. local function boom()
  1354. local pprt=ppart(3,game.Workspace,0,1,BrickColor.new("White"),"Effect",vt(1,1,1))
  1355. pprt.Anchored=true
  1356. pprt.CFrame=EffectPart.CFrame
  1357. game:GetService("Debris"):AddItem(pprt,2)
  1358. MagicCircle(BrickColor.new("White"),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
  1359. so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
  1360. so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
  1361. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("White"),"Effect",vt(1,1,1))
  1362. 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))
  1363. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1364. MagniDamage(wave,20,15222,25222,math.random(20,30),"Knockdown",RootPart)
  1365. for i=0,80 do
  1366. swait()
  1367. MagicBlock(BrickColor.new("White"),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
  1368. MagicCircle(BrickColor.new("White"),EffectPart.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
  1369. wave.Size=vt(1+i,1+i,1+i)
  1370. wavemesh.Scale=vt(1+i,1+i,1+i)
  1371. wave.CFrame=EffectPart.CFrame
  1372. Humanoid.Health=Humanoid.Health+.15
  1373. end
  1374. wave:Destroy()
  1375. end
  1376. boom()
  1377. attack=false
  1378. Humanoid.WalkSpeed=16
  1379. end
  1380.  
  1381. function LeviterGlomus()
  1382. skillattack=true
  1383. attack=true
  1384. for i=0,1,.1 do
  1385. swait()
  1386. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1387. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1388. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  1389. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  1390. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  1391. 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)
  1392. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
  1393. end
  1394. so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
  1395. efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"White","BallEffect",Vector3.new(2, 2, 2))
  1396. 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))
  1397. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  1398. ChargeBall(EffectPart2,35)
  1399. for i=0,1,.1 do
  1400. swait()
  1401. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1402. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1403. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  1404. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  1405. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1406. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1407. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
  1408. end
  1409. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  1410. efprt:BreakJoints()
  1411. local Target=mouse.Hit.p
  1412. local direction = Target - handle.Position
  1413. direction = computeDirection(direction)
  1414. local pos = handle.Position + (direction * 10.0)
  1415. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  1416. local floatForce = Instance.new("BodyForce")
  1417. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  1418. floatForce.Parent = efprt
  1419. efprt.Velocity = direction * 160
  1420. efprt.Touched:connect(function(hit)
  1421. if not hit:IsDescendantOf(Character) then
  1422. if hit.Name~="Effect" then
  1423. MagniDamage(efprt,15,12225,22225,math.random(20,30),"Knockdown",RootPart)
  1424. floatForce.Parent=nil
  1425. efprt.Anchored=true
  1426. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  1427. Blast(efprt)
  1428. efprt:Destroy()
  1429. end
  1430. end
  1431. end)
  1432. game:GetService("Debris"):AddItem(efprt,6)
  1433. attack=false
  1434. end
  1435.  
  1436. function PortalStorm()
  1437. Humanoid.WalkSpeed=0
  1438. skillattack3=true
  1439. attack=true
  1440. for i=0,1,.1 do
  1441. swait()
  1442. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1443. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1444. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
  1445. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
  1446. 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)
  1447. 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)
  1448. handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
  1449. end
  1450. so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
  1451. ChargeBall2(handle,100)
  1452. makeShockwave(0.5,BrickColor.new("Gold"),30,1000,0)
  1453. MagicWave(BrickColor.new("Gold"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1454. so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
  1455. wait(2)
  1456. so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
  1457. delay(0.5,function ()
  1458. MagniDamage(Torso,2000,32225,52220,math.random(50,70),"Knockdown",RootPart)
  1459. end)
  1460. Humanoid.Health=Humanoid.Health-0
  1461. makeShockwave(4,BrickColor.new("Teal"),10,2000,1)
  1462. attack=false
  1463. Humanoid.WalkSpeed=9
  1464. wait(4)
  1465. Humanoid.WalkSpeed=16
  1466. end
  1467.  
  1468. function SolSiderea()
  1469. Humanoid.WalkSpeed=0
  1470. skillattack2=true
  1471. attack=true
  1472. so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  1473. for i=0,1,.1 do
  1474. swait()
  1475. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1476. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1477. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  1478. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  1479. 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)
  1480. 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)
  1481. handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  1482. end
  1483. for i=0,1,.1 do
  1484. swait()
  1485. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1486. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1487. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  1488. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  1489. 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)
  1490. 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)
  1491. handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  1492. end
  1493. coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  1494. local n=2
  1495. local orb=ppart(3,Character,0,1,BrickColor.new("Gold"),"Orb",vt())
  1496. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  1497. local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  1498. for i=1,0.3,-0.01 do
  1499. wait()
  1500. orb.Transparency=i
  1501. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  1502. MagicBlock(BrickColor.new("Gold"),orb.CFrame,15,15,15,2,2,2,0.1)
  1503. local ef=ppart(3,workspace,0,0,BrickColor.new("Gold"),"Effect",vt())
  1504. ef.Anchored=true
  1505. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  1506. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  1507. ef.CFrame=orb.CFrame*ceef
  1508. game:GetService("Debris"):AddItem(ef,2)
  1509. coroutine.resume(coroutine.create(function(Part,Mesh)
  1510. for i=0,1,0.1 do
  1511. wait()
  1512. Part.Transparency=i
  1513. Part.CFrame=Part.CFrame*cf(0,-1,0)
  1514. end
  1515. Part.Parent=nil
  1516. end),ef,emsh)
  1517. end
  1518. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  1519. wait(.5)
  1520. orb.Parent=nil
  1521. wait(1)
  1522. local hit,pos = rayCast(orb.Position,Pos,1000,Character)
  1523. local mag=(orb.Position-pos).magnitude
  1524. WhiteHole(game.Workspace,cf(pos))
  1525. coroutine.resume(coroutine.create(function()
  1526. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("White"),"Effect",vt(1,1,1))
  1527. wweld(game.Workspace,wave,orb,Torso.CFrame)
  1528. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1529. for i=1,100 do
  1530. swait()
  1531. wave.Size=vt(1+i,1+i,1+i)
  1532. wavemesh.Scale=vt(1+i,1+i,1+i)
  1533. wave.CFrame=cf(pos)
  1534. end
  1535. end))
  1536. coroutine.resume(coroutine.create(function()
  1537. for i=0,20 do
  1538. swait(15)
  1539. local range = 1500
  1540. local p = Instance.new("Part")
  1541. p.Anchored = true
  1542. p.CanCollide = false
  1543. p.FormFactor = "Custom"
  1544. p.BrickColor = BrickColor.new("Gold")
  1545. p.Parent = workspace
  1546. p.Name="Effect"
  1547. p.CFrame=cf(pos)
  1548. local m = Instance.new("SpecialMesh",p)
  1549. m.MeshId = "rbxassetid://3270017"
  1550. local estimateSurvival = math.floor(range/30) * 0.03
  1551. game:GetService("Debris"):AddItem(p,estimateSurvival)
  1552. Spawn(function ()
  1553. for i = 1,range,30 do
  1554. p.Transparency = 1-math.min(0.5,3-(i/500))
  1555. m.Scale = Vector3.new(i,i,i*0.5)
  1556. p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
  1557. wait()
  1558. end
  1559. p:Destroy()
  1560. end)
  1561. end
  1562. end))
  1563. MagicCylinder(BrickColor.new("Gold"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  1564. for i=1,2 do
  1565. end
  1566. for i=1,5 do
  1567. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  1568. end
  1569. for i=0,5 do
  1570. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  1571. end
  1572. local ref=ppart(3,workspace,0,1,BrickColor.new("Gold"),"Effect",vt())
  1573. ref.CFrame=cf(pos)
  1574. coroutine.resume(coroutine.create(function(Part)
  1575. wait(1)
  1576. Part.Parent=nil
  1577. end),ref)
  1578. MagniDamage(ref,25,22220,32220,40,"Knockdown",ref)
  1579. if hit~=nil then
  1580. Damagefunc(ref,hit,5022,70222,60,"Knockdown",RootPart,0)
  1581. end
  1582. local n=2
  1583. MagicWave(BrickColor.new("Gold"),cf(pos)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1584. swait(75)
  1585. Humanoid.WalkSpeed=16
  1586. attack=false
  1587. end
  1588.  
  1589. attacktype=1
  1590. mouse.Button1Down:connect(function()
  1591. if attacktype==1 and attack==false then
  1592. attacktype=2
  1593. attackone()
  1594. elseif attacktype==2 and attack==false then
  1595. attacktype=3
  1596. attacktwo()
  1597. elseif attacktype==3 and attack==false then
  1598. attacktype=4
  1599. attackthree()
  1600. elseif attacktype==4 and attack==false then
  1601. attacktype=1
  1602. attackfour()
  1603. end
  1604. end)
  1605.  
  1606. mouse.KeyDown:connect(function(k)
  1607. k=k:lower()
  1608. if skillattack == false and attack == false and k == 'x' then
  1609. c.Size=UDim2.new(0, 0, 0, 100)
  1610. LeviterGlomus()
  1611. ChargeBall(efprt,100)
  1612. for i = 1, 100 do
  1613. skillattack=true
  1614. c.Size=c.Size+UDim2.new(0, 2, 0, 0)
  1615. wait()
  1616. end
  1617. skillattack=false
  1618. end
  1619. if skillattack1 == false and attack == false and k == 'z' then
  1620. b.Size=UDim2.new(0, 0, 0, 100)
  1621. LustrisFulgo()
  1622. for i = 1, 50 do
  1623. skillattack1=true
  1624. b.Size=b.Size+UDim2.new(0, 4, 0, 0)
  1625. wait()
  1626. end
  1627. skillattack1=false
  1628. end
  1629. if skillattack2 == false and attack == false and k == 'v' and deeznuts==false then
  1630. d.Size=UDim2.new(0, 0, 0, 100)
  1631. SolSiderea()
  1632. for i = 1, 200 do
  1633. deeznuts=true
  1634. skillattack2=true
  1635. d.Size=d.Size+UDim2.new(0, 1, 0, 0)
  1636. wait(0.05)
  1637. end
  1638. deeznuts=false
  1639. skillattack2=false
  1640. end
  1641. if skillattack3 == false and attack == false and k == 'c' and cooldown==false then
  1642. e.Size=UDim2.new(0, 0, 0, 100)
  1643. cooldown=true
  1644. PortalStorm()
  1645. cooldown=false
  1646. for i = 1, 200 do
  1647. skillattack3=true
  1648. e.Size=e.Size+UDim2.new(0, 1, 0, 0)
  1649. wait()
  1650. end
  1651. skillattack3=false
  1652. end
  1653. end)
  1654.  
  1655.  
  1656. local sine = 0
  1657. local change = 1
  1658. local val = 0
  1659.  
  1660. while true do
  1661. swait()
  1662. sine = sine + change
  1663. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1664. local velderp=RootPart.Velocity.y
  1665. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1666. if equipped==true or equipped==false then
  1667. if attack==false then
  1668. idle=idle+1
  1669. else
  1670. idle=0
  1671. end
  1672. if idle>=500 then
  1673. if attack==false then
  1674. end
  1675. end
  1676. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1677. Anim="Jump"
  1678. if attack==false then
  1679. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1680. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1681. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  1682. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  1683. 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)
  1684. 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)
  1685. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1686. end
  1687. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1688. Anim="Fall"
  1689. if attack==false then
  1690. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1691. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  1692. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  1693. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  1694. 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)
  1695. 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)
  1696. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1697. end
  1698. elseif torvel<1 and hitfloor~=nil then
  1699. Anim="Idle"
  1700. if attack==false then
  1701. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  1702. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  1703. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  1704. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1705. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  1706. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4),math.rad(-95),math.rad(0)),.3)
  1707. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
  1708. end
  1709. elseif torvel>2 and hitfloor~=nil then
  1710. Anim="Walk"
  1711. if attack==false then
  1712. change=3
  1713. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1714. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  1715. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  1716. 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)
  1717. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1718. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1719. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1720. end
  1721. end
  1722. end
  1723. if #Effects>0 then
  1724. for e=1,#Effects do
  1725. if Effects[e]~=nil then
  1726. local Thing=Effects[e]
  1727. if Thing~=nil then
  1728. local Part=Thing[1]
  1729. local Mode=Thing[2]
  1730. local Delay=Thing[3]
  1731. local IncX=Thing[4]
  1732. local IncY=Thing[5]
  1733. local IncZ=Thing[6]
  1734. if Thing[1].Transparency<=1 then
  1735. if Thing[2]=="Block1" then
  1736. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1737. Mesh=Thing[1].Mesh
  1738. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1739. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1740. elseif Thing[2]=="Cylinder" then
  1741. Mesh=Thing[1].Mesh
  1742. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1743. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1744. elseif Thing[2]=="Blood" then
  1745. Mesh=Thing[7]
  1746. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1747. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1748. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1749. elseif Thing[2]=="Elec" then
  1750. Mesh=Thing[1].Mesh
  1751. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1752. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1753. elseif Thing[2]=="Disappear" then
  1754. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1755. end
  1756. else
  1757. Part.Parent=nil
  1758. table.remove(Effects,e)
  1759. end
  1760. end
  1761. end
  1762. end
  1763. end
  1764. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement