Advertisement
DDDDDtuij

NO

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