Advertisement
Guest User

Underscores real sword

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