Advertisement
GojiGaming1337

Untitled

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