Advertisement
memesbruh03

axe thing my edit

Sep 13th, 2016
436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 68.51 KB | None | 0 0
  1. col="Institutional white" -- either type in brick colour names or valid lua colour values (like 255 for example)
  2. col2="Lime green"
  3.  
  4. -- edited by adchand2 ¬_¬
  5.  
  6. wait(0.016666666666667)
  7. Effects = {}
  8. local Player = game.Players.LocalPlayer
  9. local Character = Player.Character
  10. local Humanoid = Character.Humanoid
  11. local mouse = Player:GetMouse()
  12. local m = Instance.new("Model", Character)
  13. m.Name = "WeaponModel"
  14. local LeftArm = Character["Left Arm"]
  15. local RightArm = Character["Right Arm"]
  16. local LeftLeg = Character["Left Leg"]
  17. local RightLeg = Character["Right Leg"]
  18. local Head = Character.Head
  19. local Torso = Character.Torso
  20. local cam = game.Workspace.CurrentCamera
  21. local RootPart = Character.HumanoidRootPart
  22. local RootJoint = RootPart.RootJoint
  23. local equipped = false
  24. local attack = false
  25. local Anim = "Idle"
  26. local idle = 0
  27. local attacktype = 1
  28. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  29. local velocity = RootPart.Velocity.y
  30. local sine = 0
  31. local change = 1
  32. local grabbed = false
  33. local cf = CFrame.new
  34. local mr = math.rad
  35. local angles = CFrame.Angles
  36. local ud = UDim2.new
  37. local vt = Vector3.new
  38. local c3 = Color3.new
  39. local mana = 0
  40. local mananum = 0
  41. local it = Instance.new
  42. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  43. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  44. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  45. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  46. xenabled = true
  47. cenabled = true
  48. venabled = true
  49. zenabled = true
  50. RSH = nil
  51. RW = Instance.new("Weld")
  52. LW = Instance.new("Weld")
  53. RH = Torso["Right Hip"]
  54. LH = Torso["Left Hip"]
  55. RSH = Torso["Right Shoulder"]
  56. LSH = Torso["Left Shoulder"]
  57. RSH.Parent = nil
  58. LSH.Parent = nil
  59. RW.Name = "RW"
  60. RW.Part0 = Torso
  61. RW.C0 = cf(1.5, 0.5, 0)
  62. RW.C1 = cf(0, 0.5, 0)
  63. RW.Part1 = RightArm
  64. RW.Parent = Torso
  65. LW.Name = "LW"
  66. LW.Part0 = Torso
  67. LW.C0 = cf(-1.5, 0.5, 0)
  68. LW.C1 = cf(0, 0.5, 0)
  69. LW.Part1 = LeftArm
  70. LW.Parent = Torso
  71. clerp = function(a, b, t)
  72.   return a:lerp(b, t)
  73. end
  74.  
  75.  
  76. ----------------------------------------------------
  77. z = Instance.new("Sound", Character)
  78. z.SoundId = "rbxassetid://257341751"--
  79. z.Looped = true
  80. z.Pitch = 1
  81. z.Volume = 1
  82. wait(.1)
  83. z:Play()
  84. ----------------------------------------------------
  85.  
  86. local plyrss=workspace:FindFirstChild(Player)
  87. plyrss["Body Colors"]:Destroy()
  88. b=Instance.new("BodyColors",plyrss)
  89. plyrss.Head.face.Texture = "http://www.roblox.com/asset/?id=357548395"
  90. stuff=plyrss:GetChildren()
  91. if stuff.IsA("Hat") or stuff:IsA("Accessory") then
  92. stuff:remove()
  93.  
  94. ArtificialHB = Instance.new("BindableEvent", script)
  95. ArtificialHB.Name = "Heartbeat"
  96. script:WaitForChild("Heartbeat")
  97.   frame = 0.016666666666667
  98. tf = 0
  99. allowframeloss = false
  100. tossremainder = false
  101. lastframe = tick()
  102. script.Heartbeat:Fire()
  103. game:GetService("RunService").Heartbeat:connect(function(s, p)
  104.   tf = tf + s
  105.   if frame <= tf then
  106.     if allowframeloss then
  107.       script.Heartbeat:Fire()
  108.       lastframe = tick()
  109.     else
  110.       for i = 1, math.floor(tf / frame) do
  111.         script.Heartbeat:Fire()
  112.       end
  113.       lastframe = tick()
  114.     end
  115.     if tossremainder then
  116.       tf = 0
  117.     else
  118.       tf = tf - frame * math.floor(tf / frame)
  119.     end
  120.   end
  121. end
  122. )
  123. swait = function(num)
  124.   if num == 0 or num == nil then
  125.     ArtificialHB.Event:wait()
  126.   else
  127.     for i = 0, num do
  128.       ArtificialHB.Event:wait()
  129.     end
  130.   end
  131. end
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138. Magik = function(part)
  139.     Spawn(function()
  140.         local function lerp(a,b,c)
  141.             return a+(b-a)*c   
  142.         end
  143.         local function rndRange(rng)
  144.             return math.random(-rng*1000,rng*1000)/1000
  145.         end
  146.         local magik = Instance.new("Part", part)
  147.         magik.Anchored = true
  148.         magik.Locked = true
  149.         magik.Material = "Neon"
  150.         magik.FormFactor = "Custom"
  151.         magik.Size = Vector3.new(1.2, 1.2, 1.2)
  152.         magik.TopSurface = "Smooth"
  153.         magik.BottomSurface = "Smooth"
  154.         magik.Transparency = 0
  155.         magik.CanCollide = false
  156.  
  157.              magik.BrickColor = BrickColor.new(col2)
  158.        
  159.         local mr = math.rad
  160.         local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  161.         local cf = part.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  162.         magik.CFrame = cf
  163.         for i = 0, 1, .05 do
  164.             local newTrans = lerp(.8, 1, i)
  165.             local ns = lerp(1,1.2,i)
  166.             magik.Transparency = newTrans
  167.             magik.Size = Vector3.new(ns,ns,ns)
  168.             magik.CFrame = cf
  169.             wait()
  170.         end
  171.         magik:Destroy()
  172.         wait()
  173.     end)
  174. end
  175. ----------------------------------------------------
  176. Magik2 = function(part)
  177.     Spawn(function()
  178.         local function lerp(a,b,c)
  179.             return a+(b-a)*c   
  180.         end
  181.         local function rndRange(rng)
  182.             return math.random(-rng*1000,rng*1000)/1000
  183.         end
  184.         local magik2 = Instance.new("Part",part)
  185.         magik2.Anchored = true
  186.         magik2.Locked = true
  187.         magik2.FormFactor = "Custom"
  188.         magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  189.         magik2.TopSurface = "Smooth"
  190.         magik2.BottomSurface = "Smooth"
  191.         magik2.Transparency = 0
  192.         magik2.Material = "Neon"
  193.         magik2.CanCollide = false
  194.  
  195.  
  196.         magik2.BrickColor = BrickColor.new(col)
  197.  
  198.  
  199.         local mr = math.rad
  200.         local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  201.         local cf = part.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  202.         magik2.CFrame = cf
  203.         for i = 0, 1, .05 do
  204.             local newTrans = lerp(.8, 1, i)
  205.             local ns = lerp(1,1.2,i)
  206.             magik2.Transparency = newTrans
  207.             magik2.Size = Vector3.new(ns,ns,ns)
  208.             magik2.CFrame = cf
  209.             wait()
  210.         end
  211.         magik2:Destroy()
  212.     end)
  213. end
  214.  
  215.  
  216.  
  217. Spawn(function()
  218.     while wait(.1) do
  219.         Magik(RightArm)
  220.     end
  221. end)
  222.  
  223. Spawn(function()
  224.     while wait(.1) do
  225.         Magik2(RightArm)   
  226.     end
  227. end)
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236. FloatPart = function()
  237.     local Part = Instance.new('Part',Torso)
  238.     Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  239.     Part.Anchored = true
  240.     Part.Material = 'Neon'
  241.     Part.CanCollide = false
  242.     Part.BrickColor = BrickColor.new(col)
  243.     local Mesh = Instance.new('SpecialMesh',Part)
  244.     Mesh.Scale = Vector3.new(4,4,.2)
  245.     Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  246.     Mesh.VertexColor = Vector3.new(0,170,255)
  247.     spawn(function()
  248.         for i = 1,30 do
  249.             Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  250.             Part.Transparency = Part.Transparency + .035
  251.             game["Run Service"].RenderStepped:wait()
  252.         end
  253.         Part:Destroy()
  254.     end)
  255. end;
  256.  
  257. DubPart = function()
  258.     local Part = Instance.new('Part',Torso)
  259.     Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  260.     Part.Anchored = true
  261.     Part.CanCollide = false
  262.     Part.Material = 'Neon'
  263.     Part.BrickColor = BrickColor.new(col2)
  264.     local Mesh = Instance.new('SpecialMesh',Part)
  265.     Mesh.Scale = Vector3.new(7,7,.2)
  266.     Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  267.     Mesh.VertexColor = Vector3.new(0,170,255)
  268.     spawn(function()
  269.         for i = 1,30 do
  270.             Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  271.             Part.Transparency = Part.Transparency + .035
  272.             game["Run Service"].RenderStepped:wait()
  273.         end
  274.         Part:Destroy()
  275.     end)
  276. end;
  277.  
  278. Fade = function(Item,t)
  279.     spawn(function()
  280.         for i = 1,20 do
  281.             Item.Transparency = Item.Transparency + .05
  282.             if t then
  283.                 wait(t)
  284.             else
  285.                 wait()
  286.             end
  287.         end
  288.         Item:Destroy()
  289.     end)
  290. end
  291.  
  292. Particle = function(PrimaryColor)
  293.     local Part = Instance.new('Part',Torso)
  294.     Part.BrickColor = BrickColor.new(col)
  295.     Part.Anchored = true
  296.     Part.Transparency = .3
  297.     Part.CanCollide = false
  298.     Part.CFrame = Torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
  299.     local Mesh = Instance.new('BlockMesh',Part)
  300.     Mesh.Scale = Vector3.new(.05,.1,.1)
  301.     spawn(function()
  302.         for i = 1,40 do
  303.             Part.Transparency = Part.Transparency + .0125
  304.             Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  305.             game["Run Service"].RenderStepped:wait()
  306.         end
  307.         Part:Destroy()
  308.     end)
  309. end;
  310.  
  311. --[[spawn(function()
  312.     while wait() do
  313.         wait(.05)
  314.         FloatPart()
  315.         wait(.08)
  316.         FloatPart()
  317.         wait(.05)
  318.         DubPart()
  319.         wait(.08)
  320.     end
  321. end)]]
  322.  
  323. game["Run Service"].RenderStepped:connect(function(_)
  324.     Particle("Royal purple")
  325.     Particle("Really black")
  326.     --Character['HumanoidRootPart'].C1 = Character['HumanoidRootPart'].C1 * CFrame.new(0,Height+math.sin(tick())/150,0)
  327. end)
  328.  
  329.  
  330.  
  331. particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread)
  332.   local fp = it("ParticleEmitter")
  333.   fp.Parent = parent
  334.   fp.Color = cs(col1, col2)
  335.   fp.LightEmission = lightemis
  336.   fp.Size = size
  337.   fp.Texture = texture
  338.   fp.Transparency = transparency
  339.   fp.ZOffset = zoffset
  340.   fp.Acceleration = accel
  341.   fp.Drag = drag
  342.   fp.LockedToPart = ltp
  343.   fp.VelocityInheritance = velinher
  344.   fp.EmissionDirection = emisdir
  345.   fp.Enabled = enabled
  346.   fp.Lifetime = lifetime
  347.   fp.Rate = rate
  348.   fp.Rotation = rotation
  349.   fp.RotSpeed = rotspeed
  350.   fp.Speed = speed
  351.   fp.VelocitySpread = velspread
  352.   return fp
  353. end
  354.  
  355.  
  356.  
  357.  
  358. local fengui = it("GuiMain")
  359. fengui.Parent = Player.PlayerGui
  360. fengui.Name = "WeaponGUI"
  361. local fenframe1 = it("TextLabel")
  362. fenframe1.Parent = fengui
  363. fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  364. fenframe1.BackgroundTransparency = 0.3
  365. fenframe1.BorderSizePixel = 5
  366. fenframe1.BorderColor3 = Color3.new(1, 1, 1)
  367. fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0)
  368. fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0)
  369. fenframe1.Text = "Z"
  370. fenframe1.TextWrapped = true
  371. fenframe1.FontSize = 7
  372. fenframe1.TextColor3 = Color3.new(1, 1, 1)
  373. local fenframe1a = it("TextLabel")
  374. fenframe1a.Parent = fengui
  375. fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  376. fenframe1a.BackgroundTransparency = 0.3
  377. fenframe1a.BorderSizePixel = 5
  378. fenframe1a.BorderColor3 = Color3.new(1, 1, 1)
  379. fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0)
  380. fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0)
  381. fenframe1a.Text = ""
  382. local fenframe2 = it("TextLabel")
  383. fenframe2.Parent = fengui
  384. fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  385. fenframe2.BackgroundTransparency = 0.3
  386. fenframe2.BorderSizePixel = 5
  387. fenframe2.BorderColor3 = Color3.new(1, 1, 1)
  388. fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0)
  389. fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0)
  390. fenframe2.Text = "X"
  391. fenframe2.TextWrapped = true
  392. fenframe2.FontSize = 7
  393. fenframe2.TextColor3 = Color3.new(1, 1, 1)
  394. local fenframe2a = it("TextLabel")
  395. fenframe2a.Parent = fengui
  396. fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  397. fenframe2a.BackgroundTransparency = 0.3
  398. fenframe2a.BorderSizePixel = 5
  399. fenframe2a.BorderColor3 = Color3.new(1, 1, 1)
  400. fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0)
  401. fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0)
  402. fenframe2a.Text = ""
  403. local fenframe3 = it("TextLabel")
  404. fenframe3.Parent = fengui
  405. fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  406. fenframe3.BackgroundTransparency = 0.3
  407. fenframe3.BorderSizePixel = 5
  408. fenframe3.BorderColor3 = Color3.new(1, 1, 1)
  409. fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0)
  410. fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0)
  411. fenframe3.Text = "C"
  412. fenframe3.TextWrapped = true
  413. fenframe3.FontSize = 7
  414. fenframe3.TextColor3 = Color3.new(1, 1, 1)
  415. local fenframe3a = it("TextLabel")
  416. fenframe3a.Parent = fengui
  417. fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  418. fenframe3a.BackgroundTransparency = 0.3
  419. fenframe3a.BorderSizePixel = 5
  420. fenframe3a.BorderColor3 = Color3.new(1, 1, 1)
  421. fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0)
  422. fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0)
  423. fenframe3a.Text = ""
  424. local fenframe4 = it("TextLabel")
  425. fenframe4.Parent = fengui
  426. fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  427. fenframe4.BackgroundTransparency = 0.3
  428. fenframe4.BorderSizePixel = 5
  429. fenframe4.BorderColor3 = Color3.new(1, 1, 1)
  430. fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0)
  431. fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0)
  432. fenframe4.Text = "V"
  433. fenframe4.TextWrapped = true
  434. fenframe4.FontSize = 7
  435. fenframe4.TextColor3 = Color3.new(1, 1, 1)
  436. local fenframe4a = it("TextLabel")
  437. fenframe4a.Parent = fengui
  438. fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  439. fenframe4a.BackgroundTransparency = 0.3
  440. fenframe4a.BorderSizePixel = 5
  441. fenframe4a.BorderColor3 = Color3.new(1, 1, 1)
  442. fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0)
  443. fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0)
  444. fenframe4a.Text = ""
  445. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  446. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  447. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  448. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  449. local RbxUtility = LoadLibrary("RbxUtility")
  450. local Create = RbxUtility.Create
  451. RemoveOutlines = function(part)
  452.   part.TopSurface = 10
  453. end
  454.  
  455. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  456.   local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  457.   RemoveOutlines(Part)
  458.   return Part
  459. end
  460.  
  461. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  462.   local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  463.   if Mesh == "SpecialMesh" then
  464.     Msh.MeshType = MeshType
  465.     Msh.MeshId = MeshId
  466.   end
  467.   return Msh
  468. end
  469.  
  470. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  471.   local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  472.   return Weld
  473. end
  474.  
  475. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  476.   if hit.Parent == nil then
  477.     return
  478.   end
  479.   local h = hit.Parent:FindFirstChild("Humanoid")
  480.   for _,v in pairs(hit.Parent:children()) do
  481.     if v:IsA("Humanoid") then
  482.       h = v
  483.     end
  484.   end
  485.   if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  486.     if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  487.       return
  488.     end
  489.     local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  490.     game:GetService("Debris"):AddItem(c, 0.5)
  491.     if HitSound ~= nil and HitPitch ~= nil then
  492.       CreateSound(HitSound, hit, 1, HitPitch)
  493.     end
  494.     local Damage = math.random(minim, maxim)
  495.     local blocked = false
  496.     local block = hit.Parent:findFirstChild("Block")
  497.     if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  498.       blocked = true
  499.       block.Value = block.Value - 1
  500.       print(block.Value)
  501.     end
  502.     if blocked == false then
  503.       HitHealth = h.Health
  504.       h.Health = h.Health - Damage
  505.       if mana < 100 then
  506.         mana = mana + math.random(5, 10)
  507.       end
  508.       if mana > 100 then
  509.         mana = 100
  510.       end
  511.       if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  512.       end
  513.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  514.     else
  515.       h.Health = h.Health - Damage / 2
  516.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  517.     end
  518.     if Type == "Knockdown" then
  519.       local hum = hit.Parent.Humanoid
  520.       hum.PlatformStand = true
  521.       coroutine.resume(coroutine.create(function(HHumanoid)
  522.     swait(1)
  523.     HHumanoid.PlatformStand = false
  524.   end
  525. ), hum)
  526.       local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  527.       local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  528.       local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  529.       game:GetService("Debris"):AddItem(bodvol, 0.5)
  530.       game:GetService("Debris"):AddItem(rl, 0.5)
  531.     else
  532.       do
  533.         if Type == "Normal" then
  534.           local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  535.           if knockback > 0 then
  536.             vp.Parent = hit.Parent.Torso
  537.           end
  538.           game:GetService("Debris"):AddItem(vp, 0.5)
  539.         else
  540.           do
  541.             if Type == "Up" then
  542.               local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  543.               game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  544.             else
  545.               do
  546.                 if Type == "DarkUp" then
  547.                   coroutine.resume(coroutine.create(function()
  548.     for i = 0, 1, 0.1 do
  549.       swait()
  550.       BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  551.     end
  552.   end
  553. ))
  554.                   local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  555.                   game:GetService("Debris"):AddItem(bodyVelocity, 1)
  556.                 else
  557.                   do
  558.                     if Type == "Snare" then
  559.                       local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  560.                       game:GetService("Debris"):AddItem(bp, 1)
  561.                     else
  562.                       do
  563.                         if Type == "Freeze" then
  564.                           local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  565.                           local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  566.                           hit.Parent.Torso.Anchored = true
  567.                           coroutine.resume(coroutine.create(function(Part)
  568.     swait(1.5)
  569.     Part.Anchored = false
  570.   end
  571. ), hit.Parent.Torso)
  572.                           game:GetService("Debris"):AddItem(BodPos, 3)
  573.                           game:GetService("Debris"):AddItem(BodGy, 3)
  574.                         end
  575.                         do
  576.                           local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  577.                           game:GetService("Debris"):AddItem(debounce, Delay)
  578.                           c = Instance.new("ObjectValue")
  579.                           c.Name = "creator"
  580.                           c.Value = Player
  581.                           c.Parent = h
  582.                           game:GetService("Debris"):AddItem(c, 0.5)
  583.                         end
  584.                       end
  585.                     end
  586.                   end
  587.                 end
  588.               end
  589.             end
  590.           end
  591.         end
  592.       end
  593.     end
  594.   end
  595. end
  596.  
  597. ShowDamage = function(Pos, Text, Time, Color)
  598.   local Rate = 0.033333333333333
  599.   if not Pos then
  600.     local Pos = Vector3.new(0, 0, 0)
  601.   end
  602.   local Text = Text or ""
  603.   local Time = Time or 2
  604.   if not Color then
  605.     local Color = Color3.new(1, 0, 1)
  606.   end
  607.   local EffectPart = CreatePart(workspace, "Marble", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  608.   EffectPart.Anchored = true
  609.   local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  610.   local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  611.   game.Debris:AddItem(EffectPart, Time + 0.1)
  612.   EffectPart.Parent = game:GetService("Workspace")
  613.   delay(0, function()
  614.     local Frames = Time / Rate
  615.     for Frame = 1, Frames do
  616.       wait(Rate)
  617.       local Percent = Frame / Frames
  618.       EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  619.       TextLabel.TextTransparency = Percent
  620.     end
  621.     if EffectPart and EffectPart.Parent then
  622.       EffectPart:Destroy()
  623.     end
  624.   end
  625. )
  626. end
  627.  
  628. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  629.   for _,c in pairs(workspace:children()) do
  630.     local hum = c:findFirstChild("Humanoid")
  631.     if hum ~= nil then
  632.       local head = c:findFirstChild("Torso")
  633.       if head ~= nil then
  634.         local targ = head.Position - Part.Position
  635.         local mag = targ.magnitude
  636.         if mag <= magni and c.Name ~= Player.Name then
  637.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  638.         end
  639.       end
  640.     end
  641.   end
  642. end
  643.  
  644. Handle = CreatePart(m, Enum.Material.Marble, 0, 1, "Royal purple", "Handle", Vector3.new(0.200000003, 1.57000017, 0.200000003))
  645. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.982839942, 0.146006823, 0.234023571, 0.211453959, -0.977137685, 0.0221185088, -0.0402157828, -0.0313093588, -0.99870044, 0.976560295, 0.210289627, -0.0459168404))
  646. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
  647. FakeHandle = CreatePart(m, Enum.Material.Marble, 0, 1, "Royal purple", "FakeHandle", Vector3.new(0.200000003, 1.57000017, 0.200000003))
  648. FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  649. Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1, 0.200000003))
  650. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.07288361e-006, 0.683865368, -4.76837158e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  651. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(2, 0.5, 2))
  652. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  653. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.31791997, -0.975689411, 2.925138, 3.06405127e-006, 0.707111418, 0.707102299, -0.999756992, 0.0155918654, -0.0155877285, -0.0220473036, -0.706930399, 0.706939638))
  654. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  655. Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(1, 0.729999959, 1))
  656. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.4692868, -3.70743895, -1.52587891e-005, 0.916809797, -0.399324507, 1.15483999e-006, 0.399324447, 0.916809678, -4.00096178e-006, 5.56348823e-007, 4.12762165e-006, 1))
  657. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.200000003))
  658. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  659. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.31796861, -0.99111104, 3.62495184, 3.06405127e-006, 0.707111418, 0.707102299, -0.999756992, 0.0155918654, -0.0155877285, -0.0220473036, -0.706930399, 0.706939638))
  660. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  661. Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  662. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.64674854, -0.903340101, -0.354405403, -1.83284283e-006, -1.00000012, 3.39746475e-006, -0.999756992, 1.90362334e-006, 0.0220472421, -0.0220472496, -3.36021185e-006, -0.999756992))
  663. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  664. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  665. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0155968666, -0.981806874, 5.01632404, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005))
  666. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  667. Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  668. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.015683651, -0.99636519, 4.31590414, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005))
  669. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  670. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  671. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.2746892, -0.975648642, 2.9260354, 2.64961272e-006, -0.707099259, 0.707114458, -0.999756992, 0.0155881718, 0.0155915832, -0.0220474396, -0.706942558, -0.706927299))
  672. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  673. Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  674. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.27468133, -0.991158009, 3.62575912, 2.64961272e-006, -0.707099259, 0.707114458, -0.999756992, 0.0155881718, 0.0155915832, -0.0220474396, -0.706942558, -0.706927299))
  675. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  676. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  677. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0155587196, -1.11407149, 4.663311, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005))
  678. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012))
  679. Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  680. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0131573677, 0.00466442108, 4.61167336, -1.74657907e-006, -1.09747052e-005, -1.00000012, 0.764525652, -0.644593418, 5.77419996e-006, -0.644593358, -0.764525771, 9.49576497e-006))
  681. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012))
  682. Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1))
  683. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.6467495, -0.918762922, 0.345379829, -1.83284283e-006, -1.00000012, 3.39746475e-006, -0.999756992, 1.90362334e-006, 0.0220472421, -0.0220472496, -3.36021185e-006, -0.999756992))
  684. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  685. Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  686. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00376915932, -3.44346094, -0.00172424316, -1.00000012, -1.70432031e-006, 1.69267878e-007, 1.70432031e-006, -1.00000012, -2.12341547e-007, 1.75088644e-007, -2.12341547e-007, 1.00000012))
  687. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.300000012, 0.200000003))
  688. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(1, 1, 1))
  689. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31130219e-006, -3.5749507, 0, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  690. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.400000006))
  691. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(0.200000003, 4.57000017, 0.200000003))
  692. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.96046448e-007, -1.50000107, 9.53674316e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  693. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
  694. Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(1, 1.16999996, 1))
  695. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.68149614, -0.0198745728, -1.09672546e-005, 0.0220478568, 0.999756992, -2.0749867e-006, -0.999756932, 0.0220478605, -1.48452818e-006, -1.42678618e-006, 2.10851431e-006, 1.00000012))
  696. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  697. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(1, 0.870000005, 1))
  698. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.71543217, -0.0690839291, -9.53674316e-006, 0.19052954, 0.981681645, -1.97067857e-006, -0.981681526, 0.190529525, -1.91386789e-006, -1.49046537e-006, 2.29105353e-006, 1.00000012))
  699. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.899999976))
  700. Part22 = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part22", Vector3.new(1, 0.729999959, 1))
  701. PartWeld = CreateWeld(m, FakeHandle, Part22, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.51120782, -3.69066477, -7.15255737e-006, 0.911903143, 0.410405785, -3.35276127e-007, -0.410405725, 0.911903143, -1.79186463e-006, -4.35044058e-007, 1.76206231e-006, 1.00000012))
  702. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.200000003))
  703. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(1, 0.870000005, 1))
  704. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.71087646, -0.0231897831, -6.19888306e-006, 0.318961442, 0.947767794, -1.48266554e-006, -0.947767675, 0.318961442, -2.70921737e-006, -2.10118014e-006, 2.26870179e-006, 1.00000012))
  705. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.850000024))
  706. Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(1, 0.769999981, 1))
  707. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.68154573, -0.4009372, -5.7220459e-006, 0.516243339, 0.856442034, -8.04662704e-007, -0.856442034, 0.516243339, -4.18536365e-006, -3.15741636e-006, 2.8423965e-006, 1.00000012))
  708. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000012))
  709. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(0.200000003, 2.57999992, 0.200000003))
  710. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.4570694e-006, 1.91385686, 4.76837158e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  711. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  712. Hitbox = CreatePart(m, Enum.Material.Marble, 0, 1, "Black", "Hitbox", Vector3.new(2.4000001, 3.67000008, 0.399999976))
  713. HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.76720476, 3.04898357, 0.00860214233, -0.699169815, 0.713988841, 0.0371726528, -0.713755548, -0.700063348, 0.0215496495, 0.0414094217, -0.0114653222, 0.999076545))
  714. rayCast = function(Position, Direction, Range, Ignore)
  715.   return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  716. end
  717.  
  718.  
  719. Spawn(function()
  720.     while wait() do
  721.         Magik(LeftArm) 
  722.     end
  723. end)
  724.  
  725. Spawn(function()
  726.     while wait() do
  727.         Magik2(LeftArm)
  728.     end
  729. end)
  730.  
  731.  
  732. CreateSound = function(id, parent, vol, pit, looped)
  733.   coroutine.resume(coroutine.create(function()
  734.     local sou = Instance.new("Sound", parent or workspace)
  735.     sou.Volume = vol
  736.     sou.Pitch = pit or 1
  737.     sou.SoundId = id
  738.     sou.Looped = looped
  739.     swait()
  740.     sou:play()
  741.     game:GetService("Debris"):AddItem(sou, 6)
  742.   end
  743. ))
  744. end
  745.  
  746.  
  747. local getclosest = function(obj, distance)
  748.   local last, lastx = distance + 1, nil
  749.   for i,v in pairs(workspace:GetChildren()) do
  750.     if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  751.       local t = v.Torso
  752.       local dist = t.Position - obj.Position.magnitude
  753.       if dist <= distance and dist < last then
  754.         last = dist
  755.         lastx = v
  756.       end
  757.     end
  758.   end
  759.   return lastx
  760. end
  761.  
  762. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  763.   local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  764.   prt.Anchored = true
  765.   prt.CFrame = cframe
  766.   local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  767.   game:GetService("Debris"):AddItem(prt, 10)
  768.   if Type == 1 or Type == nil then
  769.     table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  770.   else
  771.     if Type == 2 then
  772.       table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  773.     end
  774.   end
  775. end
  776.  
  777. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  778.   local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  779.   prt.Anchored = true
  780.   prt.CFrame = cframe
  781.   local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  782.   game:GetService("Debris"):AddItem(prt, 10)
  783.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  784. end
  785.  
  786. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  787.   local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  788.   prt.Anchored = true
  789.   prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  790.   local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  791.   game:GetService("Debris"):AddItem(prt, 10)
  792.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  793. end
  794.  
  795. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  796.   local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  797.   prt.Anchored = true
  798.   prt.CFrame = cframe
  799.   local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  800.   game:GetService("Debris"):AddItem(prt, 10)
  801.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  802. end
  803.  
  804. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  805.   local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  806.   prt.Anchored = true
  807.   prt.CFrame = cframe
  808.   local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  809.   game:GetService("Debris"):AddItem(prt, 10)
  810.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  811. end
  812.  
  813. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  814.   local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  815.   prt.Anchored = true
  816.   prt.CFrame = cframe
  817.   local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  818.   game:GetService("Debris"):AddItem(prt, 10)
  819.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  820. end
  821.  
  822. DragonEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  823.   local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  824.   prt.Anchored = true
  825.   prt.CFrame = cframe
  826.   local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://51177741", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  827.   game:GetService("Debris"):AddItem(prt, 10)
  828.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  829. end
  830.  
  831. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  832.   local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  833.   prt.Anchored = true
  834.   prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  835.   local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  836.   local num = math.random(10, 50) / 1000
  837.   game:GetService("Debris"):AddItem(prt, 10)
  838.   table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  839. end
  840.  
  841. attackone = function()
  842.   attack = true
  843.   for i = 0, 1, 0.1 do
  844.     swait()
  845.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  846.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  847.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3)
  848.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  849.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  850.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  851.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  852.   end
  853.   local con = Hitbox.Touched:connect(function(hit)
  854.     Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  855.   end
  856. )
  857.   CreateSound("http://www.roblox.com/asset/?id=234365549", Torso, 1, 1)
  858.   for i = 0, 1, 0.1 do
  859.     swait()
  860.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  861.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  862.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  863.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(-80)), 0.3)
  864.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  865.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  866.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-150)), 0.2)
  867.   end
  868.   con:disconnect()
  869.   attack = false
  870. end
  871.  
  872. Deathwish = function()
  873.   attack = true
  874.   CreateSound("http://www.roblox.com/asset/?id=231917970", RootPart, 1, 1)
  875.   for i = 0, 1, 0.05 do
  876.     swait()
  877.     WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 1, 0.1, 1, 0.09)
  878.     BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.08, 1)
  879.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  880.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(80)), 0.3)
  881.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  882.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  883.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  884.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  885.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  886.   end
  887.   MagniDamage(RootPart, 5599, 1099, 1599, 0, "DarkUp")
  888.   CreateSound("http://www.roblox.com/asset/?id=192410089", RootPart, 1, 1)
  889.   BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 5, 5, 5, 0.06, 1)
  890.   WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 2, 0.1, 2, 0.07)
  891.   for i = 0, 1, 0.05 do
  892.     swait()
  893.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  894.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(80)), 0.3)
  895.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  896.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-190)), 0.3)
  897.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  898.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  899.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  900.   end
  901.   for i = 0, 1, 0.1 do
  902.     swait()
  903.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-110)), 0.3)
  904.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(100)), 0.3)
  905.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  906.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-80), math.rad(-90)), 0.3)
  907.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  908.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  909.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  910.   end
  911.   MagniDamage(RootPart, 55, 5, 10, -70, "Knockdown")
  912.   CreateSound("http://www.roblox.com/asset/?id=192410089", RootPart, 1, 1.2)
  913.   SphereEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 10, 10, 10, 0.06)
  914.   BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 5, 5, 5, 0.06, 1)
  915.   WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 0.5, 1, 0.5, 0.07)
  916.   for i = 0, 1, 0.1 do
  917.     swait()
  918.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  919.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(50)), 0.3)
  920.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  921.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  922.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  923.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  924.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  925.   end
  926.   attack = false
  927. end
  928.  
  929. ChaosDriver = function()
  930.   attack = true
  931.   for i = 0, 1, 0.05 do
  932.     swait()
  933.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  934.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  935.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3)
  936.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  937.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  938.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  939.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  940.   end
  941.   CreateSound("http://www.roblox.com/asset/?id=234365549", Torso, 1, 1)
  942.   coroutine.resume(coroutine.create(function()
  943.     for i = 1, 5 do
  944.       swait()
  945.       local ef = CreatePart(workspace, "Marble", 0, 1, BrickColor.new("Black"), "Effect", vt())
  946.       ef.Anchored = true
  947.       ef.CFrame = RootPart.CFrame * cf(0, 0, -10 * i)
  948.       MagniDamage(ef, 17, 10, 15, 1, "DarkUp")
  949.       game:GetService("Debris"):AddItem(ef, 0.5)
  950.       CreateSound("http://www.roblox.com/asset/?id=231917784", ef, 1, 0.7)
  951.       DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -10 * i) * angles(math.rad(math.random(50, 90)), 0, math.rad(math.random(50, 90))), 5, 170, 5, 0, -10, 0, 0.07)
  952.       DragonEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, -10 * i) * angles(math.rad(math.random(50, 90)), 0, math.rad(math.random(50, 90))), 5, 150, 5, 0, -10, 0, 0.07)
  953.   SpecialEffect(BrickColor.new(col), Torso.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  954.   SpecialEffect(BrickColor.new("Magenta"), Torso.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  955.   SpecialEffect(BrickColor.new(col), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  956.   SpecialEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  957.     end
  958.   end
  959. ))
  960.   for i = 0, 1, 0.1 do
  961.     swait()
  962.     BlockEffect(BrickColor.new(col), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  963.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  964.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  965.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  966.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(-80)), 0.3)
  967.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  968.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  969.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-150)), 0.2)
  970.   end
  971.   attack = false
  972. end
  973.  
  974. attacktwo = function()
  975.   attack = true
  976.   soundn = true
  977.   for i = 0, 1, 0.1 do
  978.     swait()
  979.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  980.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  981.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(180)), 0.3)
  982.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  983.     RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  984.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  985.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  986.   end
  987.   local con = Hitbox.Touched:connect(function(hit)
  988.     Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  989.   end
  990. )
  991.   CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  992.   coroutine.resume(coroutine.create(function()
  993.     while soundn do
  994.       wait(0.3)
  995.       CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  996.     end
  997.   end
  998. ))
  999.   for i = 0, 1, 0.1 do
  1000.     swait()
  1001.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  1002.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  1003.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  1004.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  1005.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  1006.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1007.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  1008.   end
  1009.   con:disconnect()
  1010.   soundn = false
  1011.   attack = false
  1012. end
  1013.  
  1014. local soundn = false
  1015. attackthree = function()
  1016.   attack = true
  1017.   soundn = true
  1018.   for i = 0, 1, 0.1 do
  1019.     swait()
  1020.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  1021.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  1022.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(180)), 0.3)
  1023.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1024.     RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  1025.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1026.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  1027.   end
  1028.   local con = Hitbox.Touched:connect(function(hit)
  1029.     Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1030.   end
  1031. )
  1032.   CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  1033.   coroutine.resume(coroutine.create(function()
  1034.     while soundn do
  1035.       wait(0.3)
  1036.       CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  1037.     end
  1038.   end
  1039. ))
  1040.   for i = 0, 1, 0.1 do
  1041.     swait()
  1042.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  1043.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  1044.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  1045.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  1046.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  1047.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1048.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  1049.   end
  1050.   con:disconnect()
  1051.   soundn = false
  1052.   attack = false
  1053. end
  1054.  
  1055. ThanatosDriver = function()
  1056.   attack = true
  1057.   for i = 0, 1, 0.1 do
  1058.     swait()
  1059.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  1060.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  1061.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(180)), 0.3)
  1062.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-100)), 0.3)
  1063.     RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  1064.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1065.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  1066.   end
  1067.   local con = Hitbox.Touched:connect(function(hit)
  1068.     Damagefunc(Hitbox, hit, 30, 30, 50, "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1069.   end
  1070. )
  1071.   CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 0.7)
  1072.   for i = 0, 1, 0.1 do
  1073.     swait()
  1074.     BlockEffect(BrickColor.new(col), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  1075.     BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2)
  1076.     DragonEffect(BrickColor.new("Black"), Hitbox.CFrame * cf(0, 0, -2) * angles(math.rad(90), math.rad(-90), math.rad(90)), 1, 1, 1, 0.2, 0.5, 0.2, 0.08)
  1077.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  1078.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  1079.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(30)), 0.3)
  1080.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.3)
  1081.     RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  1082.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1083.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(170)), 0.2)
  1084.   end
  1085.   con:disconnect()
  1086.   attack = false
  1087. end
  1088.  
  1089. LastResort = function()
  1090.   attack = true
  1091.   soundn = true
  1092.   CreateSound("http://www.roblox.com/asset/?id=233096557", Torso, 1, 1)
  1093.   MagniDamage(RootPart, 10, 5, 10, 0, "Knockdown")
  1094.   SpecialEffect(BrickColor.new(col), Torso.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  1095.   SpecialEffect(BrickColor.new("Magenta"), Torso.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  1096.   SpecialEffect(BrickColor.new(col), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  1097.   SpecialEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  1098.  
  1099.   RootPart.CFrame = RootPart.CFrame * cf(0, 0, 20)
  1100.   for i = 0, 1, 0.1 do
  1101.     swait()
  1102.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  1103.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  1104.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(180)), 0.3)
  1105.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-100)), 0.3)
  1106.     RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  1107.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1108.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  1109.   end
  1110.   CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 1)
  1111.   coroutine.resume(coroutine.create(function()
  1112.     while soundn do
  1113.       wait(0.5)
  1114.       CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 1)
  1115.     end
  1116.   end
  1117. ))
  1118.   for i = 0, 1, 0.1 do
  1119.     swait()
  1120.     MagniDamage(RootPart, 10, 5, 10, 0, "Normal")
  1121.     Torso.Velocity = RootPart.CFrame.lookVector * 100
  1122.     BlockEffect(BrickColor.new(col), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  1123.     BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2)
  1124.     DragonEffect(BrickColor.new("Black"), Hitbox.CFrame * cf(0, 0, -2) * angles(math.rad(90), math.rad(90), math.rad(90)), 1, 1, 1, 0.2, 0.5, 0.2, 0.08)
  1125.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  1126.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  1127.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  1128.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  1129.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  1130.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1131.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  1132.   end
  1133.   for i = 0, 1, 0.1 do
  1134.     swait()
  1135.     MagniDamage(RootPart, 10, 3, 3, 0, "Normal")
  1136.     Torso.Velocity = RootPart.CFrame.lookVector * 100
  1137.     BlockEffect(BrickColor.new(col), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  1138.     BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2)
  1139.     DragonEffect(BrickColor.new("Black"), Hitbox.CFrame * cf(0, 0, -2) * angles(math.rad(90), math.rad(90), math.rad(90)), 1, 1, 1, 0.2, 0.5, 0.2, 0.08)
  1140.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  1141.     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  1142.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  1143.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  1144.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  1145.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1146.     FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  1147.   end
  1148.   soundn = false
  1149.   attack = false
  1150. end
  1151.  
  1152. ob1u = function()
  1153. end
  1154.  
  1155. ob1d = function()
  1156.   if attack == false and attacktype == 1 then
  1157.     attacktype = 2
  1158.     attackone()
  1159.   else
  1160.     if attack == false and attacktype == 2 then
  1161.       attacktype = 3
  1162.       attacktwo()
  1163.     else
  1164.       if attack == false and attacktype == 3 then
  1165.         attacktype = 1
  1166.         attackthree()
  1167.       end
  1168.     end
  1169.   end
  1170. end
  1171.  
  1172. key = function(k)
  1173.   k = k:lower()
  1174.   if attack == false and k == "z" and zenabled == true then
  1175.     zenabled = false
  1176.     coroutine.resume(coroutine.create(function()
  1177.     for i = 1, 0, -0.02 do
  1178.       swait()
  1179.       fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1180.     end
  1181.     zenabled = true
  1182.     fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  1183.   end
  1184. ))
  1185.     ThanatosDriver()
  1186.   else
  1187.     if attack == false and k == "x" and xenabled == true then
  1188.       xenabled = false
  1189.       coroutine.resume(coroutine.create(function()
  1190.     for i = 1, 0, -0.005 do
  1191.       swait()
  1192.       fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1193.     end
  1194.     xenabled = true
  1195.     fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  1196.   end
  1197. ))
  1198.       LastResort()
  1199.     else
  1200.       if attack == false and k == "c" and cenabled == true then
  1201.         cenabled = false
  1202.         coroutine.resume(coroutine.create(function()
  1203.     for i = 1, 0, -0.0025 do
  1204.       swait()
  1205.       fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1206.     end
  1207.     cenabled = true
  1208.     fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  1209.   end
  1210. ))
  1211.         ChaosDriver()
  1212.       else
  1213.         if attack == false and k == "v" and venabled == true then
  1214.           venabled = false
  1215.           coroutine.resume(coroutine.create(function()
  1216.     for i = 1, 0, -0.0005 do
  1217.       swait()
  1218.       fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1219.     end
  1220.     venabled = true
  1221.     fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  1222.   end
  1223. ))
  1224.           Deathwish()
  1225.         end
  1226.       end
  1227.     end
  1228.   end
  1229. end
  1230.  
  1231. s = function(mouse)
  1232.   mouse.Button1Down:connect(function()
  1233.     ob1d(mouse)
  1234.   end
  1235. )
  1236.   mouse.Button1Up:connect(function()
  1237.     ob1u(mouse)
  1238.   end
  1239. )
  1240.   mouse.KeyDown:connect(key)
  1241. end
  1242.  
  1243. s(mouse)
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250. rs = game:GetService'RunService'
  1251. plrs = game:GetService'Players'
  1252. lp = plrs.LocalPlayer
  1253. c = lp.Character
  1254. root = lp.Character.HumanoidRootPart
  1255. human = c.Humanoid
  1256. FPS = 0
  1257. inf = 0
  1258. opos1 = Vector3.new()
  1259. opos2 = Vector3.new()
  1260. opos3 = Vector3.new()
  1261. waves = Instance.new("Model", c)
  1262. res = Instance.new("Model", c)
  1263.    
  1264. local function b()
  1265. local t=tick();
  1266. local l=t%1*3;
  1267. local t=.5*math.pi*(l%1);
  1268. if l<1 then
  1269. return Color3.new(47,0,32);
  1270. elseif l<2 then
  1271. return Color3.new(47,0,35);
  1272. else
  1273. return Color3.new(0,0,0);
  1274. end;
  1275. end;              
  1276. speedParts = function()
  1277.     for i = 1, 4 do
  1278.         local pos = Vector3.new(math.sin(math.rad(inf + 360 * i)) * 2, math.sin(math.rad(inf + 260 * i) + math.pi / 2) * 2, -Hitbox.Velocity / 5) * (math.sin(tick()) + 2)
  1279.         local CFramepos = Hitbox.CFrame:toWorldSpace(CFrame.new(pos)).p
  1280.         local opos
  1281.         if i == 1 then
  1282.             opos = opos1
  1283.         elseif i == 2 then
  1284.             opos = opos2
  1285.         else
  1286.             opos = opos3
  1287.         end
  1288.             local e
  1289.             if #res:children() <= 3 then
  1290.                 e = Instance.new("Part")
  1291.             else
  1292.                 e = res:FindFirstChild("Trail")
  1293.             end
  1294.             e.Parent = waves
  1295.             e.Anchored = false
  1296.             e.CanCollide = false
  1297.             e.Transparency = 0
  1298.             e.Material = "Neon"
  1299.             e.Name = "Trail"
  1300.             e.Color = b(); --Color = a();
  1301.             e.Size = Vector3.new(.01, (CFramepos - opos).magnitude, .01)
  1302.             e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 0, 0)
  1303.         if i == 1 then
  1304.             opos1 = CFramepos
  1305.         elseif i == 2 then
  1306.             opos2 = CFramepos
  1307.         else
  1308.             opos3 = CFramepos
  1309.         end
  1310.     end
  1311. end
  1312.                                                
  1313. rs.RenderStepped:connect(function()
  1314.     FPS = 1 / rs.RenderStepped:wait()
  1315.     for i, v in pairs (waves:children()) do
  1316.         v.Transparency = v.Transparency + .05 / (FPS / 400)
  1317.         if v.Transparency >= .98 then
  1318.             v.Transparency = 1
  1319.             v.Parent = res
  1320.         end
  1321.     end
  1322.     inf = inf + (30 + root.Velocity.magnitude / 15) / (FPS / 400)
  1323.     speedParts()
  1324. end)
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331. while 1 do
  1332.   swait()
  1333.   Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1334.   velocity = RootPart.Velocity.y
  1335.   sine = sine + change
  1336.   local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1337.   if equipped == true or equipped == false then
  1338.     if 1 < RootPart.Velocity.y and hit == nil then
  1339.       Anim = "Jump"
  1340.       if attack == false then
  1341.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1342.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-4 * math.cos((sine) / 25)), math.rad(-30)), 0.3)
  1343.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos((sine) / 25)), math.rad(0), math.rad(190)), 0.3)
  1344.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1345.         RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1346.         LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1347.       end
  1348.     else
  1349.       if RootPart.Velocity.y < -1 and hit == nil then
  1350.         Anim = "Fall"
  1351.         if attack == false then
  1352.           RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1353.           Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(-4 * math.cos((sine) / 25)), math.rad(-30)), 0.3)
  1354.           RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos((sine) / 25)), math.rad(0), math.rad(190)), 0.3)
  1355.           LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1356.           RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1357.           LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1358.           FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  1359.         end
  1360.       else
  1361.         if Torsovelocity.x < 1 and Torsovelocity.z < 1 and hit ~= nil then
  1362.           Anim = "Idle"
  1363.           if attack == false then
  1364.             change = 1
  1365. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3)
  1366. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(80)), 0.3)
  1367. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.2, -0.5) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3)
  1368. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1369. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos((sine) / 9), 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(20)), 0.3)
  1370. LH.C0 = clerp(LH.C0, cf(-1.3, -1 + 0.1 * math.cos((sine) / 9), 0) * LHCF * angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  1371. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(60), math.rad(70 - 1 * math.cos((sine) / 9)), math.rad(70)), 0.3)
  1372.           end
  1373.         else
  1374.           if Torsovelocity.x > 2 and Torsovelocity.z > 2 and hit ~= nil then
  1375.             Anim = "Walk"
  1376.             if attack == false then
  1377. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(10), math.rad(-5), math.rad(-30)), 0.3)
  1378. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-5 + 1 * math.cos((sine) / 9)), math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(30)), 0.3)
  1379. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.2, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), 0.3)
  1380. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1381. RH.C0 = clerp(RH.C0, cf(1, -1, 0 + 0.5 * math.cos((sine) / 5)) * RHCF * angles(math.rad(0), math.rad(0), math.rad(10 - 50 * math.cos((sine) / 5))), 0.3)
  1382. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5 - 0.5 * math.cos((sine) / 5)) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-10 - 50 * math.cos((sine) / 5))), 0.3)
  1383. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(60), math.rad(50 - 1 * math.cos((sine) / 9)), math.rad(120)), 0.3)
  1384.             end
  1385.           end
  1386.         end
  1387.       end
  1388.     end
  1389.   end
  1390.   if 0 < #Effects then
  1391.     for e = 1, #Effects do
  1392.       if Effects[e] ~= nil then
  1393.         local Thing = Effects[e]
  1394.         if Thing ~= nil then
  1395.           local Part = Thing[1]
  1396.           local Mode = Thing[2]
  1397.           local Delay = Thing[3]
  1398.           local IncX = Thing[4]
  1399.           local IncY = Thing[5]
  1400.           local IncZ = Thing[6]
  1401.           if Thing[1].Transparency <= 1 then
  1402.             if Thing[2] == "Block1" then
  1403.               Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1404.               Mesh = Thing[1].Mesh
  1405.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1406.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1407.             else
  1408.               if Thing[2] == "Block2" then
  1409.                 Thing[1].CFrame = Thing[1].CFrame
  1410.                 Mesh = Thing[7]
  1411.                 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1412.                 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1413.               else
  1414.                 if Thing[2] == "Cylinder" then
  1415.                   Mesh = Thing[1].Mesh
  1416.                   Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1417.                   Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1418.                 else
  1419.                   if Thing[2] == "Blood" then
  1420.                     Mesh = Thing[7]
  1421.                     Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1422.                     Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1423.                     Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1424.                   else
  1425.                     if Thing[2] == "Elec" then
  1426.                       Mesh = Thing[1].Mesh
  1427.                       Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1428.                       Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1429.                     else
  1430.                       if Thing[2] == "Disappear" then
  1431.                         Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1432.                       else
  1433.                         if Thing[2] == "Shatter" then
  1434.                           Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1435.                           Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1436.                           Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1437.                           Thing[6] = Thing[6] + Thing[5]
  1438.                         end
  1439.                       end
  1440.                     end
  1441.                   end
  1442.                 end
  1443.               end
  1444.             end
  1445.           else
  1446.             Part.Parent = nil
  1447.             table.remove(Effects, e)
  1448.           end
  1449.         end
  1450.       end
  1451.     end
  1452.   end
  1453. end
  1454.  
  1455. print(_VERSION.." yeah!!! ¬_¬ - © adchand2 2016")
  1456. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement