HuyEvilDumb

katana v2 lol

Jan 24th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 20.85 KB | None | 0 0
  1. --By Rufus14
  2. CV="White"
  3.  
  4.     p = game.Players.LocalPlayer
  5.     char = p.Character
  6.     local txt = Instance.new("BillboardGui", char)
  7.     txt.Adornee = char .Head
  8.     txt.Name = "_status"
  9.     txt.Size = UDim2.new(2, 0, 1.2, 0)
  10.     txt.StudsOffset = Vector3.new(-9, 8, 0)
  11.     local text = Instance.new("TextLabel", txt)
  12.     text.Size = UDim2.new(10, 0, 7, 0)
  13.     text.FontSize = "Size24"
  14.     text.TextScaled = true
  15.     text.TextTransparency = 0
  16.     text.BackgroundTransparency = 1
  17.     text.TextTransparency = 0
  18.     text.TextStrokeTransparency = 1
  19.     text.Font = "Arcade"
  20.     text.TextStrokeColor3 = Color3.new(0,0,255)
  21.  
  22.     v=Instance.new("Part")
  23.     v.Name = "ColorBrick"
  24.     v.Parent=p.Character
  25.     v.FormFactor="Symmetric"
  26.     v.Anchored=true
  27.     v.CanCollide=false
  28.     v.BottomSurface="Smooth"
  29.     v.TopSurface="Smooth"
  30.     v.Size=Vector3.new(10,5,3)
  31.     v.Transparency=1
  32.     v.CFrame=char.Torso.CFrame
  33.     v.BrickColor=BrickColor.new(CV)
  34.     v.Transparency=1
  35.     text.TextColor3 = Color3.new(255,255,0)
  36.     v.Shape="Block"
  37.     text.Text = "an idiot with a katana"
  38.  
  39. mouse = game.Players.LocalPlayer:GetMouse()
  40. --Converted with ttyyuu12345's model to script plugin v4
  41. function sandbox(var,func)
  42.     local env = getfenv(func)
  43.     local newenv = setmetatable({},{
  44.         __index = function(self,k)
  45.             if k=="script" then
  46.                 return var
  47.             else
  48.                 return env[k]
  49.             end
  50.         end,
  51.     })
  52.     setfenv(func,newenv)
  53.     return func
  54. end
  55. cors = {}
  56. mas = Instance.new("Model",game:GetService("Lighting"))
  57. Part0 = Instance.new("Part")
  58. SpecialMesh1 = Instance.new("SpecialMesh")
  59. Attachment2 = Instance.new("Attachment")
  60. Attachment3 = Instance.new("Attachment")
  61. Attachment4 = Instance.new("Attachment")
  62. Attachment5 = Instance.new("Attachment")
  63. Part0.Name = "Katana"
  64. Part0.Parent = mas
  65. Part0.BrickColor = BrickColor.new("Dark stone grey")
  66. Part0.Rotation = Vector3.new(-110.909996, -14.0299997, -57.5999985)
  67. Part0.FormFactor = Enum.FormFactor.Custom
  68. Part0.Size = Vector3.new(0.200000003, 0.100000851, 4.6999979)
  69. Part0.CFrame = CFrame.new(5.1301012, 4.3172431, -13.3496962, 0.51984179, 0.819148481, -0.242405802, 0.422617286, 3.61466164e-07, 0.906308353, 0.742401004, -0.573581874, -0.346186072)
  70. Part0.BottomSurface = Enum.SurfaceType.Smooth
  71. Part0.TopSurface = Enum.SurfaceType.Smooth
  72. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  73. Part0.Position = Vector3.new(5.1301012, 4.3172431, -13.3496962)
  74. Part0.Orientation = Vector3.new(-65, -145, 90)
  75. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  76. SpecialMesh1.Parent = Part0
  77. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=11442510"
  78. SpecialMesh1.Scale = Vector3.new(1.70000005, 1.70000005, 1.70000005)
  79. SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=11442524"
  80. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  81. SpecialMesh1.Scale = Vector3.new(1.70000005, 1.70000005, 1.70000005)
  82. Attachment5.Name = "Attachment"
  83. Attachment5.Parent = Part0
  84. Attachment5.CFrame = CFrame.new(-5.569309e-07, -1.49011612e-07, 2.49999976, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  85. Attachment5.Position = Vector3.new(-5.569309e-07, -1.49011612e-07, 2.49999976)
  86. Attachment4.Parent = Part0
  87. Attachment4.CFrame = CFrame.new(-3.29315662e-06, 3.53716314e-06, -1.10000086, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  88. Attachment4.Position = Vector3.new(-3.29315662e-06, 3.53716314e-06, -1.10000086)
  89. Attachment4.Parent = Part0
  90. Attachment4.CFrame = CFrame.new(-3.29315662e-06, 3.53716314e-06, -1.10000086, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  91. Attachment4.Position = Vector3.new(-3.29315662e-06, 3.53716314e-06, -1.10000086)
  92. Attachment5.Name = "Attachment1"
  93. Attachment5.Parent = Part0
  94. Attachment5.CFrame = CFrame.new(-5.569309e-07, -1.49011612e-07, 2.49999976, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  95. Attachment5.Position = Vector3.new(-5.569309e-07, -1.49011612e-07, 2.49999976)
  96. for i,v in pairs(mas:GetChildren()) do
  97.     v.Parent = game:GetService("Players").LocalPlayer.Character
  98.     pcall(function() v:MakeJoints() end)
  99. end
  100. mas:Destroy()
  101. for i,v in pairs(cors) do
  102.     spawn(function()
  103.         pcall(v)
  104.     end)
  105. end
  106. Part0:BreakJoints()
  107. canwalk = true
  108. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  109. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  110. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  111. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  112. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  113. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  114. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  115. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  116. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  117. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  118. local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  119. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
  120. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  121. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  122. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  123. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  124. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  125. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  126. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  127. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  128. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  129. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  130. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  131. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  132. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  133. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  134. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  135. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  136. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  137. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  138. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  139. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  140. game.Players.LocalPlayer.Character.Torso.Neck:Remove()
  141. Part0.CanCollide = false
  142. using = false
  143. slashval = 0
  144. local swoosh = Instance.new("Sound", Part0)
  145. swoosh.Volume = 10
  146. swoosh.SoundId = "rbxassetid://1112042117"
  147. swoosh.PlaybackSpeed = 2
  148. local hit1 = Instance.new("Sound", Part0)
  149. hit1.Volume = 10
  150. hit1.SoundId = "rbxassetid://220834000"
  151. local hit11 = Instance.new("Sound", Part0)
  152. hit11.Volume = 10
  153. hit11.SoundId = "rbxassetid://220833976"
  154. local hit111 = Instance.new("Sound", Part0)
  155. hit111.Volume = 10
  156. hit111.SoundId = "rbxassetid://220834019"
  157. local hit1111 = Instance.new("Sound", Part0)
  158. hit1111.Volume = 10
  159. hit1111.SoundId = "rbxassetid://220833967"
  160. local welded = Instance.new("Weld", game.Players.LocalPlayer.Character["Right Arm"])
  161. welded.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  162. welded.Part1 = Part0
  163. welded.C0 = CFrame.new(2.90870667e-05, -1.00003433, -1.76998043, 3.48827803e-06, 0.999993622, 1.11844793e-06, 0.999994636, -6.09856488e-06, -1.73907235e-08, 1.42558235e-06, -5.02059891e-07, -0.999994695)
  164. function slash()
  165.     if not using then
  166.         using = true
  167.         canwalk = false
  168.         if slashval > 1 then
  169.             slashval = 0
  170.         end
  171.         if slashval == 0 then
  172.             slashval = slashval + 1
  173.             swoosh:Play()
  174.             local trail = Instance.new("Trail", Part0)
  175.             trail.Attachment0 = Attachment4
  176.             trail.Attachment1 = Attachment5
  177.             trail.Lifetime = 0.05
  178.             for i = 0,1 , 0.25 do
  179.                 welded.C0 = welded.C0:lerp(CFrame.new(-0.0285909176, -0.964775562, -1.62501633, 2.65673535e-22, 1, 5.23747954e-22, 1, -2.65673535e-22, -3.13253081e-22, -3.13253081e-22, 5.23747954e-22, -1),i)
  180.                 headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866024196, 2.65673535e-22, -0.500002146, -7.34524923e-23, 1, 4.04122082e-22, 0.500002146, -3.13253081e-22, 0.866024196),i)
  181.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.499998987, -4.04121804e-22, -0.866025984, 2.65673535e-22, 1, -3.13253081e-22, 0.866025984, -7.34539565e-23, 0.499998987):inverse(),i)
  182.                 lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.84204149, 0.124492884, -1.00376318e-21, 0.939692736, 0.342019886, -5.23747954e-22, -0.342019916, 0.939692736, 3.13253081e-22, 5.99300937e-22, -1.1522943e-22, 1),i)
  183.                 rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.00925922, 0.485242128, -1.20619643, 2.65673535e-22, 0.422617942, 0.906307876, 1, 1.71625336e-22, -3.73168367e-22, -3.13253081e-22, 0.906307876, -0.422617942),i)
  184.                 game:GetService("RunService").RenderStepped:wait()
  185.             end
  186.             local sensorpart = Instance.new("Part", Part0)
  187.             sensorpart.Size = Vector3.new(0.5,4.5,0.3)
  188.             sensorpart.Transparency = 1
  189.             sensorpart:BreakJoints()
  190.             sensorpart.CanCollide = false
  191.             local weld1 = Instance.new("Weld", sensorpart)
  192.             weld1.Part0 = sensorpart
  193.             weld1.Part1 = Part0
  194.             weld1.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0,0,-2.5)
  195.             local function dmg(part)
  196.                 local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  197.                 local torso = part.Parent:findFirstChild("Torso")
  198.                 local uppertorso = part.Parent:findFirstChild("UpperTorso")
  199.                 if humanoid then
  200.                     humanoid.Health = humanoid.Health - math.random(50,60)
  201.                     local hitvalrandom = math.random(1,4)
  202.                     if hitvalrandom == 1 then
  203.                         hit1:Play()
  204.                     end
  205.                     if hitvalrandom == 2 then
  206.                         hit11:Play()
  207.                     end
  208.                     if hitvalrandom == 3 then
  209.                         hit111:Play()
  210.                     end
  211.                     if hitvalrandom == 4 then
  212.                         hit1111:Play()
  213.                     end
  214.                     for i = 1,50 do
  215.                         if torso then
  216.                             torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 30
  217.                         elseif uppertorso then
  218.                             uppertorso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 30
  219.                         end
  220.                     end
  221.                 end
  222.             end
  223.             sensorpart.Touched:connect(dmg)
  224.             for i = 0,1 , 0.25 do
  225.                 welded.C0 = welded.C0:lerp(CFrame.new(-0.0285909176, -2.71455145, -0.90740478, -2.73476154e-29, 1, -2.2947362e-29, 0.500000417, 2.5243549e-29, -0.866025686, -0.866025686, 2.5243549e-29, -0.500000417),i)
  226.                 headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866028011, 2.65673535e-22, 0.499995977, -3.86706028e-22, 1, 1.38450289e-22, -0.499996006, -3.13253081e-22, 0.866028011),i)
  227.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.707106352, 3.36441351e-23, 0.707107365, 2.65673535e-22, 1, -3.13253081e-22, -0.707107365, 4.09362971e-22, 0.707106352):inverse(),i)
  228.                 lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.95282686, 0.177967548, -5.57488633e-23, 0.499999106, 0.866026163, 0, -0.866025984, 0.499998987, 3.13253182e-22, 2.71285302e-22, -1.56626225e-22, 1.00000024),i)
  229.                 rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.91089821, 0.485242128, -0.752363503, 2.65673535e-22, -0.573576987, 0.819151998, 1, 4.08986135e-22, -3.79522244e-23, -3.13253081e-22, 0.819151998, 0.573576987),i)
  230.                 game:GetService("RunService").RenderStepped:wait()
  231.             end
  232.             sensorpart:destroy()
  233.             trail:destroy()
  234.         elseif slashval == 1 then
  235.             slashval = slashval + 1
  236.             local trail = Instance.new("Trail", Part0)
  237.             trail.Attachment0 = Attachment4
  238.             trail.Attachment1 = Attachment5
  239.             trail.Lifetime = 0.05
  240.             swoosh:Play()
  241.             for i = 0,1 , 0.25 do
  242.                 welded.C0 = welded.C0:lerp(CFrame.new(3.81469727e-05, 0.251302719, -1.5781014, 7.39097595e-06, 1, 2.98023224e-08, 0.766043305, -5.7220459e-06, 0.642789245, 0.642789245, -4.70876694e-06, -0.766043127),i)
  243.                 headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866024196, 2.65673535e-22, -0.500002146, -7.34524923e-23, 1, 4.04122082e-22, 0.500002146, -3.13253081e-22, 0.866024196),i)
  244.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025388, -7.34534137e-23, 0.500000238, 2.65673535e-22, 1, -3.13253081e-22, -0.500000238, 4.04121956e-22, 0.866025388):inverse(),i)
  245.                 lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.07134676, 0.106449842, -1.03622437, 0.765215099, -0.627616405, -0.143330336, 0.396098047, 0.634510398, -0.663704038, 0.507496059, 0.451103479, 0.734134555),i)
  246.                 rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(2.00207996, 1.1934793, -0.36548233, 0.848145485, -0.505803585, 0.157518297, -0.16016309, -0.528244972, -0.833849609, 0.504972279, 0.68199718, -0.529039621),i)
  247.                 game:GetService("RunService").RenderStepped:wait()
  248.             end
  249.             local sensorpart = Instance.new("Part", Part0)
  250.             sensorpart.Size = Vector3.new(0.5,4.5,0.3)
  251.             sensorpart.Transparency = 1
  252.             sensorpart:BreakJoints()
  253.             sensorpart.CanCollide = false
  254.             local weld1 = Instance.new("Weld", sensorpart)
  255.             weld1.Part0 = sensorpart
  256.             weld1.Part1 = Part0
  257.             weld1.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0,0,-2.5)
  258.             local function dmg(part)
  259.                 local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  260.                 local torso = part.Parent:findFirstChild("Torso")
  261.                 local uppertorso = part.Parent:findFirstChild("UpperTorso")
  262.                 if humanoid then
  263.                     humanoid.Health = humanoid.Health - math.random(50,70)
  264.                     local hitvalrandom = math.random(1,4)
  265.                     if hitvalrandom == 1 then
  266.                         hit1:Play()
  267.                     end
  268.                     if hitvalrandom == 2 then
  269.                         hit11:Play()
  270.                     end
  271.                     if hitvalrandom == 3 then
  272.                         hit111:Play()
  273.                     end
  274.                     if hitvalrandom == 4 then
  275.                         hit1111:Play()
  276.                     end
  277.                     for i = 1,50 do
  278.                         if torso then
  279.                             torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 20
  280.                         elseif uppertorso then
  281.                             uppertorso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 20
  282.                         end
  283.                     end
  284.                 end
  285.             end
  286.             sensorpart.Touched:connect(dmg)
  287.             for i = 0,1 , 0.25 do
  288.                 welded.C0 = welded.C0:lerp(CFrame.new(2.67028809e-05, -1.67102146, -1.64267159, 2.86474824e-06, 1.00000036, -5.78165054e-06, 0.866025925, -5.39422035e-06, -0.499999285, -0.499999166, -3.54647636e-06, -0.866026163),i)
  289.                 headweld.C0 = headweld.C0:lerp(CFrame.new(3.98510265e-22, 1.5, -4.69879583e-22, 0.866028011, 2.65673535e-22, 0.499995977, -3.86706028e-22, 1, 1.38450289e-22, -0.499996006, -3.13253081e-22, 0.866028011),i)
  290.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.906308115, -3.73168493e-22, -0.422618032, 2.65673535e-22, 1, -3.13253081e-22, 0.422618032, 1.71625361e-22, 0.906308115):inverse(),i)
  291.                 lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.54232287, 0.0149004459, 0.548013687, 0.989612877, 0.143751666, -0.00144592952, -0.10442698, 0.725734234, 0.680003583, 0.0988010243, -0.672789276, 0.733207405),i)
  292.                 rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.04077673, -0.0431711674, -1.13153744, 0.814213216, 0.260836869, 0.518672585, 0.0643480048, 0.847341299, -0.527135789, -0.576989114, 0.462576419, 0.673132122),i)
  293.                 game:GetService("RunService").RenderStepped:wait()
  294.             end
  295.             sensorpart:destroy()
  296.             trail:destroy()
  297.         end
  298.         canwalk = true
  299.         using = false
  300.     end
  301. end
  302. mouse.Button1Down:connect(slash)
  303. while true do
  304.     if canwalk then
  305.         if game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 then
  306.             for i = 0,0.4 , 0.03 do
  307.                 if canwalk and game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 then
  308.                     headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 1.00000024, 2.61637394e-22, -4.61336744e-23, -2.65673585e-22, 0.984807849, -0.173647985, 0, 0.17364803, 0.984808087),i)
  309.                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1.00000024, -2.65673585e-22, 0, 2.61637394e-22, 0.984807849, -0.17364803, 4.61336744e-23, 0.173647985, 0.984808087):inverse(),i)
  310.                     rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.86566889, 0.695530891, 1.00000024, 2.03517657e-22, 1.70771776e-22, -2.65673585e-22, 0.76604414, 0.642788053, 0, -0.642788231, 0.766044319),i)
  311.                     llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.530218601, -1.82889962, -0.714493513, 0.992945731, -0.0400093496, -0.111618601, -0.0400080197, 0.773099542, -0.633021653, 0.111619085, 0.633021772, 0.766045153),i)
  312.                     lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.64980125, 0.0399148464, 0.717731237, 0.984808087, 0.133022189, 0.111618683, -0.173647985, 0.754407108, 0.633021653, 5.43957649e-23, -0.642787218, 0.766045153),i)
  313.                     rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805202, 0.136151552, -0.559810162, 0.984808087, -0.173648104, -2.98209869e-07, 0.133021981, 0.754406869, -0.642787337, 0.111619018, 0.63302213, 0.766044855),i)
  314.                     game:GetService("RunService").RenderStepped:wait()
  315.                 end
  316.             end
  317.             for i = 0,0.4 , 0.03 do
  318.                 if canwalk and game.Players.LocalPlayer.Character.Torso.Velocity.x < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.x > 0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z < -0.5 or game.Players.LocalPlayer.Character.Torso.Velocity.z > 0.5 then
  319.                     headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 1.00000024, 2.61637394e-22, -4.61336744e-23, -2.65673585e-22, 0.984807849, -0.173647985, 0, 0.17364803, 0.984808087),i)
  320.                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.0726344585, -2.38418579e-07, 1.00000024, -2.65673585e-22, 0, 2.6163742e-22, 0.984807968, -0.173648044, 4.61336838e-23, 0.173648, 0.984808207):inverse(),i)
  321.                     rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.86078393, -0.713530302, 1.00000024, 2.03517695e-22, -1.70771801e-22, -2.65673585e-22, 0.766044259, -0.642788112, 0, 0.642788291, 0.766044438),i)
  322.                     llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.70853138, -1.75833619, 0.89703536, 0.992945731, 0.102975316, -0.0587838776, -0.0400080234, 0.757652104, 0.651431441, 0.111619093, -0.644484162, 0.756427169),i)
  323.                     lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.66348219, 0.137681007, -0.535534859, 0.984808087, 0.133022189, -0.111618683, -0.173648, 0.754407227, -0.633021653, 0, 0.642787278, 0.766045332),i)
  324.                     rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.59805202, 0.118935108, 0.435078144, 0.984808207, -0.173647344, -9.4095941e-07, 0.111619018, 0.63302201, 0.766044796, -0.133021042, -0.754407227, 0.642787576),i)
  325.                     game:GetService("RunService").RenderStepped:wait()
  326.                 end
  327.             end
  328.         else
  329.             if canwalk then
  330.                 for i = 0,0.7 , 0.03 do
  331.                     if canwalk then
  332.                         welded.C0 = welded.C0:lerp(CFrame.new(2.90870667e-05, -1.00003433, -1.76998043, 3.48827803e-06, 0.999993622, 1.11844793e-06, 0.999994636, -6.09856488e-06, -1.73907235e-08, 1.42558235e-06, -5.02059891e-07, -0.999994695),i)
  333.                         headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.50000024, 0, 0.906307876, 2.65673535e-22, -0.422617942, -1.08395635e-22, 1, 3.96182153e-22, 0.422617942, -3.13253081e-22, 0.906307876),i)
  334.                         humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025388, -3.86706633e-22, -0.500000238, 2.65673535e-22, 1, -3.13253081e-22, 0.500000238, 1.38448295e-22, 0.866025388):inverse(),i)
  335.                         rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  336.                         llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.790345192, -1.96068549, 0, 0.984807849, 0.173647985, -5.23747954e-22, -0.173647985, 0.984807849, 3.13253081e-22, 5.70186845e-22, -2.1754633e-22, 1),i)
  337.                         lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.421217442, 0.0324847698, -1.29440498, 0.821394861, -0.422617882, -0.383020282, -0.126494989, 0.51983583, -0.844848931, 0.55615592, 0.742404759, 0.373531491),i)
  338.                         rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.0324564, 0.142137051, -1.00955009, 0.819151819, 0.496732086, 0.286788493, -3.97301679e-22, 0.500000119, -0.866025388, -0.573576868, 0.709406197, 0.409575999),i)
  339.                         game:GetService("RunService").RenderStepped:wait()
  340.                     end
  341.                 end
  342.             end
  343.         end
  344.     end
  345.     if swoosh.Parent == nil then
  346.         swoosh.Parent = Part0
  347.     end
  348.     if hit1.Parent == nil then
  349.         hit1.Parent = Part0
  350.     end
  351.     if hit11.Parent == nil then
  352.         hit11.Parent = Part0
  353.     end
  354.     if hit111.Parent == nil then
  355.         hit111.Parent = Part0
  356.     end
  357.     if hit1111.Parent == nil then
  358.         hit1111.Parent = Part0
  359.     end
  360.     game:GetService("RunService").RenderStepped:wait()
  361. end
Add Comment
Please, Sign In to add comment