Advertisement
miguel1131

v3millon

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