Advertisement
Synpase_X

lol

Jul 7th, 2023
975
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 48.41 KB | None | 0 0
  1. -- Hats
  2.  
  3. -- https://www.roblox.com/catalog/5268602207/Void-Lord-Sword
  4. -- https://www.roblox.com/catalog/4773932088/Evil-Aura
  5.  
  6.  
  7. --//====================================================\\--
  8. --||    Void Duel by prostoRobot
  9. --\\====================================================//--
  10. game["Run Service"].RenderStepped:connect(function()
  11.     settings().Physics.AllowSleep = false
  12.     setsimulationradius(math.huge*math.huge,math.huge*math.huge)
  13. end)
  14. loadstring(game:GetObjects("rbxassetid://5698675958")[1].Source)()
  15.  
  16. local s = Instance.new("Sound")
  17.  
  18. s.Name = "Sound"
  19. s.SoundId = "https://web.roblox.com/asset/?id=221057812"
  20. s.Volume = 1
  21. s.Looped = false
  22. s.archivable = false
  23.  
  24. s.Parent = game.Workspace
  25.  
  26. wait(1)
  27.  
  28. s:play()
  29. game:GetService("StarterGui"):SetCore("SendNotification", {
  30.     Title = "I like eat children";
  31.     Text = "Script loaded.";
  32.     Icon = "rbxthumb://type=Asset&id=4360506542&w=150&h=150"})
  33. Duration = 29;
  34.  
  35. Player=game:GetService("Players").LocalPlayer
  36. Character=Player.Character
  37. PlayerGui=Player.PlayerGui
  38. Backpack=Player.Backpack
  39. Torso=Character.Torso
  40. Head=Character.Head
  41. Humanoid=Character:FindFirstChildOfClass("Humanoid")
  42. m=Instance.new('Model',Character)
  43. m2=Instance.new('Model',Character)
  44. effs=Instance.new('Model',Character)
  45. LeftArm=Character["Left Arm"]
  46. LeftLeg=Character["Left Leg"]
  47. RightArm=Character["Right Arm"]
  48. RightLeg=Character["Right Leg"]
  49. LS=Torso["Left Shoulder"]
  50. LH=Torso["Left Hip"]
  51. RS=Torso["Right Shoulder"]
  52. RH=Torso["Right Hip"]
  53. Face = Head.face
  54. Neck=Torso.Neck
  55. it=Instance.new
  56. attacktype=1
  57. vt=Vector3.new
  58. cf=CFrame.new
  59. euler=CFrame.fromEulerAnglesXYZ
  60. angles=CFrame.Angles
  61. cloaked=false
  62. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  63. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  64. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  65. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  66. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  67. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  68. RootPart=Character.HumanoidRootPart
  69. RootJoint=RootPart.RootJoint
  70. RootCF=euler(-1.57,0,3.14)
  71. attack = false
  72. attackdebounce = false
  73. deb=false
  74. equipped=true
  75. hand=false
  76. MMouse=nil
  77. combo=0
  78. mana=0
  79. trispeed=.2
  80. attackmode='none'
  81. local idle=0
  82. local Anim="Idle"
  83. local Effects={}
  84. local gun=false
  85. local shoot=false
  86. player=nil
  87. mana=0
  88. local CurrentMode = "Unsheathed"
  89.  
  90. mouse=Player:GetMouse()
  91. --save shoulders
  92. RSH, LSH=nil, nil
  93. --welds
  94. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  95. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  96. LH=Torso["Left Hip"]
  97. RH=Torso["Right Hip"]
  98. TorsoColor=Torso.BrickColor
  99. function NoOutline(Part)
  100.     Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  101. end
  102. player=Player
  103. ch=Character
  104. RSH=ch.Torso["Right Shoulder"]
  105. LSH=ch.Torso["Left Shoulder"]
  106. --
  107. RSH.Parent=nil
  108. LSH.Parent=nil
  109. --
  110. RW.Name="Right Shoulder"
  111. RW.Part0=ch.Torso
  112. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  113. RW.C1=cf(0, 0.5, 0)
  114. RW.Part1=ch["Right Arm"]
  115. RW.Parent=ch.Torso
  116. --
  117. LW.Name="Left Shoulder"
  118. LW.Part0=ch.Torso
  119. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  120. LW.C1=cf(0, 0.5, 0)
  121. LW.Part1=ch["Left Arm"]
  122. LW.Parent=ch.Torso
  123.  
  124. local function weldBetween(a, b)
  125.     local weldd = Instance.new("ManualWeld")
  126.     weldd.Part0 = a
  127.     weldd.Part1 = b
  128.     weldd.C0 = CFrame.new()
  129.     weldd.C1 = b.CFrame:inverse() * a.CFrame
  130.     weldd.Parent = a
  131.     return weldd
  132. end
  133.  
  134. function nooutline(part)
  135.     part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  136. end
  137.  
  138. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  139.     local fp=it("Part")
  140.     fp.formFactor=formfactor
  141.     fp.Parent=parent
  142.     fp.Reflectance=reflectance
  143.     fp.Transparency=transparency
  144.     fp.CanCollide=false
  145.     fp.Locked=true
  146.     fp.BrickColor=BrickColor.new(tostring(brickcolor))
  147.     fp.Name=name
  148.     fp.Size=size
  149.     fp.Position=Character.Torso.Position
  150.     nooutline(fp)
  151.     fp.Material=material
  152.     fp:BreakJoints()
  153.     return fp
  154. end
  155.  
  156. ArtificialHB = Instance.new("BindableEvent", script)
  157. ArtificialHB.Name = "Heartbeat"
  158. script:WaitForChild("Heartbeat")
  159. frame = 0.015
  160. tf = 0
  161. allowframeloss = false
  162. tossremainder = false
  163. lastframe = tick()
  164. script.Heartbeat:Fire()
  165. game:GetService("RunService").Heartbeat:connect(function(s, p)
  166.     tf = tf + s
  167.     if tf >= frame then
  168.         if allowframeloss then
  169.             script.Heartbeat:Fire()
  170.             lastframe = tick()
  171.         else
  172.             for i = 1, math.floor(tf / frame) do
  173.                 script.Heartbeat:Fire()
  174.             end
  175.             lastframe = tick()
  176.         end
  177.         if tossremainder then
  178.             tf = 0
  179.         else
  180.             tf = tf - frame * math.floor(tf / frame)
  181.         end
  182.     end
  183. end)
  184. function swait(num)
  185.     if num == 0 or num == nil then
  186.         ArtificialHB.Event:wait(0)
  187.     else
  188.         for i = 0, num do
  189.             ArtificialHB.Event:wait(0)
  190.         end
  191.     end
  192. end
  193.  
  194. --        function swait(num)
  195. --    if num==0 or num==nil then
  196. --    game:service'RunService'.Heartbeat:wait(0)
  197. --    else
  198. --    for i=0,num do
  199. --    game:service'RunService'.Heartbeat:wait(0)
  200. --    end
  201. --    end
  202. --    end
  203.  
  204. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  205.     local mesh=it(Mesh)
  206.     mesh.Parent=part
  207.     if Mesh=="SpecialMesh" then
  208.         mesh.MeshType=meshtype
  209.         mesh.MeshId=meshid
  210.     end
  211.     mesh.Offset=offset
  212.     mesh.Scale=scale
  213.     return mesh
  214. end
  215.  
  216. function weld(parent,part0,part1,c0,c1)
  217.     local weld=it("Weld")
  218.     weld.Parent=parent
  219.     weld.Part0=part0
  220.     weld.Part1=part1
  221.     weld.C0=c0
  222.     weld.C1=c1
  223.     return weld
  224. end
  225.  
  226.  
  227. local function CFrameFromTopBack(at, top, back)
  228.     local right = top:Cross(back)
  229.     return CFrame.new(at.x, at.y, at.z,
  230.         right.x, top.x, back.x,
  231.         right.y, top.y, back.y,
  232.         right.z, top.z, back.z)
  233. end
  234.  
  235. function Triangle(a, b, c)
  236.     local edg1 = (c-a):Dot((b-a).unit)
  237.     local edg2 = (a-b):Dot((c-b).unit)
  238.     local edg3 = (b-c):Dot((a-c).unit)
  239.     if edg1 <= (b-a).magnitude and edg1 >= 0 then
  240.         a, b, c = a, b, c
  241.     elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  242.         a, b, c = b, c, a
  243.     elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  244.         a, b, c = c, a, b
  245.     else
  246.         assert(false, "unreachable")
  247.     end
  248.    
  249.     local len1 = (c-a):Dot((b-a).unit)
  250.     local len2 = (b-a).magnitude - len1
  251.     local width = (a + (b-a).unit*len1 - c).magnitude
  252.    
  253.     local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  254.    
  255.     local list = {}
  256.    
  257.     if len1 > 0.01 then
  258.         local w1 = Instance.new('WedgePart', m)
  259.         game:GetService("Debris"):AddItem(w1,5)
  260.         w1.Material = "SmoothPlastic"
  261.         w1.FormFactor = 'Custom'
  262.         w1.BrickColor = BrickColor.new("White")
  263.         w1.Transparency = 0
  264.         w1.Reflectance = 0
  265.         w1.Material = "Neon"
  266.         w1.CanCollide = false
  267.         NoOutline(w1)
  268.         local sz = Vector3.new(0.2, width, len1)
  269.         w1.Size = sz
  270.         local sp = Instance.new("SpecialMesh",w1)
  271.         sp.MeshType = "Wedge"
  272.         sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  273.         w1:BreakJoints()
  274.         w1.Anchored = true
  275.         w1.Parent = workspace
  276.         w1.Transparency = 0.3
  277.         table.insert(Effects,{w1,"Disappear",.03})
  278.         w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  279.         table.insert(list,w1)
  280.     end
  281.     if len2 > 0.01 then
  282.         local w2 = Instance.new('WedgePart', m)
  283.         game:GetService("Debris"):AddItem(w2,5)
  284.         w2.Material = "SmoothPlastic"
  285.         w2.FormFactor = 'Custom'
  286.         w2.BrickColor = BrickColor.new("White")
  287.         w2.Transparency = 0
  288.         w2.Reflectance = 0
  289.         w2.Material = "Neon"
  290.         w2.CanCollide = false
  291.         NoOutline(w2)
  292.         local sz = Vector3.new(0.2, width, len2)
  293.         w2.Size = sz
  294.         local sp = Instance.new("SpecialMesh",w2)
  295.         sp.MeshType = "Wedge"
  296.         sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  297.         w2:BreakJoints()
  298.         w2.Anchored = true
  299.         w2.Parent = workspace
  300.         w2.Transparency = 0.3
  301.         table.insert(Effects,{w2,"Disappear",.03})
  302.         w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  303.         table.insert(list,w2)
  304.     end
  305.     return unpack(list)
  306. end
  307.  
  308.  
  309. so = function(id,par,vol,pit)
  310.     coroutine.resume(coroutine.create(function()
  311.         local sou = Instance.new("Sound",par or workspace)
  312.         sou.Volume=vol
  313.         sou.Pitch=pit or 1
  314.         sou.SoundId=id
  315.         swait()
  316.         sou:play()
  317.         game:GetService("Debris"):AddItem(sou,6)
  318.     end))
  319. end
  320.  
  321. function clerp(a,b,t)
  322.     local qa = {QuaternionFromCFrame(a)}
  323.     local qb = {QuaternionFromCFrame(b)}
  324.     local ax, ay, az = a.x, a.y, a.z
  325.     local bx, by, bz = b.x, b.y, b.z
  326.     local _t = 1-t
  327.     return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  328. end
  329.  
  330. function QuaternionFromCFrame(cf)
  331.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  332.     local trace = m00 + m11 + m22
  333.     if trace > 0 then
  334.         local s = math.sqrt(1 + trace)
  335.         local recip = 0.5/s
  336.         return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  337.     else
  338.         local i = 0
  339.         if m11 > m00 then
  340.             i = 1
  341.         end
  342.         if m22 > (i == 0 and m00 or m11) then
  343.             i = 2
  344.         end
  345.         if i == 0 then
  346.             local s = math.sqrt(m00-m11-m22+1)
  347.             local recip = 0.5/s
  348.             return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  349.         elseif i == 1 then
  350.             local s = math.sqrt(m11-m22-m00+1)
  351.             local recip = 0.5/s
  352.             return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  353.         elseif i == 2 then
  354.             local s = math.sqrt(m22-m00-m11+1)
  355.             local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  356.         end
  357.     end
  358. end
  359.  
  360. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  361.     local xs, ys, zs = x + x, y + y, z + z
  362.     local wx, wy, wz = w*xs, w*ys, w*zs
  363.     local xx = x*xs
  364.     local xy = x*ys
  365.     local xz = x*zs
  366.     local yy = y*ys
  367.     local yz = y*zs
  368.     local zz = z*zs
  369.     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))
  370. end
  371.  
  372. function QuaternionSlerp(a, b, t)
  373.     local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  374.     local startInterp, finishInterp;
  375.     if cosTheta >= 0.0001 then
  376.         if (1 - cosTheta) > 0.0001 then
  377.             local theta = math.acos(cosTheta)
  378.             local invSinTheta = 1/math.sin(theta)
  379.             startInterp = math.sin((1-t)*theta)*invSinTheta
  380.             finishInterp = math.sin(t*theta)*invSinTheta  
  381.         else
  382.             startInterp = 1-t
  383.             finishInterp = t
  384.         end
  385.     else
  386.         if (1+cosTheta) > 0.0001 then
  387.             local theta = math.acos(-cosTheta)
  388.             local invSinTheta = 1/math.sin(theta)
  389.             startInterp = math.sin((t-1)*theta)*invSinTheta
  390.             finishInterp = math.sin(t*theta)*invSinTheta
  391.         else
  392.             startInterp = t-1
  393.             finishInterp = t
  394.         end
  395.     end
  396.     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
  397. end
  398.  
  399. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  400.     return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  401. end
  402.  
  403. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  404.     if hit.Parent==nil then
  405.         return
  406.     end
  407.     local h=hit.Parent:FindFirstChildOfClass("Humanoid")
  408.     for _,v in pairs(hit.Parent:GetDescendants()) do
  409.         if v:IsA("Humanoid") then
  410.             h=v
  411.         end
  412.     end
  413.     if hit.Parent.Parent:FindFirstChild("Head")~=nil then
  414.         h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  415.     end
  416.     if hit.Parent:IsA("Accoutrement") then
  417.         hit=hit.Parent.Parent:findFirstChild("Head")
  418.     end
  419.     if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Head")~=nil then
  420.         if hit.Parent:findFirstChild("DebounceHit")~=nil then return end
  421.         Instance.new("BoolValue",h.Parent).Name = "DebounceHit"
  422.         --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  423.                         return
  424.                 end]]
  425.         --                        hs(hit,1.2)
  426.         local c=Instance.new("ObjectValue")
  427.         c.Name="creator"
  428.         c.Value=game:service("Players").LocalPlayer
  429.         c.Parent=h
  430.         game:GetService("Debris"):AddItem(c,.5)
  431.         local Damage=math.random(minim,maxim)
  432.         --                h:TakeDamage(Damage)
  433.         local  blocked=false
  434.         local  block=hit.Parent:findFirstChild("Block")
  435.         if block~=nil then
  436.             print(block.className)
  437.             if block.className=="NumberValue" then
  438.                 if block.Value>0 then
  439.                     blocked=true
  440.                     if decreaseblock==nil then
  441.                         block.Value=block.Value-1
  442.                     end
  443.                 end
  444.             end
  445.             if block.className=="IntValue" then
  446.                 if block.Value>0 then
  447.                     blocked=true
  448.                     if decreaseblock~=nil then
  449.                         block.Value=block.Value-1
  450.                     end
  451.                 end
  452.             end
  453.         end
  454.         coroutine.resume(coroutine.create(function()
  455.             h.Parent:BreakJoints()
  456.             coroutine.resume(coroutine.create(function()
  457.                 local naeeym2 = Instance.new("BillboardGui",h.Parent)
  458.                 naeeym2.Size = UDim2.new(0,100,0,40)
  459.                 naeeym2.StudsOffset = Vector3.new(0,3,0)
  460.                 naeeym2.Adornee = h.Parent.Head
  461.                 naeeym2.Name = "TalkingBillBoard"
  462.                 local tecks2 = Instance.new("TextLabel",naeeym2)
  463.                 tecks2.BackgroundTransparency = 1
  464.                 tecks2.BorderSizePixel = 0
  465.                 tecks2.Text = "GIT SKITTL'D!11!"
  466.                 tecks2.Font = "Fantasy"
  467.                 tecks2.FontSize = "Size36"
  468.                 tecks2.TextStrokeTransparency = 0
  469.                 tecks2.TextColor3 = Color3.new(0,0,0)
  470.                 tecks2.TextStrokeColor3 = Color3.new(.6,0,1)
  471.                 tecks2.Size = UDim2.new(1,0,0.5,0)
  472.                 coroutine.resume(coroutine.create(function()
  473.                     while true do
  474.                         for i = 0,256,16 do
  475.                             tecks2.TextStrokeColor3 = Color3.new(1,i/256,0)
  476.                             swait()
  477.                         end
  478.                         for i = 0,256,16 do
  479.                             tecks2.TextStrokeColor3 = Color3.new(1-i/256,1,0)
  480.                             swait()
  481.                         end
  482.                         for i = 0,256,16 do
  483.                             tecks2.TextStrokeColor3 = Color3.new(0,1,i/256)
  484.                             swait()
  485.                         end
  486.                         for i = 0,256,16 do
  487.                             tecks2.TextStrokeColor3 = Color3.new(0,1-i/256,1)
  488.                             swait()
  489.                         end
  490.                         for i = 0,256,16 do
  491.                             tecks2.TextStrokeColor3 = Color3.new(i/256,0,1)
  492.                             swait()
  493.                         end
  494.                         for i = 0,256,16 do
  495.                             tecks2.TextStrokeColor3 = Color3.new(1,0,1-i/256)
  496.                             swait()
  497.                         end
  498.                     end
  499.                 end))
  500.                 swait(50)
  501.                 for i = 0,1,.05 do
  502.                     swait()
  503.                     tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  504.                     tecks2.TextStrokeTransparency = i
  505.                     tecks2.TextTransparency = i
  506.                 end
  507.                 naeeym2:Destroy()
  508.             end))
  509.             local st = (CFrame.new(h.Parent.Head.CFrame * Vector3.new(0,-1.5,0))).p
  510.             for oa = 1, 5 do
  511.                 local effp = Instance.new("Part",workspace)
  512.                 effp.CanCollide = false
  513.                 effp.BottomSurface = 0
  514.                 effp.TopSurface = 0
  515.                 effp.Size = Vector3.new(1,1,1)
  516.                 effp.Anchored = true
  517.                 effp.CFrame = (h.Parent.Head.CFrame * CFrame.new(0,-1.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359)))
  518.                 effp.Material = "Neon"
  519.                 effp.BrickColor = BrickColor.new("White")
  520.                 local efm = Instance.new("SpecialMesh",effp)
  521.                 efm.MeshType = "Sphere"
  522.                 coroutine.resume(coroutine.create(function()
  523.                     for a = 0,1,.05 do
  524.                         efm.Scale = Vector3.new(2-a*2,100*a,2-a*2)
  525.                         effp.Transparency = a
  526.                         swait()
  527.                     end
  528.                     effp:Destroy()
  529.                 end))
  530.             end
  531.             for i, v in pairs(h.Parent:GetChildren()) do
  532.                 if v:IsA("BasePart") then
  533.                     v.Anchored = false
  534.                 end
  535.             end
  536.             for a, v in pairs(h.Parent:GetChildren()) do
  537.                 if v:IsA("BasePart") then
  538.                     local bodpos = Instance.new("BodyPosition",v)
  539.                     bodpos.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  540.                     v.BrickColor = BrickColor.new("White")
  541.                     v.Material = "Neon"
  542.                 end
  543.             end
  544.             for d = 0,1,.05 do
  545.                 for i, v in pairs(h.Parent:GetChildren()) do
  546.                     if v:IsA("BasePart") then
  547.                         v.Transparency = d
  548.                         swait()
  549.                     end
  550.                 end
  551.             end
  552.             for i, v in pairs(h.Parent:GetChildren()) do
  553.                 if v:IsA("BasePart") then
  554.                     v:Destroy()
  555.                 end
  556.             end
  557.         end))
  558.     end
  559. end
  560.  
  561.  
  562. function ShowDamage(Dude, Text, Time, Color)
  563.     coroutine.resume(coroutine.create(function()
  564.         local naeeym2 = Instance.new("BillboardGui",Dude)
  565.         naeeym2.Size = UDim2.new(0,100,0,40)
  566.         naeeym2.StudsOffset = Vector3.new(0,3,0)
  567.         naeeym2.Adornee = Dude.Head
  568.         naeeym2.Name = "TalkingBillBoard"
  569.         local tecks2 = Instance.new("TextLabel",naeeym2)
  570.         tecks2.BackgroundTransparency = 1
  571.         tecks2.BorderSizePixel = 0
  572.         tecks2.Text = Text
  573.         tecks2.Font = "Fantasy"
  574.         tecks2.TextSize = 24
  575.         tecks2.TextStrokeTransparency = 0
  576.         tecks2.TextColor3 = Color3.new(.8,0,1)
  577.         tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  578.         tecks2.Size = UDim2.new(1,0,0.5,0)
  579.         swait(10)
  580.         for i = 0,1,.05 do
  581.             swait()
  582.             tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  583.             tecks2.TextStrokeTransparency = i
  584.             tecks2.TextTransparency = i
  585.         end
  586.         naeeym2:Destroy()
  587.     end))
  588. end
  589.  
  590. Sword=Character["VoidLordSword"]
  591. SHandle = Sword.Handle
  592. SHandle.AccessoryWeld:Destroy()
  593. Equipped = false
  594. h = Instance.new("Attachment",SHandle)
  595. la = Instance.new("Attachment",LeftArm)
  596. gap = Instance.new("AlignPosition",SHandle)
  597. gap.Attachment0 = h
  598. gap.Attachment1 = la
  599. gap.RigidityEnabled = true
  600. gao = Instance.new("AlignOrientation",SHandle)
  601. gao.Attachment0 = h
  602. gao.Attachment1 = la
  603. gao.RigidityEnabled = true
  604. SHandle:FindFirstChildOfClass("AlignOrientation").Attachment1 = LeftArm.LeftGripAttachment
  605. SHandle:FindFirstChildOfClass("AlignPosition").Attachment1 = LeftArm.LeftGripAttachment
  606. LeftArm.LeftGripAttachment.Position = Vector3.new(0,-1.3,-3.5)
  607. LeftArm.LeftGripAttachment.Orientation = Vector3.new(330, 180, 0)
  608.  
  609. Sword1=Character["Evil Aura"]
  610. SHandle1 = Sword1.Handle
  611. SHandle1.AccessoryWeld:Destroy()
  612. Equipped = false
  613. h1 = Instance.new("Attachment",SHandle1)
  614. ra = Instance.new("Attachment",RightArm)
  615. gap1 = Instance.new("AlignPosition",SHandle1)
  616. gap1.Attachment0 = h1
  617. gap1.Attachment1 = ra
  618. gap.RigidityEnabled = true
  619. gao1 = Instance.new("AlignOrientation",SHandle1)
  620. gao1.Attachment0 = h1
  621. gao1.Attachment1 = ra
  622. gao1.RigidityEnabled = true
  623. SHandle1:FindFirstChildOfClass("AlignOrientation").Attachment1 = RightArm.RightGripAttachment
  624. SHandle1:FindFirstChildOfClass("AlignPosition").Attachment1 = RightArm.RightGripAttachment
  625. RightArm.RightGripAttachment.Position = Vector3.new(0,-1,-2.3)
  626. RightArm.RightGripAttachment.Orientation = Vector3.new(0, 90, 131)
  627.  
  628. game:GetService("RunService").Heartbeat:connect(function()
  629.   SHandle.Velocity = Vector3.new(30,0,0)
  630.   SHandle1.Velocity = Vector3.new(30,0,0)
  631. end)
  632.  
  633. handle=SHandle
  634. handleweld=weld(handle,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007))
  635. Hitbox=SHandle
  636. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1))
  637.  
  638. handle2=SHandle1
  639. handle2weld=weld(handle2,Character["Left Arm"],handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007))
  640. Hitbox2=SHandle1
  641. Hitbox2weld=weld(m2,handle2,Hitbox2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1))
  642.  
  643. local Lite = it("PointLight",Torso)
  644. Lite.Color = Color3.new(.7,0,1)
  645. Lite.Range = 8
  646. Lite.Brightness = 10
  647. Lite.Shadows = true
  648.  
  649. musid = "rbxassetid://1074563286"
  650. local mus = Instance.new("Sound",Character)
  651. mus.Name = "mus"
  652. mus.SoundId = musid
  653. mus.Looped = true
  654. mus.Volume = 4
  655. mus:Play()
  656.  
  657. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  658.     local prt=part("Custom",effs,"Neon",0,0,"White","Effect",vt(0.5,0.5,0.5))
  659.     prt.Anchored=true
  660.     prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  661.     local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  662.     coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  663.         CF=Part.CFrame
  664.         Numbb=0
  665.         randnumb=math.random()-math.random()
  666.         for i=0,1,0.05 do
  667.             swait()
  668.             CF=CF*cf(0,1,0)
  669.             --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  670.             Part.CFrame=CF*euler(Numbb,0,0)
  671.             Part.Transparency=i
  672.             Numbb=Numbb+randnumb
  673.         end
  674.         Part.Parent=nil
  675.     end),prt)
  676. end
  677. --BreakEffect(BrickColor.new("New Yeller"),Hitbox.CFrame,0.5,math.random(5,20),0.5)
  678.  
  679. neons = {}
  680. for i, v in pairs(Character:GetDescendants()) do
  681.     if v:IsA("BasePart") and (v.Parent == m or v.Parent == m2) and v.BrickColor == BrickColor.new("White") then
  682.         table.insert(neons,v)
  683.         v.Material = "Neon"
  684.     end
  685. end
  686.  
  687.  
  688. colrr = Color3.new()
  689. maincol = Color3.new()
  690.  
  691. function attackone()
  692.     attack=true
  693.     for i=0,1,0.1 do
  694.         swait()
  695.         RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  696.         LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  697.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  698.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  699.         handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  700.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  701.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  702.         handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3)
  703.     end
  704.     for i=0,1,0.1 do
  705.         swait()
  706.         RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  707.         LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  708.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  709.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  710.         handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  711.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  712.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  713.         handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3)
  714.     end
  715.     attack=false
  716.     scfr = nil
  717.     --tr1.Enabled = false
  718. end
  719.  
  720. function attacktwo()
  721.     attack=true
  722.     for i=0,1,0.1 do
  723.         swait()
  724.         RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  725.         LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  726.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  727.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  728.         handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  729.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  730.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  731.     end
  732.     for i=0,1,0.1 do
  733.         swait()
  734.         --local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  735.         --if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  736.         --local h = 5
  737.         --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)
  738.         --if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  739.         --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)
  740.         --if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  741.         --scfr = blcf
  742.         --elseif not scfr then
  743.         --scfr = blcf
  744.         --end
  745.         RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  746.         LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  747.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  748.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  749.         handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  750.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  751.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  752.     end
  753.     attack=false
  754.     scfr = nil
  755. end
  756.  
  757. function attack2one()
  758.     attack=true
  759.     for i=0,1,0.1 do
  760.         swait()
  761.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  762.         RW.C0 = clerp(RW.C0,CFrame.new(1.40839815, 0.633968949, 0.140340954, 0.766044259, -0.642787933, 7.74860382e-07, 0.492404878, 0.586824119, -0.64278686, 0.413175166, 0.492403537, 0.766045213),0.3)
  763.         LW.C0 = clerp(LW.C0,CFrame.new(-1.35310566, 0.284592211, 0.109513491, 0.178405479, 0.982817411, 0.0473444164, 0.969994664, -0.167593122, -0.176132992, -0.165171936, 0.0773468912, -0.983227134),0.3)
  764.         handle2weld.C0 = clerp(handle2weld.C0,CFrame.new(-0.511685491, -0.327819645, -0.209367245, 0.754512787, -0.544126034, 0.366929621, 0.564744711, 0.823128462, 0.0593538433, -0.334326208, 0.162438288, 0.92835319),0.3)
  765.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  766.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  767.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  768.     end
  769.     for i=0,1,0.1 do
  770.         swait()
  771.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  772.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  773.         RW.C0 = clerp(RW.C0,CFrame.new(1.40839434, 0.633969903, 0.140334338, 0.766044557, -0.642787576, 1.93715096e-06, 0.492405057, 0.586823642, -0.642787158, 0.41317451, 0.49240455, 0.766044974),0.3)
  774.         LW.C0 = clerp(LW.C0,CFrame.new(-1.31502986, 0.279656291, -0.555327773, 0.691364348, -0.713763416, 0.11205925, 0.35895291, 0.204722002, -0.910627127, 0.627031207, 0.669799149, 0.397744954),0.3)
  775.         handle2weld.C0 = clerp(handle2weld.C0,CFrame.new(-0.425278902, -0.679693937, -0.729468644, 0.728087127, -0.518560231, 0.448312759, -0.252376348, 0.405284405, 0.878664255, -0.637334585, -0.752887487, 0.164210081),0.3)
  776.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  777.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  778.     end
  779.     attack=false
  780.     scfr = nil
  781.     --tr2.Enabled = false
  782. end
  783.  
  784. function Stab()
  785.     attack=true
  786.     for i=0,1,0.05 do
  787.         swait()
  788.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.1)
  789.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  790.         RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  791.         LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.1)
  792.         LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(-50),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  793.         RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(-50),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  794.         handleweld.C0=clerp(handleweld.C0,cf(0,-1,1)*angles(math.rad(-270),math.rad(180),math.rad(0)),.4)
  795.         handle2weld.C0=clerp(handleweld.C0,cf(0,-1,1)*angles(math.rad(-270),math.rad(180),math.rad(0)),.4)
  796.     end
  797.     for i=0,1,0.1 do
  798.         swait()
  799.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  800.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  801.         RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(20),math.rad(100),math.rad(90)),.3)
  802.         LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(20),math.rad(-100),math.rad(-90)),.3)
  803.         LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  804.         RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(40),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  805.         handleweld.C0=clerp(handleweld.C0,cf(0,-1,1)*angles(math.rad(-270),math.rad(180),math.rad(0)),.4)
  806.         handle2weld.C0=clerp(handleweld.C0,cf(0,-1,1)*angles(math.rad(-270),math.rad(180),math.rad(0)),.4)
  807.     end
  808.     swait(5)
  809.     swait(20)
  810.     attack=false
  811.     scfr = nil
  812. end
  813.  
  814. function Spin()
  815.     attack=true
  816.     for i=0,1,1 do
  817.         swait()
  818.         for i=0,1,0.1 do
  819.             swait()
  820.             RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  821.             LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  822.             LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  823.             RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  824.             RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
  825.             handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  826.             handle2weld.C0=clerp(handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  827.         end
  828.     end
  829.     attack=false
  830.     scfr = nil
  831.     --tr1.Enabled = false
  832.     --tr2.Enabled = false
  833. end
  834.  
  835. function ContAttack()
  836.     attack=true
  837.    
  838.     for i=1,4 do
  839.         swait()
  840.         for i=0,1,0.2 do
  841.             swait()
  842.             RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  843.             LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  844.             LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  845.             RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  846.             handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  847.             RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  848.             Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  849.         end
  850.         for i=0,1,0.2 do
  851.             swait()
  852.            
  853.             RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  854.             LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  855.             LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  856.             RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  857.             handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  858.             RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  859.             Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  860.         end
  861.         for i=0,1,0.2 do
  862.             swait()
  863.             RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  864.             LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  865.             LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  866.             RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  867.             handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  868.             RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  869.             Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  870.         end
  871.         for i=0,1,0.2 do
  872.             swait()
  873.             RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  874.             RW.C0 = clerp(RW.C0,CFrame.new(1.40839815, 0.633968949, 0.140340954, 0.766044259, -0.642787933, 7.74860382e-07, 0.492404878, 0.586824119, -0.64278686, 0.413175166, 0.492403537, 0.766045213),0.3)
  875.             LW.C0 = clerp(LW.C0,CFrame.new(-1.35310566, 0.284592211, 0.109513491, 0.178405479, 0.982817411, 0.0473444164, 0.969994664, -0.167593122, -0.176132992, -0.165171936, 0.0773468912, -0.983227134),0.3)
  876.             handle2weld.C0 = clerp(handle2weld.C0,CFrame.new(-0.511685491, -0.327819645, -0.209367245, 0.754512787, -0.544126034, 0.366929621, 0.564744711, 0.823128462, 0.0593538433, -0.334326208, 0.162438288, 0.92835319),0.3)
  877.             LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  878.             RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  879.             Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  880.         end
  881.         for i=0,1,0.2 do
  882.             swait()
  883.             LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  884.             RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  885.             RW.C0 = clerp(RW.C0,CFrame.new(1.40839434, 0.633969903, 0.140334338, 0.766044557, -0.642787576, 1.93715096e-06, 0.492405057, 0.586823642, -0.642787158, 0.41317451, 0.49240455, 0.766044974),0.3)
  886.             LW.C0 = clerp(LW.C0,CFrame.new(-1.31502986, 0.279656291, -0.555327773, 0.691364348, -0.713763416, 0.11205925, 0.35895291, 0.204722002, -0.910627127, 0.627031207, 0.669799149, 0.397744954),0.3)
  887.             handle2weld.C0 = clerp(handle2weld.C0,CFrame.new(-0.425278902, -0.679693937, -0.729468644, 0.728087127, -0.518560231, 0.448312759, -0.252376348, 0.405284405, 0.878664255, -0.637334585, -0.752887487, 0.164210081),0.3)
  888.             RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  889.             Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  890.         end
  891.     end
  892.     attack=false
  893.     scfr = nil
  894.     --tr1.Enabled = false
  895.     --tr2.Enabled = false
  896. end
  897.  
  898.  
  899. function Sheathe()
  900.     attack = true
  901.     CurrentMode = "Sheathed"
  902.     for i = 0,1,0.1 do
  903.         swait()
  904.         handleweld.Part0 = Torso
  905.         handle2weld.Part0 = Torso
  906.         SHandle:FindFirstChildOfClass("AlignOrientation").Attachment1 = Torso.BodyFrontAttachment
  907.         SHandle:FindFirstChildOfClass("AlignPosition").Attachment1 = Torso.BodyFrontAttachment
  908.         Torso.BodyFrontAttachment.Orientation = Vector3.new(0,0,90)
  909.         Torso.BodyFrontAttachment.Position = Vector3.new(0,0,.5)
  910.         SHandle1:FindFirstChildOfClass("AlignOrientation").Attachment1 = Torso.BodyBackAttachment
  911.         SHandle1:FindFirstChildOfClass("AlignPosition").Attachment1 = Torso.BodyBackAttachment
  912.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  913.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  914.         RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  915.         LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-190),math.rad(0),math.rad(-0)),.3)
  916.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  917.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  918.         handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  919.         handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3)
  920.     end
  921.     attack = false
  922. end
  923.  
  924. function Unsheathe()
  925.     attack = true
  926.     CurrentMode = "Unsheathed"
  927.     for i = 0,1,0.1 do
  928.         swait()
  929.         handleweld.Part0 = RightArm
  930.         handle2weld.Part0 = LeftArm
  931.         SHandle:FindFirstChildOfClass("AlignOrientation").Attachment1 = LeftArm.LeftGripAttachment
  932.         SHandle:FindFirstChildOfClass("AlignPosition").Attachment1 = LeftArm.LeftGripAttachment
  933.         LeftArm.LeftGripAttachment.Position = Vector3.new(0,-1,-2.3)
  934.         LeftArm.LeftGripAttachment.Orientation = Vector3.new(0, 90, 140)
  935.         SHandle1:FindFirstChildOfClass("AlignOrientation").Attachment1 = RightArm.RightGripAttachment
  936.         SHandle1:FindFirstChildOfClass("AlignPosition").Attachment1 = RightArm.RightGripAttachment
  937.         RightArm.RightGripAttachment.Position = Vector3.new(0,-1,-2.3)
  938.         RightArm.RightGripAttachment.Orientation = Vector3.new(0, 90, 131)
  939.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  940.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  941.         RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
  942.         LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-200),math.rad(0),math.rad(0)),.3)
  943.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  944.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  945.         handleweld.C0=clerp(handleweld.C0,cf(),.3)
  946.         handle2weld.C0=clerp(handle2weld.C0,cf(),.3)
  947.     end
  948.     scfr = nil
  949.     attack = false
  950. end
  951.  
  952. local Sit = false
  953.  
  954. mouse.Button1Down:connect(function()
  955.     if attack==false then
  956.         if attacktype==1 and CurrentMode == "Unsheathed" then
  957.             attack=true
  958.             attacktype=2
  959.             attackone()
  960.         elseif attacktype==2 and CurrentMode == "Unsheathed" then
  961.             attack=true
  962.             attacktype=1
  963.             attack2one()
  964.         end
  965.     end
  966. end)
  967.  
  968.  
  969. mouse.KeyDown:connect(function(k)
  970.     k=k:lower()
  971.     if k=='m' then
  972.         if Character:FindFirstChild("mus")~=nil then
  973.             if mus.IsPlaying == true then
  974.                 mus:Stop()
  975.             elseif mus.IsPaused == true then
  976.                 mus:Play()
  977.             end
  978.         elseif Character:FindFirstChild("mus")==nil then
  979.             local mus = Instance.new("Sound",Character)
  980.             mus.Name = "mus"
  981.             mus.SoundId = musid
  982.             mus.Looped = true
  983.             mus.Volume = 1
  984.             mus:Play()
  985.         end
  986.     elseif k=='l' then
  987.         musid = "rbxassetid://1074563286"
  988.         mus.SoundId = musid
  989.         mus:Play()
  990.     elseif k=='k' then
  991.         musid = "rbxassetid://1074563286"
  992.         mus.SoundId = musid
  993.         mus:Play()
  994.     end
  995.     if k=='q' then
  996.         if attack==false and CurrentMode == "Unsheathed" then
  997.             Stab()
  998.         end
  999.     elseif k=='e' then
  1000.         if attack==false and CurrentMode == "Unsheathed" then
  1001.             Spin()
  1002.         end
  1003.     elseif k=='r' then
  1004.         if attack==false and CurrentMode == "Unsheathed" then
  1005.             ContAttack()
  1006.         end
  1007.     elseif k=='f' then
  1008.         if attack==false and CurrentMode == "Unsheathed" then
  1009.             Sheathe()
  1010.         elseif k=='f' then
  1011.             if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1012.                 Unsheathe()
  1013.             end
  1014.         end
  1015.     end
  1016. end)
  1017.  
  1018.  
  1019. local sine = 0
  1020. local change = 1
  1021. local val = 0
  1022.  
  1023. while true do
  1024.     swait()
  1025.     Humanoid.WalkSpeed = 20
  1026.     sine = sine + change
  1027.     local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1028.     local velderp=RootPart.Velocity.y
  1029.     hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1030.     if equipped==true or equipped==false then
  1031.         if attack==false then
  1032.             idle=idle+1
  1033.         else
  1034.             idle=0
  1035.         end
  1036.         if idle>=500 then
  1037.             if attack==false then
  1038.             end
  1039.         end
  1040.         if RootPart.Velocity.y > 1 and hitfloor==nil then
  1041.             Anim="Jump"
  1042.             if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1043.                 RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1044.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1045.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3)
  1046.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1047.                 LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1048.                 handleweld.C0=clerp(handleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3)
  1049.                 handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3)
  1050.             end
  1051.             if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1052.                 RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1053.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1054.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
  1055.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1056.                 LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1057.                 RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1058.                 handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1059.                 handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3)
  1060.             end
  1061.         elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1062.             Anim="Fall"
  1063.             if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1064.                 RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1065.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1066.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1067.                 LW.C0=clerp(LW.C0,CFrame.new(-1.40685952, 0.347550094, -0.023207128, 0.965925872, 0.224143773, -0.129409492, -0.258818924, 0.836516261, -0.482963085, 0, 0.500000119, 0.866025388),.3)
  1068.                 LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1069.                 handleweld.C0=clerp(handleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3)
  1070.                 handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3)
  1071.             end
  1072.             if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1073.                 RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1074.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1075.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
  1076.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1077.                 LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1078.                 RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1079.                 handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1080.                 handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3)
  1081.             end
  1082.         elseif torvel<1 and hitfloor~=nil then
  1083.             Anim="Idle"
  1084.             if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1085.                 RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1086.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
  1087.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
  1088.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1089.                 LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1090.                 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1091.                 handleweld.C0=clerp(handleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3)
  1092.                 handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3)
  1093.             end
  1094.             if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1095.                 RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1096.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  1097.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
  1098.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
  1099.                 LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1100.                 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1101.                 handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1102.                 handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3)
  1103.             end
  1104.             if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1105.                 RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1106.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1107.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
  1108.                 LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
  1109.                 LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1110.                 RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1111.                 handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1112.                 handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3)
  1113.             end
  1114.         elseif torvel>2 and hitfloor~=nil then
  1115.             Anim="Walk"
  1116.             if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1117.                 change=2
  1118.                 RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1119.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1120.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1121.                 LW.C0=clerp(LW.C0,CFrame.new(-1.40685952, 0.347550094, -0.023207128, 0.965925872, 0.224143773, -0.129409492, -0.258818924, 0.836516261, -0.482963085, 0, 0.500000119, 0.866025388),.3)
  1122.                 LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1123.                 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1124.                 handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
  1125.                 handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3)
  1126.             end
  1127.             if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1128.                 RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1129.                 Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1130.                 RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(45*math.cos(sine/10)),math.rad(0),math.rad(5)),.3)
  1131.                 LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-45*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3)
  1132.                 LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1133.                 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1134.                 handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1135.                 handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3)
  1136.             end
  1137.         end
  1138.     end
  1139.     if #Effects>0 then
  1140.         for e=1,#Effects do
  1141.             if Effects[e]~=nil then
  1142.                 local Thing=Effects[e]
  1143.                 if Thing~=nil then
  1144.                     local Part=Thing[1]
  1145.                     local Mode=Thing[2]
  1146.                     local Delay=Thing[3]
  1147.                     local IncX=Thing[4]
  1148.                     local IncY=Thing[5]
  1149.                     local IncZ=Thing[6]
  1150.                     if Thing[1].Transparency<=1 then
  1151.                         if Thing[2]=="Block1" then
  1152.                             Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1153.                             Mesh=Thing[1].Mesh
  1154.                             Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1155.                             Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1156.                         elseif Thing[2]=="Cylinder" then
  1157.                             Mesh=Thing[1].Mesh
  1158.                             Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1159.                             Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1160.                         elseif Thing[2]=="Blood" then
  1161.                             Mesh=Thing[7]
  1162.                             Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1163.                             Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1164.                             Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1165.                         elseif Thing[2]=="Elec" then
  1166.                             Mesh=Thing[1].Mesh
  1167.                             Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1168.                             Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1169.                         elseif Thing[2]=="Disappear" then
  1170.                             Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1171.                         end
  1172.                     else
  1173.                         Part.Parent=nil
  1174.                         table.remove(Effects,e)
  1175.                     end
  1176.                 end
  1177.             end
  1178.         end
  1179.     end
  1180. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement