Kaduzinho_BR

The Unknown[FIXED]

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