Advertisement
Kaduzinho_BR

The Unknown

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