Advertisement
TheYoutuber_Pro

wewe

Jan 17th, 2022 (edited)
646
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --By CoolScripter aka (lolboigghh)
  2. heartbeat = game:GetService("RunService").Heartbeat
  3. --owner = game:GetService("Players")[script.Parent.Name]
  4. NLS([[
  5. for i,v in pairs(game.ReplicatedStorage:GetChildren()) do
  6.     if v.Name == "ParkourRemote" then
  7.         v:destroy()
  8.     end
  9. end
  10. local remote = game.ReplicatedStorage:WaitForChild("ParkourRemote")
  11. owner = game:GetService("Players").LocalPlayer
  12. mouse = owner:GetMouse()
  13. workspace.CurrentCamera.FieldOfView = 115
  14. owner.CameraMode = "LockFirstPerson"
  15. local part = Instance.new("Part", owner.Character.Head)
  16. part.Size = Vector3.new(0.1,0.1,0.1)
  17. part.Transparency = 1
  18. part.CanCollide = false
  19. part.Name = "camera"
  20. part:BreakJoints()
  21. local weld = Instance.new("Weld", part)
  22. weld.Part0 = owner.Character.Head
  23. weld.Part1 = part
  24. weld.C0 = CFrame.new(0,0,-1)
  25. workspace.CurrentCamera.CameraSubject = part
  26. owner.Character.Head.Transparency = 1
  27. cangoup = true
  28. rolling = false
  29. if owner.Character.Head:findFirstChildOfClass("Decal") then
  30.     owner.Character.Head:findFirstChildOfClass("Decal").Transparency = 1
  31. end
  32. function death()
  33.     local color = Instance.new("ColorCorrectionEffect", workspace.CurrentCamera)
  34.     game.Debris:AddItem(color, 5)
  35.     local deathsound = Instance.new("Sound", workspace.CurrentCamera)
  36.     deathsound.SoundId = "rbxassetid://1038809455"
  37.     deathsound.Volume = 10
  38.     for i,v in pairs(owner.Character.Head:GetChildren()) do
  39.         if v.ClassName == "Sound" then
  40.             v:destroy()
  41.         end
  42.     end
  43.     for i = 1,8 do
  44.         color.Brightness = color.Brightness + 0.135
  45.         workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0.04,0,0)
  46.         game:GetService("RunService").RenderStepped:wait()
  47.     end
  48.     deathsound:Play()
  49.     workspace.CurrentCamera.FieldOfView = 70
  50.     workspace.CurrentCamera.CameraSubject = workspace
  51.     workspace.CurrentCamera.CFrame = CFrame.new(9999999999999,9999999999999,9999999999999)
  52.     wait(4.5)
  53.     owner.CameraMode = "Classic"
  54.     workspace.CurrentCamera.CameraSubject = owner.Character
  55. end
  56. owner.Character:findFirstChildOfClass("Humanoid").Died:connect(death)
  57. function action(key)
  58.     key = key:lower()
  59.     if key == "e" then
  60.         remote:FireServer("slide")
  61.     end
  62.     if key == "c" then
  63.         remote:FireServer("rollon")
  64.     end
  65. end
  66. function undoaction(key)
  67.     key = key:lower()
  68.     if key == "c" then
  69.         remote:FireServer("rolloff")
  70.     end
  71. end
  72. mouse.KeyDown:connect(action)
  73. mouse.KeyUp:connect(undoaction)
  74. function mouseaction()
  75.     remote:FireServer("kick")
  76. end
  77. mouse.Button2Down:connect(mouseaction)
  78. function mouseaction2()
  79.     remote:FireServer("punch")
  80. end
  81. mouse.Button1Down:connect(mouseaction2)
  82. function visiblebody()
  83.     if owner.Character.HumanoidRootPart:findFirstChild("FALLING") then
  84.         workspace.CurrentCamera.CFrame = owner.Character.Head.CFrame * CFrame.new(0,0,-1)
  85.         workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-1,1)/100,math.random(-1,1)/100,math.random(-1,1)/100)
  86.     end
  87.     if owner.Character.HumanoidRootPart:findFirstChild("ow") then
  88.         workspace.CurrentCamera.CFrame = owner.Character.Head.CFrame * CFrame.new(0,0,-1)
  89.     end
  90.     if owner.Character.HumanoidRootPart:findFirstChild("rolling") then
  91.         rolling = true
  92.         workspace.CurrentCamera.CFrame = owner.Character.Head.CFrame * CFrame.new(0,0,-1)
  93.     end
  94.     if not owner.Character.HumanoidRootPart:findFirstChild("rolling") and rolling then
  95.         rolling = false
  96.     end
  97.     if not owner.Character.HumanoidRootPart:findFirstChild("goingup") and not owner.Character.HumanoidRootPart.Anchored and not owner.Character.HumanoidRootPart:findFirstChild("sliding") and not owner.Character.HumanoidRootPart:findFirstChild("FALLING") and not owner.Character.HumanoidRootPart:findFirstChild("ow") and not owner.Character.HumanoidRootPart:findFirstChild("climbing") and not owner.Character:findFirstChildOfClass("Humanoid").PlatformStand and not owner.Character:findFirstChildOfClass("Humanoid").Sit then
  98.         game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,Vector3.new(mouse.Hit.p.x,game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.y,mouse.Hit.p.z))
  99.     end
  100.     if owner.Character.HumanoidRootPart:findFirstChild("goingup") and cangoup then
  101.         cangoup = false
  102.         local function lookup()
  103.             for i = 1,15 do
  104.                 workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0.05,0,0)
  105.                 game:GetService("RunService").RenderStepped:wait()
  106.             end
  107.         end
  108.         spawn(lookup)
  109.     end
  110.     if not owner.Character.HumanoidRootPart:findFirstChild("goingup") and not cangoup then
  111.         cangoup = true
  112.         local function lookup()
  113.             for i = 1,15 do
  114.                 workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(-0.05,0,0)
  115.                 game:GetService("RunService").RenderStepped:wait()
  116.             end
  117.         end
  118.         spawn(lookup)
  119.     end
  120.     for i,v in pairs(owner.Character:GetChildren()) do
  121.         if v.ClassName == "Part" and v.Name ~= "Head" then
  122.             v.LocalTransparencyModifier = 0
  123.         end
  124.         if v.ClassName == "Accessory" then
  125.             v.Handle.Transparency = 1
  126.         end
  127.     end
  128. end
  129. game:GetService("RunService").RenderStepped:connect(visiblebody)
  130. ]], owner.Character)
  131. wait(0.8)
  132. local remote = Instance.new("RemoteEvent", game.ReplicatedStorage)
  133. remote.Name = "ParkourRemote"
  134. humanoidofowner = owner.Character:findFirstChildOfClass("Humanoid")
  135. humanoidofowner.CameraOffset = Vector3.new(0,0,-1)
  136. rootpart = owner.Character:findFirstChild("HumanoidRootPart")
  137. local rightarm = Instance.new("Weld", owner.Character.Torso)
  138. rightarm.Part0 = owner.Character.Torso
  139. rightarm.Part1 = owner.Character["Right Arm"]
  140. rightarm.C0 = CFrame.new(1.5,0,0)
  141. rightarm.Name = "RightArmWeld"
  142. local rightleg = Instance.new("Weld", owner.Character.Torso)
  143. rightleg.Part0 = owner.Character.Torso
  144. rightleg.Part1 = owner.Character["Right Leg"]
  145. rightleg.C0 = CFrame.new(0.5,-2,0)
  146. rightleg.Name = "RightLegWeld"
  147. local leftarm = Instance.new("Weld", owner.Character.Torso)
  148. leftarm.Part0 = owner.Character.Torso
  149. leftarm.Part1 = owner.Character["Left Arm"]
  150. leftarm.C0 = CFrame.new(-1.5,0,0)
  151. leftarm.Name = "LeftArmWeld"
  152. local leftleg = Instance.new("Weld", owner.Character.Torso)
  153. leftleg.Part0 = owner.Character.Torso
  154. leftleg.Part1 = owner.Character["Left Leg"]
  155. leftleg.C0 = CFrame.new(-0.5,-2,0)
  156. leftleg.Name = "LeftLegWeld"
  157. local head = Instance.new("Weld", owner.Character.Torso)
  158. head.Part0 = owner.Character.Torso
  159. head.Part1 = owner.Character.Head
  160. head.C0 = CFrame.new(0,1.5,0)
  161. head.Name = "HeadWeld"
  162. local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
  163. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  164. humanoidrootpart.Part1 = owner.Character.Torso
  165. humanoidrootpart.Name = "HumanoidRootPartWeld"
  166. owner.Character.HumanoidRootPart.CanCollide = false
  167. humanoidofowner.WalkSpeed = 25
  168. local footstep = Instance.new("Sound", owner.Character.Head)
  169. footstep.SoundId = "rbxassetid://379611235"
  170. footstep:Play()
  171. footstep.Volume = 2.5
  172. local ambient = Instance.new("Sound", owner.Character.Head)
  173. ambient.SoundId = "rbxassetid://937509512"
  174. ambient.Looped = true
  175. ambient:Play()
  176. ambient.Volume = 0.2
  177. local musicwhat = math.random(1,5)
  178. if musicwhat == 1 then
  179.     ambient.SoundId = "rbxassetid://937509512"
  180.     ambient.Volume = 0.2
  181. end
  182. local jumpsound = Instance.new("Sound", owner.Character.Head)
  183. jumpsound.SoundId = "rbxassetid://1188430348"
  184. jumpsound.PlaybackSpeed = 1.5
  185. local swoosh = Instance.new("Sound", owner.Character.Head)
  186. swoosh.SoundId = "rbxassetid://2706199011"
  187. swoosh.PlaybackSpeed = 1
  188. local swoosh2 = Instance.new("Sound", owner.Character.Head)
  189. swoosh2.SoundId = "rbxassetid://596439421"
  190. swoosh2.PlaybackSpeed = 0.7
  191. local bodyhit = Instance.new("Sound", owner.Character.Head)
  192. bodyhit.SoundId = "rbxassetid://261338552"
  193. local kickhit = Instance.new("Sound", owner.Character.Head)
  194. kickhit.SoundId = "rbxassetid://220025675"
  195. if owner.Character.Head:findFirstChild("FreeFalling") then
  196.     owner.Character.Head:findFirstChild("FreeFalling").Volume = 5
  197. end
  198. running = false
  199. jumping = false
  200. cananimate = true
  201. canplayjump = true
  202. victimdude = nil
  203. cando = true
  204. trytoroll = false
  205. waitforbounce = 0
  206. function run()
  207.     while heartbeat:wait() do
  208.         if rootpart.Velocity.x < -4 or rootpart.Velocity.x > 4 or rootpart.Velocity.z < -4 or rootpart.Velocity.z > 4 and not jumping and cananimate then
  209.             running = true
  210.         else
  211.             running = false
  212.         end
  213.     end
  214. end
  215. function rip()
  216.     cananimate = false
  217.     jumpsound.Volume = 0
  218.     local fallvelocity = Instance.new("BodyVelocity", owner.Character.HumanoidRootPart)
  219.     fallvelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  220.     fallvelocity.Velocity = Vector3.new(0,-140,0)
  221.     fallvelocity.Name = "FALLING"
  222.     local function aaafalling()
  223.         while heartbeat:wait() do
  224.             for i = 0,0.5 , 0.03 do
  225.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.17411232, -0.132110596, -0.264811039, 0.859451294, 0.511213899, 0.00197864277, -0.470952272, 0.793257236, -0.385936379, -0.198865607, 0.330761641, 0.92252332),i)
  226.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.6866436, 0.623382568, 0.115309238, 0.807834744, 0.565451264, -0.166336611, 0.572863281, -0.819640577, -0.00413560122, -0.138674706, -0.0919472426, -0.986060381),i)
  227.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.25210571, 0.862024784, 1, 0, 0, 0, 0.173650429, 0.984807372, 0, -0.984807432, 0.173650429),i)
  228.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.34194946, -0.939673424, 1, 0, 0, 0, 0.342017591, -0.93969363, 0, 0.93969357, 0.342017591),i)
  229.                 head.C0 = head.C0:lerp(CFrame.new(0, 1.38299561, -0.321393013, 1, 0, 0, 0, 0.766044021, 0.642788172, 0, -0.642788112, 0.766044021),i)
  230.                 heartbeat:wait()
  231.             end
  232.             for i = 0,0.5 , 0.03 do
  233.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.66958046, 0.703216553, -0.101788998, 0.859451294, -0.479707241, -0.176704615, -0.470952272, -0.877416015, 0.0913519114, -0.198865607, 0.00470691221, -0.980015516),i)
  234.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.139925, -0.19039917, -0.0615525246, 0.807834744, -0.527976871, 0.261998922, 0.572863281, 0.807906568, -0.138255939, -0.138674706, 0.26177752, 0.95511359),i)
  235.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.42044067, -1.06244373, 1, 0, 0, 0, 0.342018187, -0.939693332, 0, 0.939693332, 0.342018157),i)
  236.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.34197998, 0.939681053, 1, 0, 0, 0, 0.34202221, 0.939691842, 0, -0.939691901, 0.34202221),i)
  237.                 head.C0 = head.C0:lerp(CFrame.new(0, 1.38299561, -0.321393013, 1, 0, 0, 0, 0.766044021, 0.642788172, 0, -0.642788112, 0.766044021),i)
  238.                 heartbeat:wait()
  239.             end
  240.         end
  241.     end
  242.     spawn(aaafalling)
  243.     while rootpart.Velocity.y <= -138 do
  244.         humanoidrootpart.C0 = humanoidrootpart.C0 * CFrame.fromEulerAnglesXYZ(-0.02,-0.02,-0.02)
  245.         heartbeat:wait()
  246.     end
  247.     fallvelocity:destroy()
  248.     owner.Character:BreakJoints()
  249. end
  250. function checkfall()
  251.     while heartbeat:wait() do
  252.         if rootpart.Velocity.y <= -100 and rootpart.Velocity.y > -140 then
  253.             local owe = true
  254.             while rootpart.Velocity.y <= -100 do
  255.                 if rootpart.Velocity.y <= -140 then
  256.                     owe = false
  257.                     trytoroll = false
  258.                     rip()
  259.                     break
  260.                 end
  261.                 heartbeat:wait()
  262.             end
  263.             if not trytoroll then
  264.                 cananimate = false
  265.                 local ow = Instance.new("BoolValue", owner.Character.HumanoidRootPart)
  266.                 ow.Name = "ow"
  267.                 if owe then
  268.                     humanoidofowner:TakeDamage(math.random(30,60))
  269.                 end
  270.                 bodyhit.TimePosition = 1
  271.                 bodyhit:Play()
  272.                 humanoidofowner.WalkSpeed = 0
  273.                 humanoidofowner.JumpPower = 0
  274.                 for i = 0,1 , 0.07 do
  275.                     rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.99996758, 0, 1, 0, 0, 0, -1, 3.06768015e-06, 0, -3.06768015e-06, -1),i)
  276.                     leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 1.99996758, 0, 1, 0, 0, 0, -1, 2.89283503e-06, 0, -2.8928348e-06, -1),i)
  277.                     leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  278.                     rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  279.                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -2.59994507, 7.62939453e-06, 1, 0, 0, 0, 2.99218186e-06, 1, 0, -1, 2.99218186e-06),i)
  280.                     head.C0 = head.C0:lerp(CFrame.new(0, 1.17099237, 0.469848633, 1, 0, 0, 0, 0.342022657, -0.939691782, 0, 0.939691782, 0.342022657),i)
  281.                     heartbeat:wait()
  282.                 end
  283.                 wait(1.5)
  284.                 for i = 0,0.5 , 0.01 do
  285.                     rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.60122919, -0.346038818, 1, 0, 0, 0, -0.766045034, -0.64278692, 0, 0.64278692, -0.766044974),i)
  286.                     leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 1.38657951, -0.39642334, 1, 0, 0, 0, -0.866026163, -0.499998719, 0, 0.499998719, -0.866026103),i)
  287.                     leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.19998217, -0.799987793, 1, 0, 0, 0, 1, -2.9802577e-06, 0, 2.98025748e-06, 1),i)
  288.                     rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.946397305, -0.892822266, 1, 0, 0, 0, 0.866024852, -0.500001073, 0, 0.500001073, 0.866024852),i)
  289.                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -1.79995728, 5.7220459e-06, 1, 0, 0, 0, 2.99218186e-06, 1, 0, -1, 2.99218186e-06),i)
  290.                     head.C0 = head.C0:lerp(CFrame.new(0, 1.43299055, 0.25, 1, 0, 0, 0, 0.866025031, -0.500000775, 0, 0.500000775, 0.866025031),i)
  291.                     heartbeat:wait()
  292.                 end
  293.                 for i = 0,0.5 , 0.01 do
  294.                     rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.39581108, 0.355163574, -0.668273926, 1, 0, 0, 0, 0.342021942, -0.93969202, 0, 0.939691961, 0.342021972),i)
  295.                     leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.375061035, -0.835845947, 1, 0, 0, 0, 0.64279002, -0.766042411, 0, 0.766042411, 0.64279002),i)
  296.                     leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.18479919, -0.626342773, 1, 0, 0, 0, 0.984807968, 0.173647031, 0, -0.173647031, 0.984807968),i)
  297.                     rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.399993896, -1.03918457, 1, 0, 0, 0, 0.866026759, -0.499997824, 0, 0.499997854, 0.8660267),i)
  298.                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.989624023, -0.177854538, 1, 0, 0, 0, 0.642787755, 0.766044319, 0, -0.766044378, 0.642787755),i)
  299.                     head.C0 = head.C0:lerp(CFrame.new(0, 1.4329834, 0.25, 1, 0, 0, 0, 0.866026878, -0.499997526, 0, 0.499997526, 0.866026819),i)
  300.                     heartbeat:wait()
  301.                 end
  302.                 humanoidofowner.WalkSpeed = 25
  303.                 humanoidofowner.JumpPower = 50
  304.                 cananimate = true
  305.                 cando = true
  306.                 ow:destroy()
  307.             else
  308.                 for i,v in pairs(owner.Character.Head:GetChildren()) do
  309.                     if v.Name == "goup" then
  310.                         v:destroy()
  311.                     end
  312.                 end
  313.                 cananimate = false
  314.                 trytoroll = false
  315.                 waitforbounce = 4
  316.                 local rollvelocity = Instance.new("BodyVelocity", owner.Character.HumanoidRootPart)
  317.                 rollvelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  318.                 rollvelocity.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 20
  319.                 rollvelocity.Name = "rolling"
  320.                 local rarmc0 = rightarm.C0
  321.                 local larmc0 = leftarm.C0
  322.                 local llegc0 = leftleg.C0
  323.                 local rlegc0 = rightleg.C0
  324.                 local humrootc0 = humanoidrootpart.C0
  325.                 local headc0 = head.C0
  326.                 for i = 0,1 , 0.12 do
  327.                     rightarm.C0 = rarmc0:lerp(CFrame.new(1.29883575, 0.820416212, -0.554986477, 0.939694643, 0.342014492, 3.29469119e-10, 0.171007738, -0.469848752, -0.866024554, -0.296192914, 0.813798726, -0.500001431),i)
  328.                     leftarm.C0 = larmc0:lerp(CFrame.new(-1.29883575, 0.820416212, -0.554986477, 0.939694643, -0.342014492, -3.29469119e-10, -0.171007738, -0.469848752, -0.866024554, 0.296192914, 0.813798726, -0.500001431),i)
  329.                     leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, 0.167815685, -1.17003536, 1, 0, 0, 0, 0.984807789, -0.173648298, 0, 0.173648298, 0.984807789),i)
  330.                     rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, 0.227622986, -1.20567513, 1, 0, 0, 0, 0.98480773, -0.17364873, 0, 0.17364873, 0.98480773),i)
  331.                     humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, -1.82676482, 0.100003719, 1, 0, 0, 0, 0.500001073, 0.866024792, 0, -0.866024852, 0.500001013),i)
  332.                     head.C0 = headc0:lerp(CFrame.new(0, 1.46982503, -0.171005249, 1, 0, 0, 0, 0.939693511, 0.3420178, 0, -0.3420178, 0.939693511),i)
  333.                     heartbeat:wait()
  334.                 end
  335.                 local rarmc0 = rightarm.C0
  336.                 local larmc0 = leftarm.C0
  337.                 local llegc0 = leftleg.C0
  338.                 local rlegc0 = rightleg.C0
  339.                 local humrootc0 = humanoidrootpart.C0
  340.                 local headc0 = head.C0
  341.                 for i = 0,1 , 0.12 do
  342.                     rightarm.C0 = rarmc0:lerp(CFrame.new(1.29883575, 0.820416212, -0.554986477, 0.939694643, 0.342014492, 3.29469119e-10, 0.171007738, -0.469848752, -0.866024554, -0.296192914, 0.813798726, -0.500001431),i)
  343.                     leftarm.C0 = larmc0:lerp(CFrame.new(-1.29883575, 0.820416212, -0.554986477, 0.939694643, -0.342014492, -3.29469119e-10, -0.171007738, -0.469848752, -0.866024554, 0.296192914, 0.813798726, -0.500001431),i)
  344.                     leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, 0.167815685, -1.17003536, 1, 0, 0, 0, 0.984807789, -0.173648298, 0, 0.173648298, 0.984807789),i)
  345.                     rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, 0.227622986, -1.20567513, 1, 0, 0, 0, 0.98480773, -0.17364873, 0, 0.17364873, 0.98480773),i)
  346.                     humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, -1.12325001, -0.233205318, 1, 0, 0, 0, -0.766044676, 0.642787397, 0, -0.642787397, -0.766044617),i)
  347.                     head.C0 = headc0:lerp(CFrame.new(0, 1.43298388, -0.249996901, 1, 0, 0, 0, 0.866023958, 0.500002503, 0, -0.500002503, 0.866023958),i)
  348.                     heartbeat:wait()
  349.                 end
  350.                 local rarmc0 = rightarm.C0
  351.                 local larmc0 = leftarm.C0
  352.                 local llegc0 = leftleg.C0
  353.                 local rlegc0 = rightleg.C0
  354.                 local humrootc0 = humanoidrootpart.C0
  355.                 local headc0 = head.C0
  356.                 for i = 0,1 , 0.12 do
  357.                     rightarm.C0 = rarmc0:lerp(CFrame.new(1.3388443, 0.487123013, -0.620485306, 0.939694762, 0.26199764, 0.219843194, 0.171007395, 0.196747974, -0.96542573, -0.296192944, 0.944800317, 0.140079498),i)
  358.                     leftarm.C0 = larmc0:lerp(CFrame.new(-1.3388443, 0.487123013, -0.620485306, 0.939694762, -0.26199764, -0.219843194, -0.171007395, 0.196747974, -0.96542573, 0.296192944, 0.944800317, 0.140079498),i)
  359.                     leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, -1.92927122, -0.671936512, 1, 0, 0, 0, 0.984808266, 0.173645824, 0, -0.173645824, 0.984808207),i)
  360.                     rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, -1.15108776, -0.61528492, 1, 0, 0, 0, 0.984808207, 0.173645645, 0, -0.17364563, 0.984808207),i)
  361.                     humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, -2.35371089, -0.496735096, 1, 0, 0, 0, -0.342021734, -0.93969214, 0, 0.93969202, -0.342021763),i)
  362.                     head.C0 = headc0:lerp(CFrame.new(0, 1.17099142, -0.469834805, 1, 0, 0, 0, 0.342019647, 0.939692855, 0, -0.939692914, 0.342019588),i)
  363.                     heartbeat:wait()
  364.                 end
  365.                 cananimate = true
  366.                 rollvelocity:destroy()
  367.                 cando = true
  368.                 local function checkfix()
  369.                     wait(1)
  370.                     if not cando then
  371.                         cando = true
  372.                     end
  373.                 end
  374.                 spawn(checkfix)
  375.             end
  376.         end
  377.     end
  378. end
  379. spawn(run)
  380. spawn(checkfall)
  381. punchanim = 0
  382. function doaction(plr, what)
  383.     if plr == owner then
  384.         if cando then
  385.             cando = false
  386.             cananimate = false
  387.             if what == "rollon" and not owner.Character.HumanoidRootPart:findFirstChild("FALLING") and not owner.Character.HumanoidRootPart:findFirstChild("rolling") then
  388.                 trytoroll = true
  389.                 cando = true
  390.                 cananimate = true
  391.             end
  392.             if what == "rolloff" and not owner.Character.HumanoidRootPart:findFirstChild("FALLING") and not owner.Character.HumanoidRootPart:findFirstChild("rolling") then
  393.                 trytoroll = false
  394.                 cando = true
  395.                 cananimate = true
  396.             end
  397.             if what == "slide" and not owner.Character.HumanoidRootPart:findFirstChild("ow") and not owner.Character.HumanoidRootPart:findFirstChild("sliding") and not owner.Character.HumanoidRootPart:findFirstChild("FALLING") and not owner.Character.HumanoidRootPart:findFirstChild("goingup") and not owner.Character.HumanoidRootPart.Anchored then
  398.                 humanoidofowner.WalkSpeed = 0
  399.                 humanoidofowner.JumpPower = 0
  400.                 swoosh:Play()
  401.                 local velocitie = Instance.new("BodyVelocity", owner.Character.HumanoidRootPart)
  402.                 velocitie.MaxForce = Vector3.new(math.huge,0,math.huge)
  403.                 velocitie.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 50
  404.                 velocitie.Name = "sliding"
  405.                 local waitt = 0
  406.                 local function less()
  407.                     while wait() do
  408.                         velocitie.Velocity = velocitie.Velocity / 1.09
  409.                         if waitt < 20 then
  410.                             waitt = waitt + 1
  411.                         end
  412.                         if velocitie.Velocity.z <= 4 and velocitie.Velocity.x <= 4 and waitt == 20 then
  413.                             humanoidofowner.WalkSpeed = 25
  414.                             humanoidofowner.JumpPower = 50
  415.                             velocitie:destroy()
  416.                             if not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  417.                                 cananimate = true
  418.                                 cando = true
  419.                             end
  420.                             break
  421.                         end
  422.                     end
  423.                 end
  424.                 spawn(less)
  425.                 for i = 0,1 , 0.02 do
  426.                     if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  427.                         rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.88513184, 0.728400707, -0.51874733, 0.0509149656, -0.979093194, 0.196937039, 0.995125353, 0.0330599695, -0.0929127932, 0.0844595507, 0.200707689, 0.976003647),i)
  428.                         leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.63573742, 0.101630211, 0.237347126, 0.777682304, 0.62453258, -0.0718980953, -0.42115736, 0.602484405, 0.677966893, 0.46672985, -0.496962368, 0.731567979),i)
  429.                         leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.499998093, -1.98477411, 0.173640728, 1, -1.57809765e-07, 5.05698472e-06, -7.22707682e-07, 0.984808326, 0.173644975, -5.00756369e-06, -0.173644975, 0.984808326),i)
  430.                         rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.500001907, -1.99996758, -9.05990601e-06, 1, 7.22725019e-07, 5.00756187e-06, -7.22707682e-07, 1, -3.44990485e-06, -5.00756369e-06, 3.44990121e-06, 1),i)
  431.                         humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(-0.0606842041, -2.26575327, -0.0902328491, 0.936354458, -0.111619428, -0.332838684, -0.330426246, 0.0400053002, -0.942983687, 0.118570611, 0.992945492, 0.000577152357),i)
  432.                         head.C0 = head.C0:lerp(CFrame.new(-0.0664100647, 1.29971933, -0.608807564, 0.997187197, -0.0242519826, 0.0709199831, -0.0628080666, 0.245970294, 0.967240393, -0.0409017019, -0.968973994, 0.243755192),i)
  433.                         heartbeat:wait()
  434.                     end
  435.                 end
  436.             elseif what == "kick" and not owner.Character.HumanoidRootPart:findFirstChild("ow") and not owner.Character.HumanoidRootPart:findFirstChild("sliding") and not owner.Character.HumanoidRootPart:findFirstChild("FALLING") and not owner.Character.HumanoidRootPart:findFirstChild("goingup") and not owner.Character.HumanoidRootPart.Anchored then
  437.                 humanoidofowner.WalkSpeed = 0
  438.                 humanoidofowner.JumpPower = 0
  439.                 swoosh2:Play()
  440.                 swoosh:Play()
  441.                 cananimate = false
  442.                 for i = 0,0.5 , 0.08 do
  443.                     if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  444.                         rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i)
  445.                         leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  446.                         leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -0.200000286, -0.799999714, 1, -2.37121791e-16, -3.55271368e-15, -2.84206045e-15, 0.999999821, -2.086162e-07, 5.04870979e-29, 2.08616243e-07, 0.999999881) * CFrame.new(0,-1,0),i)
  447.                         rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.866977453, -1.76958275, 0, 0.866026938, -0.499997377, 3.14493657e-12, 0.499997377, 0.866026938, 2.68155637e-12, -4.06437037e-12, -7.49839589e-13, 1),i)
  448.                         humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 2.17665985e-07, 1.25670709e-07, -1, -0.500001013, 0.866024852, 7.60486888e-13, 0.866024852, 0.500000954, 2.51339628e-07),i)
  449.                         head.C0 = head.C0:lerp(CFrame.new(-0.262776613, 1.02028942, -0.846868515, 0.593996942, -0.730470955, 0.337016225, -0.38534075, 0.109389521, 0.916267753, -0.706172943, -0.674126267, -0.216503173),i)
  450.                         heartbeat:wait()
  451.                     end
  452.                 end
  453.                 local function kicksuccessful()
  454.                     kickhit:Play()
  455.                     local velocitie = Instance.new("BodyVelocity", victimdude.Head)
  456.                     velocitie.MaxForce = Vector3.new(math.huge,0,math.huge)
  457.                     velocitie.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 15
  458.                     velocitie.Name = "woosh"
  459.                     game.Debris:AddItem(velocitie, 0.3)
  460.                     local hprandom = math.random(10,30)
  461.                     if victimdude:findFirstChildOfClass("Humanoid").Health <= hprandom then
  462.                         victimdude:BreakJoints()
  463.                         ragdollkill(victimdude)
  464.                     else
  465.                         victimdude:findFirstChildOfClass("Humanoid").Health = victimdude:findFirstChildOfClass("Humanoid").Health - hprandom
  466.                     end
  467.                     if victimdude:findFirstChild("Torso") then
  468.                         victimdude.Torso.CFrame = CFrame.new(victimdude.Torso.Position, owner.Character.HumanoidRootPart.Position)
  469.                         local owweld = Instance.new("Weld", victimdude.Torso)
  470.                         owweld.Part0 = victimdude.Torso
  471.                         owweld.Part1 = victimdude.Head
  472.                         owweld.C0 = CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  473.                         owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(1,0,0) * CFrame.new(0,0,0.5)
  474.                         for i = 0,1 , 0.02 do
  475.                             owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  476.                             heartbeat:wait()
  477.                         end
  478.                     elseif victimdude:findFirstChild("UpperTorso") then
  479.                         victimdude.UpperTorso.CFrame = CFrame.new(victimdude.UpperTorso.Position, owner.Character.HumanoidRootPart.Position)
  480.                         local owweld = Instance.new("Weld", victimdude.UpperTorso)
  481.                         owweld.Part0 = victimdude.UpperTorso
  482.                         owweld.Part1 = victimdude.Head
  483.                         owweld.C0 = CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  484.                         owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(1,0,0) * CFrame.new(0,0,0.5)
  485.                         for i = 0,1 , 0.02 do
  486.                             owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  487.                             heartbeat:wait()
  488.                         end
  489.                     end
  490.                     local hisws = victimdude:findFirstChildOfClass("Humanoid").WalkSpeed
  491.                     local hisjp = victimdude:findFirstChildOfClass("Humanoid").JumpPower
  492.                     victimdude:findFirstChildOfClass("Humanoid").JumpPower = 0
  493.                     victimdude:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  494.                     for i,v in pairs(victimdude:GetChildren()) do
  495.                         if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  496.                             v.Disabled = true
  497.                         end
  498.                     end
  499.                     if victimdude:findFirstChildOfClass("Humanoid").MaxHealth > 300 then
  500.                         victimdude:findFirstChildOfClass("Humanoid").MaxHealth = 300
  501.                     end
  502.                     local function unstun()
  503.                         wait(math.random(2,3))
  504.                         victimdude:findFirstChildOfClass("Humanoid").JumpPower = hisjp
  505.                         victimdude:findFirstChildOfClass("Humanoid").WalkSpeed = hisws
  506.                         for i,v in pairs(victimdude:GetChildren()) do
  507.                             if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  508.                                 v.Disabled = false
  509.                             end
  510.                         end
  511.                     end
  512.                     spawn(unstun)
  513.                 end
  514.                 for i = 0.1,1 , 0.08 do
  515.                     if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  516.                         rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.793737411, -0.0435829163, -0.377206802, 0.589972556, 0.802474499, -0.0892586261, -0.776380658, 0.533454716, -0.335647464, -0.221733078, 0.267321438, 0.937749267),i)
  517.                         leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  518.                         leftleg.C0 = leftleg.C0:lerp(CFrame.new(-1.06697655, -2.11598873, 0, 0.866026878, 0.499997646, 6.74289184e-13, -0.499997675, 0.866026819, 4.07409696e-12, 1.45308602e-12, -3.8654197e-12, 1),i)
  519.                         rightleg.C0 = rightleg.C0:lerp(CFrame.new(1.56865537, -1.46542549, 0, 0.342022985, -0.939691603, 6.78452086e-13, 0.939691603, 0.342022985, 4.07827938e-12, -4.06437037e-12, -7.57329637e-13, 1),i)
  520.                         humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 8.59631086e-08, 2.36182032e-07, -1, -0.939691782, 0.342022538, 7.5707241e-13, 0.342022568, 0.939691782, 2.51339628e-07),i)
  521.                         head.C0 = head.C0:lerp(CFrame.new(-0.0669679642, 1.10865688, -0.957942963, 0.808011353, -0.338849306, 0.481973886, -0.399515122, 0.286124706, 0.870930731, -0.433018923, -0.896277785, 0.0958165824),i)
  522.                         heartbeat:wait()
  523.                     end
  524.                 end
  525.                 for i,v in pairs(workspace:GetChildren()) do
  526.                     if v.ClassName == "Model" then
  527.                         local thathumanoid = v:findFirstChildOfClass("Humanoid")
  528.                         local thathead = v:findFirstChild("Head")
  529.                         if thathumanoid and thathead then
  530.                             if (thathead.Position - owner.Character["Left Leg"].Position).magnitude < 3 then
  531.                                 victimdude = v
  532.                                 spawn(kicksuccessful)
  533.                             end
  534.                         end
  535.                     end
  536.                 end
  537.                 for i = 0,0.5 , 0.08 do
  538.                     if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  539.                         rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i)
  540.                         leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  541.                         leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -0.200000286, -0.799999714, 1, -2.37121791e-16, -3.55271368e-15, -2.84206045e-15, 0.999999821, -2.086162e-07, 5.04870979e-29, 2.08616243e-07, 0.999999881) * CFrame.new(0,-1,0),i)
  542.                         rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.866977453, -1.76958275, 0, 0.866026938, -0.499997377, 3.14493657e-12, 0.499997377, 0.866026938, 2.68155637e-12, -4.06437037e-12, -7.49839589e-13, 1),i)
  543.                         humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 2.17665985e-07, 1.25670709e-07, -1, -0.500001013, 0.866024852, 7.60486888e-13, 0.866024852, 0.500000954, 2.51339628e-07),i)
  544.                         head.C0 = head.C0:lerp(CFrame.new(-0.262776613, 1.02028942, -0.846868515, 0.593996942, -0.730470955, 0.337016225, -0.38534075, 0.109389521, 0.916267753, -0.706172943, -0.674126267, -0.216503173),i)
  545.                         heartbeat:wait()
  546.                     end
  547.                 end
  548.                 humanoidofowner.WalkSpeed = 25
  549.                 humanoidofowner.JumpPower = 50
  550.                 cananimate = true
  551.                 cando = true
  552.             elseif what == "punch" and not owner.Character.HumanoidRootPart:findFirstChild("ow") and not owner.Character.HumanoidRootPart:findFirstChild("sliding") and not owner.Character.HumanoidRootPart:findFirstChild("FALLING") and not owner.Character.HumanoidRootPart:findFirstChild("goingup") and not owner.Character.HumanoidRootPart.Anchored then
  553.                 cananimate = false
  554.                 cando = false
  555.                 if punchanim == 0 then
  556.                     punchanim = 1
  557.                     for i = 0,1 , 0.15 do
  558.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  559.                             rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.93298721, 0.399990082, -0.616035461, -2.2650172e-06, 0.866024196, 0.500002205, 1, 2.85937426e-06, -4.22538534e-07, -1.79562221e-06, 0.500002205, -0.866024256),i)
  560.                             leftarm.C0 = leftarm.C0:lerp(CFrame.new(-2.10411453, 0.813013554, -0.249991417, 0.173650935, 0.85286659, -0.492406279, -0.984807372, 0.150386363, -0.0868250355, 1.0099742e-06, 0.500002563, 0.866023898),i)
  561.                             leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  562.                             rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  563.                             humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.336828679, 0.0593937114, -0.939690828, -0.173650339, 0.984807372, 1.02145373e-06, 0.925414562, 0.163177282, 0.342025071),i)
  564.                             head.C0 = head.C0:lerp(CFrame.new(-0.0665130615, 1.49237728, -0.055811882, 0.64278388, -0.133025259, 0.754409134, 5.5879454e-08, 0.984807193, 0.173651397, -0.766047537, -0.111620277, 0.633018196),i)
  565.                             heartbeat:wait()
  566.                         end
  567.                     end
  568.                     swoosh:Play()
  569.                     swoosh2:Play()
  570.                     local rarmc0 = rightarm.C0
  571.                     local larmc0 = leftarm.C0
  572.                     local llegc0 = leftleg.C0
  573.                     local rlegc0 = rightleg.C0
  574.                     local humrootc0 = humanoidrootpart.C0
  575.                     local headc0 = head.C0
  576.                     for i = 0,1 , 0.2 do
  577.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  578.                             rightarm.C0 = rarmc0:lerp(CFrame.new(1.97320461, 0.399998665, -1.04105949, 1.41556848e-06, -0.342017621, 0.93969363, 1, 2.79749133e-06, -4.88219996e-07, -2.46180457e-06, 0.93969363, 0.342017621),i)
  579.                             leftarm.C0 = larmc0:lerp(CFrame.new(-1.96173954, 0.431951523, -0.401452065, 0.173648983, 0.336830288, -0.925414264, -0.98480767, 0.059396144, -0.163174972, 3.76260778e-06, 0.939690173, 0.342027068),i)
  580.                             leftleg.C0 = llegc0:lerp(CFrame.new(-0.5,-2,0),i)
  581.                             rightleg.C0 = rlegc0:lerp(CFrame.new(0.5,-2,0),i)
  582.                             humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, 0, 0, 0.866028965, -2.58095861e-06, 0.49999398, 1.49011055e-06, 1, 2.58099067e-06, -0.49999398, -1.49016603e-06, 0.866028965),i)
  583.                             head.C0 = headc0:lerp(CFrame.new(-0.0665092468, 1.49237823, -0.0558137894, 0.854564965, -0.133018151, -0.502020836, 0.171007037, 0.984808207, 0.0301566627, 0.49038282, -0.11161992, 0.864329636),i)
  584.                             heartbeat:wait()
  585.                         end
  586.                     end
  587.                     local function punchsuccessful()
  588.                         kickhit:Play()
  589.                         for i,v in pairs(victimdude:GetChildren()) do
  590.                             if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  591.                                 v.Disabled = true
  592.                             end
  593.                         end
  594.                         if victimdude:findFirstChildOfClass("Humanoid").MaxHealth > 300 then
  595.                             victimdude:findFirstChildOfClass("Humanoid").MaxHealth = 300
  596.                         end
  597.                         local function unstun()
  598.                             if victimdude:findFirstChild("Torso") then
  599.                                 victimdude.Torso.CFrame = CFrame.new(victimdude.Torso.Position, owner.Character.HumanoidRootPart.Position)
  600.                                 local owweld = Instance.new("Weld", victimdude.Torso)
  601.                                 owweld.Part0 = victimdude.Torso
  602.                                 owweld.Part1 = victimdude.Head
  603.                                 owweld.C0 = CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  604.                                 owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(0,-1,-0.3)
  605.                                 for i = 0,1 , 0.04 do
  606.                                     owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  607.                                     heartbeat:wait()
  608.                                 end
  609.                             elseif victimdude:findFirstChild("UpperTorso") then
  610.                                 victimdude.UpperTorso.CFrame = CFrame.new(victimdude.UpperTorso.Position, owner.Character.HumanoidRootPart.Position)
  611.                                 local owweld = Instance.new("Weld", victimdude.UpperTorso)
  612.                                 owweld.Part0 = victimdude.UpperTorso
  613.                                 owweld.Part1 = victimdude.Head
  614.                                 owweld.C0 = CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  615.                                 owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(0,-1,-0.3)
  616.                                 for i = 0,1 , 0.04 do
  617.                                     owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  618.                                     heartbeat:wait()
  619.                                 end
  620.                             end
  621.                             wait(0.5)
  622.                             for i,v in pairs(victimdude:GetChildren()) do
  623.                                 if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  624.                                     v.Disabled = false
  625.                                 end
  626.                             end
  627.                         end
  628.                         spawn(unstun)
  629.                         local velocitie = Instance.new("BodyVelocity", victimdude.Head)
  630.                         velocitie.MaxForce = Vector3.new(math.huge,0,math.huge)
  631.                         velocitie.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 0
  632.                         velocitie.Name = "woosh"
  633.                         game.Debris:AddItem(velocitie, 0.3)
  634.                         local hprandom = math.random(10,30)
  635.                         if victimdude:findFirstChildOfClass("Humanoid").Health <= hprandom then
  636.                             local dofinishornot = math.random(1,3)
  637.                             if dofinishornot == 1 then
  638.                                 finish(victimdude)
  639.                             else
  640.                                 victimdude:BreakJoints()
  641.                                 ragdollkill(victimdude)
  642.                             end
  643.                         else
  644.                             victimdude:findFirstChildOfClass("Humanoid").Health = victimdude:findFirstChildOfClass("Humanoid").Health - hprandom
  645.                         end
  646.                     end
  647.                     for i,v in pairs(workspace:GetChildren()) do
  648.                         if v.ClassName == "Model" then
  649.                             local thathumanoid = v:findFirstChildOfClass("Humanoid")
  650.                             local thathead = v:findFirstChild("Head")
  651.                             if thathumanoid and thathead and v ~= owner.Character then
  652.                                 if (thathead.Position - owner.Character["Right Arm"].Position).magnitude < 3 then
  653.                                     victimdude = v
  654.                                     spawn(punchsuccessful)
  655.                                 end
  656.                             end
  657.                         end
  658.                     end
  659.                     for i = 0.4,1 , 0.2 do
  660.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  661.                             rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.71537304, 0.399996281, -1.06364822, 2.44383e-06, 0.173639908, 0.98480922, 1, -1.99457554e-06, -2.12984583e-06, 1.59445005e-06, 0.98480922, -0.173639923),i)
  662.                             leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.79822016, 0.430157661, -0.45993042, -0.153337717, 0.336819142, -0.928999722, -0.981225491, 0.0593929365, 0.183491513, 0.116979472, 0.939694285, 0.321388364),i)
  663.                             leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  664.                             rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  665.                             humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, -0.500006795, 2.5073964e-06, 0.866021514, -0.150380597, 0.984808087, -0.086826697, -0.8528651, -0.173646778, -0.492410332),i)
  666.                             head.C0 = head.C0:lerp(CFrame.new(-0.0372924805, 1.49856281, -0.00446796417, -0.645966768, -0.0745923966, -0.759712398, -0.0414872579, 0.997174025, -0.0626318753, 0.76223737, -0.00893972628, -0.64723587),i)
  667.                             heartbeat:wait()
  668.                         end
  669.                     end
  670.                 elseif punchanim == 1 then
  671.                     punchanim = 0
  672.                     for i = 0,1 , 0.15 do
  673.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  674.                             rightarm.C0 = rightarm.C0:lerp(CFrame.new(2.1286068, 0.309746742, 9.53674316e-07, 0.342020094, -0.939692497, 0, 0.939692378, 0.342020094, 3.7252903e-09, 0, 1.49011612e-08, 0.99999994),i)
  675.                             leftarm.C0 = leftarm.C0:lerp(CFrame.new(-2.08530402, 0.47922802, -0.542467117, 0.133022159, -0.754406393, -0.642787516, -0.984807551, -0.173648119, 6.70552254e-08, -0.111618951, 0.633022189, -0.766044319),i)
  676.                             leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  677.                             rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  678.                             humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.171010107, -0.0301536899, 0.98480773, 0.173648149, 0.98480773, 0, -0.969846249, 0.171010047, 0.173648223),i)
  679.                             head.C0 = head.C0:lerp(CFrame.new(0.0855047703, 1.49240398, -0.0150756836, 0.173647955, 0.171010062, -0.969846249, 2.0081643e-09, 0.98480767, 0.173648164, 0.984807789, -0.0301536545, 0.171009883),i)
  680.                             heartbeat:wait()
  681.                         end
  682.                     end
  683.                     swoosh:Play()
  684.                     swoosh2:Play()
  685.                     local rarmc0 = rightarm.C0
  686.                     local larmc0 = leftarm.C0
  687.                     local llegc0 = leftleg.C0
  688.                     local rlegc0 = rightleg.C0
  689.                     local humrootc0 = humanoidrootpart.C0
  690.                     local headc0 = head.C0
  691.                     for i = 0,1 , 0.2 do
  692.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  693.                             rightarm.C0 = rarmc0:lerp(CFrame.new(1.95028019, 0.161817551, -0.321393967, 0.342020154, -0.719846487, 0.604022563, 0.939692378, 0.262002617, -0.219846219, 0, 0.642787337, 0.766044319),i)
  694.                             leftarm.C0 = larmc0:lerp(CFrame.new(-1.33039951, 0.548686981, -1.71805, 0.0301536396, -0.171010137, -0.98480773, -0.984807491, -0.173648149, 4.68975934e-08, -0.171010077, 0.96984601, -0.173648),i)
  695.                             leftleg.C0 = llegc0:lerp(CFrame.new(-0.5,-2,0),i)
  696.                             rightleg.C0 = rlegc0:lerp(CFrame.new(0.5,-2,0),i)
  697.                             humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, 0, 0, 0.866025448, 5.58793545e-09, -0.49999994, 1.01929922e-08, 0.99999994, 2.80050241e-08, 0.49999994, -1.49011612e-08, 0.866025329),i)
  698.                             head.C0 = headc0:lerp(CFrame.new(0.0102343559, 1.49909019, 0.0283493996, 0.868718624, 0.0204696581, 0.494882613, 0.0103131672, 0.998181343, -0.0593911484, -0.495198429, 0.0566980243, 0.866927505),i)
  699.                             heartbeat:wait()
  700.                         end
  701.                     end
  702.                     local function punchsuccessful()
  703.                         kickhit:Play()
  704.                         for i,v in pairs(victimdude:GetChildren()) do
  705.                             if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  706.                                 v.Disabled = true
  707.                             end
  708.                         end
  709.                         if victimdude:findFirstChildOfClass("Humanoid").MaxHealth > 300 then
  710.                             victimdude:findFirstChildOfClass("Humanoid").MaxHealth = 300
  711.                         end
  712.                         local function unstun()
  713.                             if victimdude:findFirstChild("Torso") then
  714.                                 victimdude.Torso.CFrame = CFrame.new(victimdude.Torso.Position, owner.Character.HumanoidRootPart.Position)
  715.                                 local owweld = Instance.new("Weld", victimdude.Torso)
  716.                                 owweld.Part0 = victimdude.Torso
  717.                                 owweld.Part1 = victimdude.Head
  718.                                 owweld.C0 = CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  719.                                 owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(0,1,-0.3)
  720.                                 for i = 0,1 , 0.04 do
  721.                                     owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  722.                                     heartbeat:wait()
  723.                                 end
  724.                             elseif victimdude:findFirstChild("UpperTorso") then
  725.                                 victimdude.UpperTorso.CFrame = CFrame.new(victimdude.UpperTorso.Position, owner.Character.HumanoidRootPart.Position)
  726.                                 local owweld = Instance.new("Weld", victimdude.UpperTorso)
  727.                                 owweld.Part0 = victimdude.UpperTorso
  728.                                 owweld.Part1 = victimdude.Head
  729.                                 owweld.C0 = CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  730.                                 owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(0,1,-0.3)
  731.                                 for i = 0,1 , 0.04 do
  732.                                     owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  733.                                     heartbeat:wait()
  734.                                 end
  735.                             end
  736.                             wait(0.5)
  737.                             for i,v in pairs(victimdude:GetChildren()) do
  738.                                 if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  739.                                     v.Disabled = false
  740.                                 end
  741.                             end
  742.                         end
  743.                         spawn(unstun)
  744.                         local velocitie = Instance.new("BodyVelocity", victimdude.Head)
  745.                         velocitie.MaxForce = Vector3.new(math.huge,0,math.huge)
  746.                         velocitie.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 0
  747.                         velocitie.Name = "woosh"
  748.                         game.Debris:AddItem(velocitie, 0.3)
  749.                         local hprandom = math.random(10,30)
  750.                         if victimdude:findFirstChildOfClass("Humanoid").Health <= hprandom then
  751.                             local dofinishornot = math.random(1,2)
  752.                             if dofinishornot == 1 then
  753.                                 finish(victimdude)
  754.                             else
  755.                                 victimdude:BreakJoints()
  756.                                 ragdollkill(victimdude)
  757.                             end
  758.                         else
  759.                             victimdude:findFirstChildOfClass("Humanoid").Health = victimdude:findFirstChildOfClass("Humanoid").Health - hprandom
  760.                         end
  761.                     end
  762.                     for i,v in pairs(workspace:GetChildren()) do
  763.                         if v.ClassName == "Model" then
  764.                             local thathumanoid = v:findFirstChildOfClass("Humanoid")
  765.                             local thathead = v:findFirstChild("Head")
  766.                             if thathumanoid and thathead and v ~= owner.Character then
  767.                                 if (thathead.Position - owner.Character["Left Arm"].Position).magnitude < 3 then
  768.                                     victimdude = v
  769.                                     spawn(punchsuccessful)
  770.                                 end
  771.                             end
  772.                         end
  773.                     end
  774.                     for i = 0.4,1 , 0.2 do
  775.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  776.                             rightarm.C0 = rightarm.C0:lerp(CFrame.new(2.05306506, 0.124407291, -0.0868234634, 0.342020094, -0.92541641, 0.163175479, 0.939692318, 0.336824, -0.0593910292, -1.3038516e-08, 0.173647821, 0.984807789),i)
  777.                             leftarm.C0 = leftarm.C0:lerp(CFrame.new(-0.958778858, 0.899198532, -1.33199215, 0.0301536173, -0.938373387, -0.344304562, -0.984807372, -0.0868240297, 0.150383741, -0.171010122, 0.334539413, -0.926735342),i)
  778.                             leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  779.                             rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  780.                             humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.171010032, -0.0301536787, -0.98480773, 0.173648193, 0.98480767, 1.01929949e-08, 0.969846189, -0.171010077, 0.173648074),i)
  781.                             head.C0 = head.C0:lerp(CFrame.new(0.0968837738, 1.48970509, 0.0283184052, 0.00577832758, 0.193767488, 0.981030107, 0.0565908253, 0.979411006, -0.193780988, -0.998380601, 0.0566370524, -0.005306229),i)
  782.                             heartbeat:wait()
  783.                         end
  784.                     end
  785.                 end
  786.                 cananimate = true
  787.                 cando = true
  788.             end
  789.         end
  790.     end
  791. end
  792. remote.OnServerEvent:connect(doaction)
  793. cannnnn = true
  794. function checkjump()
  795.     while wait() do
  796.         if rootpart.Velocity.y > 4 or rootpart.Velocity.y < -4 and cananimate then
  797.             jumping = true
  798.             if canplayjump and rootpart.Velocity.y > 4 then
  799.                 jumpsound:Play()
  800.             end
  801.             canplayjump = false
  802.             if waitforbounce <= 0 then
  803.                 local thing = Instance.new("Part", owner.Character.Head)
  804.                 thing.Size = Vector3.new(0.5,0.5,0.5)
  805.                 thing.Transparency = 1
  806.                 thing.CanCollide = false
  807.                 thing.Name = "goup"
  808.                 thing:BreakJoints()
  809.                 local weld = Instance.new("Weld", thing)
  810.                 weld.Part0 = owner.Character.Head
  811.                 weld.Part1 = thing
  812.                 weld.C0 = CFrame.new(0,0,-1.5)
  813.                 local function bounceup(wall)
  814.                     if cannnnn and wall.CanCollide then
  815.                         if wall.Size.x > wall.Size.z and wall.Size.x > wall.Size.y and wall.Size.z <= 1 and wall.Size.y <= 1 or wall.Size.z > wall.Size.x and wall.Size.z > wall.Size.y and wall.Size.x <= 1 and wall.Size.y <= 1 then
  816.                             cannnnn = false
  817.                             cananimate = false
  818.                             owner.Character.HumanoidRootPart.Anchored = true
  819.                             local gotin = false
  820.                             waitforbounce = 1
  821.                             thing:destroy()
  822.                             swoosh:Play()
  823.                             local detector = Instance.new("Part", wall)
  824.                             detector.Anchored = true
  825.                             detector.CanCollide = false
  826.                             detector.Transparency = 0
  827.                             detector.Name = "detector"
  828.                             detector.Size = Vector3.new(1,1,1)
  829.                             detector.CFrame = owner.Character.HumanoidRootPart.CFrame
  830.                             detector.CFrame = CFrame.new(detector.CFrame.x,wall.CFrame.y,detector.CFrame.z) * CFrame.new(0,-wall.Size.y/2,0)
  831.                             detector.CFrame = detector.CFrame * (owner.Character.HumanoidRootPart.CFrame - owner.Character.HumanoidRootPart.Position)
  832.                             detector.CFrame = detector.CFrame * CFrame.new(0,-2.5,-2)
  833.                             local detectframe = detector.CFrame
  834.                             detector:Destroy()
  835.                             local velocity = Instance.new("BodyVelocity", owner.Character.HumanoidRootPart)
  836.                             velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  837.                             velocity.Velocity = Vector3.new(0,0,0)
  838.                             velocity.Name = "goingup"
  839.                             for i = 0,0.7 , 0.06 do
  840.                                 if not cananimate then
  841.                                     owner.Character.HumanoidRootPart.CFrame = owner.Character.HumanoidRootPart.CFrame:lerp(detectframe,i)
  842.                                     rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.49999905, 1.14999866, -1.1258328, 1, 0, 0, 0, -0.499999791, -0.866025209, 0, 0.866025269, -0.499999821),i)
  843.                                     leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 1.10250282, -1.15195012, 1, 0, 0, 0, -0.463464141, -0.886115372, 0, 0.886115432, -0.463464141),i)
  844.                                     leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.76604462, -0.642787695, 1, 0, 0, 0, 0.76604408, -0.642787576, 0, 0.642787635, 0.76604414),i)
  845.                                     rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.76604462, -0.642787695, 1, 0, 0, 0, 0.76604408, -0.642787576, 0, 0.642787635, 0.76604414),i)
  846.                                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.49999994, -0.866025329, 0, 0.866025329, 0.49999994),i)
  847.                                     head.C0 = head.C0:lerp(CFrame.new(0, 1.09780407, -0.743051291, 1, 0, 0, 0, 0.342019796, 0.939692438, 0, -0.939692438, 0.342019796),i)
  848.                                     heartbeat:wait()
  849.                                 end
  850.                             end
  851.                             owner.Character.HumanoidRootPart.Anchored = false
  852.                             velocity.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 30 + Vector3.new(0,20,0)
  853.                             local yeea = true
  854.                             local function smaller()
  855.                                 wait(0.4)
  856.                                 yeea = false
  857.                                 velocity:destroy()
  858.                             end
  859.                             spawn(smaller)
  860.                             local function smallerevenmore()
  861.                                 while yeea do
  862.                                     velocity.Velocity = velocity.Velocity - Vector3.new(0,1,0)
  863.                                     heartbeat:wait()
  864.                                 end
  865.                             end
  866.                             spawn(smallerevenmore)
  867.                             cannnnn = true
  868.                             for i = 1,20 do
  869.                                 if cannnnn then
  870.                                     heartbeat:wait()
  871.                                     humanoidrootpart.C0 = humanoidrootpart.C0 * CFrame.fromEulerAnglesXYZ(-0.04,0,0)
  872.                                 end
  873.                             end
  874.                             cananimate = true
  875.                         else
  876.                             cannnnn = false
  877.                             cananimate = false
  878.                             local climbingg = Instance.new("BoolValue", owner.Character.HumanoidRootPart)
  879.                             climbingg.Name = "climbing"
  880.                             local gotin = false
  881.                             waitforbounce = 4
  882.                             thing:destroy()
  883.                             swoosh:Play()
  884.                             local detector = Instance.new("Part", wall)
  885.                             detector.Anchored = true
  886.                             detector.CanCollide = false
  887.                             detector.Transparency = 1
  888.                             detector.Name = "detector"
  889.                             detector.Size = Vector3.new(1,1,1)
  890.                             detector.CFrame = owner.Character.HumanoidRootPart.CFrame
  891.                             detector.CFrame = CFrame.new(detector.CFrame.x,wall.CFrame.y,detector.CFrame.z) * CFrame.new(0,wall.Size.y/2,0)
  892.                             detector.CFrame = detector.CFrame * (owner.Character.HumanoidRootPart.CFrame - owner.Character.HumanoidRootPart.Position)
  893.                             detector.CFrame = detector.CFrame * CFrame.new(0,0,-2)
  894.                             for i,v in pairs(owner.Character.HumanoidRootPart:GetChildren()) do
  895.                                 if v.ClassName == "BodyVelocity" then
  896.                                     v:destroy()
  897.                                 end
  898.                             end
  899.                             local velocity = Instance.new("BodyVelocity", owner.Character.HumanoidRootPart)
  900.                             velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  901.                             velocity.Velocity = Vector3.new(0,20,0)
  902.                             velocity.Name = "goingup"
  903.                             local function smaller()
  904.                                 while wait() do
  905.                                     velocity.Velocity = velocity.Velocity - Vector3.new(0,1.2,0)
  906.                                     if velocity.Velocity.y < -20 then
  907.                                         velocity:destroy()
  908.                                         if not gotin then
  909.                                             cananimate = true
  910.                                             cannnnn = true
  911.                                             climbingg:destroy()
  912.                                             for i,v in pairs(wall:GetChildren()) do
  913.                                                 if v.Name == "detector" then
  914.                                                     v:destroy()
  915.                                                 end
  916.                                             end--]]
  917.                                             for i,v in pairs(owner.Character.HumanoidRootPart:GetChildren()) do
  918.                                                 if v.ClassName == "BodyVelocity" then
  919.                                                     v:destroy()
  920.                                                 end
  921.                                             end
  922.                                         end
  923.                                         break
  924.                                     end
  925.                                     if (owner.Character.Head.Position - detector.Position).magnitude < 2.5 and not owner.Character.HumanoidRootPart.Anchored then
  926.                                         gotin = true
  927.                                         jumping = false
  928.                                         owner.Character.HumanoidRootPart.Anchored = true
  929.                                         local detectframe = detector.CFrame
  930.                                         for i,v in pairs(wall:GetChildren()) do
  931.                                             if v.Name == "detector" then
  932.                                                 v:destroy()
  933.                                             end
  934.                                         end--]]
  935.                                         for i,v in pairs(owner.Character.HumanoidRootPart:GetChildren()) do
  936.                                             if v.ClassName == "BodyVelocity" then
  937.                                                 v:destroy()
  938.                                             end
  939.                                         end
  940.                                         local look = owner.Character.HumanoidRootPart.CFrame
  941.                                         for i = 0,0.6 , 0.04 do
  942.                                             if not cananimate then
  943.                                                 owner.Character.HumanoidRootPart.CFrame = owner.Character.HumanoidRootPart.CFrame:lerp(detectframe,i)
  944.                                                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.25, -0.433013916, 1, 0, 0, 0, 0.49999994, -0.866025329, 0, 0.866025329, 0.5),i)
  945.                                                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.116978168, -0.321393967, 1, 0, 0, 0, 0.766044199, -0.642787635, 0, 0.642787695, 0.766044259),i)
  946.                                                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.12599897, -0.237342834, 1, 0, 1.74845553e-07, -5.98007261e-08, 0.939692378, 0.342020333, -1.64301071e-07, -0.342020363, 0.939692497),i)
  947.                                                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.0328021, -0.203876495, 1, 0, 0, 0, 0.866025209, 0.50000006, 0, -0.500000119, 0.866025269),i)
  948.                                                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999851, 0, -0.499999851, 0.866025448),i)
  949.                                                 head.C0 = head.C0:lerp(CFrame.new(0, 1.46984625, 0.171009064, 1, 0, 0, 0, 0.939692616, -0.342020005, 0, 0.342020005, 0.939692616),i)
  950.                                                 heartbeat:wait()
  951.                                             end
  952.                                         end
  953.                                         local look = owner.Character.HumanoidRootPart.CFrame
  954.                                         owner.Character.HumanoidRootPart.Anchored = false
  955.                                         for i = 0,0.6 , 0.04 do
  956.                                             if not cananimate then
  957.                                                 owner.Character.HumanoidRootPart.CFrame = owner.Character.HumanoidRootPart.CFrame:lerp(look * CFrame.new(0,3.5,-2),i)
  958.                                                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.116979599, 0.321393967, 1, 0, 0, 0, 0.766044319, 0.642787337, 0, -0.642787457, 0.766044319),i)
  959.                                                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.116979599, 0.321393967, 1, 0, 0, 0, 0.766044497, 0.642787158, 0, -0.642787218, 0.766044497),i)
  960.                                                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -0.919174194, -0.390861511, 1, 3.0361619e-08, 1.7218926e-07, -5.9800719e-08, 0.984807491, 0.173648387, -1.64301042e-07, -0.173648387, 0.984807491),i)
  961.                                                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.967840195, -0.420351028, 1, 0, 0, 0, 0.984807491, 0.173648387, 0, -0.173648387, 0.984807491),i)
  962.                                                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025209, -0.500000119, 0, 0.500000119, 0.866025209),i)
  963.                                                 head.C0 = head.C0:lerp(CFrame.new(0, 1.43301201, -0.249999046, 1, 0, 0, 0, 0.866024971, 0.500000238, 0, -0.500000238, 0.866024971),i)
  964.                                                 heartbeat:wait()
  965.                                             end
  966.                                         end
  967.                                         climbingg:destroy()
  968.                                         cannnnn = true
  969.                                         cananimate = true
  970.                                     end
  971.                                 end
  972.                             end
  973.                             spawn(smaller)
  974.                             for i = 0,0.4 , 0.025 do
  975.                                 if not cananimate and not gotin then
  976.                                     rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.992403984, -0.0868244171, 1, 0, 0, 0, -0.98480767, -0.173648283, 0, 0.173648298, -0.98480773),i)
  977.                                     leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.116977692, -0.321393967, 1, 0, 0, 0, 0.766044259, -0.642787695, 0, 0.642787755, 0.766044319),i)
  978.                                     leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.9396925, 0.342020035, 1, 0, 1.74845553e-07, -5.98007333e-08, 0.939692497, 0.342020333, -1.64301071e-07, -0.342020363, 0.939692557),i)
  979.                                     rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.954449654, -0.603649139, 1, 0, 0, 0, 0.99999994, 1.7881392e-07, 0, -1.78813934e-07, 1),i)
  980.                                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  981.                                     head.C0 = head.C0:lerp(CFrame.new(0, 1.43301296, 0.25, 1, 0, 0, 0, 0.866025388, -0.5, 0, 0.5, 0.866025388),i)
  982.                                     heartbeat:wait()
  983.                                 end
  984.                             end
  985.                         end
  986.                     end
  987.                 end
  988.                 thing.Touched:connect(bounceup)
  989.             end
  990.         else
  991.             if owner.Character.Head:findFirstChild("goup") then
  992.                 owner.Character.Head:findFirstChild("goup"):destroy()
  993.             end
  994.             canplayjump = true
  995.             jumping = false
  996.         end
  997.     end
  998. end
  999. spawn(checkjump)
  1000. function finish(character)
  1001.     if not character:findFirstChild("UpperTorso") and character:findFirstChildOfClass("Humanoid").Health > 0 then
  1002.         local whatfinisher = math.random(1,2)
  1003.         cananimate = false
  1004.         cando = false
  1005.         humanoidofowner.WalkSpeed = 0
  1006.         humanoidofowner.JumpPower = 0
  1007.         for i,v in pairs(character:GetChildren()) do
  1008.             if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  1009.                 v.Disabled = true
  1010.             end
  1011.         end
  1012.         if whatfinisher == 1 and character:findFirstChild("Left Arm") and character:findFirstChild("Left Leg") and character:findFirstChild("Right Leg") then
  1013.             if not character:findFirstChild("HumanoidRootPart") then
  1014.                 local fakeroot = Instance.new("Part", character)
  1015.                 fakeroot.Size = Vector3.new(2,2,1)
  1016.                 fakeroot.Name = "HumanoidRootPart"
  1017.                 fakeroot.Transparency = 1
  1018.                 fakeroot.CFrame = character.Torso.CFrame
  1019.                 fakeroot:BreakJoints()
  1020.             end
  1021.             local rightarmm = Instance.new("Weld", character.Torso)
  1022.             rightarmm.Part0 = character.Torso
  1023.             rightarmm.Part1 = character["Right Arm"]
  1024.             rightarmm.C0 = CFrame.new(1.5,0,0)
  1025.             rightarmm.Name = "RightArmWeld"
  1026.             local rightlegg = Instance.new("Weld", character.Torso)
  1027.             rightlegg.Part0 = character.Torso
  1028.             rightlegg.Part1 = character["Right Leg"]
  1029.             rightlegg.C0 = CFrame.new(0.5,-2,0)
  1030.             rightlegg.Name = "RightLegWeld"
  1031.             local leftlegg = Instance.new("Weld", character.Torso)
  1032.             leftlegg.Part0 = character.Torso
  1033.             leftlegg.Part1 = character["Left Leg"]
  1034.             leftlegg.C0 = CFrame.new(-0.5,-2,0)
  1035.             leftlegg.Name = "LeftLegWeld"
  1036.             local headd = Instance.new("Weld", character.Torso)
  1037.             headd.Part0 = character.Torso
  1038.             headd.Part1 = character.Head
  1039.             headd.C0 = CFrame.new(0,1.5,0)
  1040.             headd.Name = "HeadWeld"
  1041.             local humanoidrootpartt = Instance.new("Weld", character.HumanoidRootPart)
  1042.             humanoidrootpartt.Part0 = character.HumanoidRootPart
  1043.             humanoidrootpartt.Part1 = character.Torso
  1044.             humanoidrootpartt.Name = "HumanoidRootPartWeld"
  1045.             character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  1046.             character:findFirstChildOfClass("Humanoid").JumpPower = 0
  1047.             for i = 0,1 , 0.08 do
  1048.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(-0.347203255, 0.913836479, -0.716785431, 0.766044378, 0.642787516, 0, 0.321393788, -0.383022249, -0.866025329, -0.556670368, 0.663413942, -0.50000006),i)
  1049.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.821393967, -0.383022308, 0.99999994, 0, 0, 0, -0.642787457, -0.766044497, 0, 0.766044557, -0.642787516),i)
  1050.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  1051.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  1052.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  1053.                 head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i)
  1054.                 rightarmm.C0 = rightarmm.C0:lerp(CFrame.new(1.5, 0.933005095, -0.25, 1, -0, 0, 0, -0.866018534, -0.499996036, 0, 0.5, -0.866025388),i)
  1055.                 cananimate = false
  1056.                 cando = false
  1057.                 heartbeat:wait()
  1058.             end
  1059.             swoosh:Play()
  1060.             for i = 0,1 , 0.08 do
  1061.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(-0.0860614777, -0.0532417297, -0.650289536, 0.379258692, 0.842225015, 0.383170784, 0.166806862, 0.345090806, -0.923627436, -0.910130858, 0.414209276, -0.00961020589),i)
  1062.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.00136232376, -0.198532104, 1, 0, 0, 0, 0.890729427, -0.454533815, 0, 0.454533845, 0.890729487),i)
  1063.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  1064.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  1065.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.766044438, 0, 0.642787576, 0, 0.999992132, 0, -0.642787576, 0, 0.766044438),i)
  1066.                 head.C0 = head.C0:lerp(CFrame.new(0, 1.49065351, -0.0962247849, 1, 0, 0, 0, 0.981306791, 0.192449972, 0, -0.192449972, 0.981306791),i)
  1067.                 --
  1068.                 cananimate = false
  1069.                 cando = false
  1070.                 rightarmm.C0 = rightarmm.C0:lerp(CFrame.new(1.5,0,0),i)
  1071.                 humanoidrootpartt.C0 = humanoidrootpartt.C0:lerp(CFrame.new(0,0.5,0),i)
  1072.                 heartbeat:wait()
  1073.             end
  1074.             for i = 0,1 , 0.04 do
  1075.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.1859808, -0.054599762, -1.11998844, 0.992945373, 0.116977721, -0.0193826258, -0.103294089, 0.773099244, -0.625817776, -0.0582219958, 0.623405039, 0.779728591),i)
  1076.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-0.554852486, -0.182450294, -1.34047794, 0.642787635, -0.492403775, -0.586824059, -0.262002528, 0.578531981, -0.772434652, 0.719846308, 0.650260985, 0.242862105),i)
  1077.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.64278793, 0.766043663, 1, 0, 0, 0, 0.642787457, 0.766044438, 0, -0.766044497, 0.642787516),i)
  1078.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(1.10000038, -0.826352119, -0.984807968, 1, 0, 0, 0, 0.98480773, -0.173648149, 0, 0.173648149, 0.984807789),i)
  1079.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.642787635, -0.766044438, 0, 0.766044438, 0.642787635),i)
  1080.                 head.C0 = head.C0:lerp(CFrame.new(0, 1.32139444, -0.383022308, 1, 0, 0, 0, 0.642787635, 0.766044438, 0, -0.766044438, 0.642787635),i)
  1081.                 --
  1082.                 leftlegg.C0 = leftlegg.C0:lerp(CFrame.new(-0.5, -1.49999237, -0.866015434, 0.999999762, -8.58400284e-08, -2.98023224e-08, 0, 0.499995828, -0.866025329, -7.4505806e-08, 0.866018713, 0.499999791),i)
  1083.                 rightarmm.C0 = rightarmm.C0:lerp(CFrame.new(1.5, 0.749998093, 0.43300724, 0.999999702, 7.43086304e-08, 2.98023224e-08, -2.98023224e-08, -0.499996036, 0.866025269, -7.4505806e-08, -0.866018593, -0.50000006),i)
  1084.                 humanoidrootpartt.C0 = humanoidrootpartt.C0:lerp(CFrame.new(0.367198944, -0.246408224, 0.930528641, -0.342020124, -0.813797832, 0.469845951, -1.78812527e-07, 0.499995708, 0.866018772, -0.939692497, 0.29619813, -0.171010032),i)
  1085.                 rightlegg.C0 = rightlegg.C0:lerp(CFrame.new(0.5, -1.49999428, -0.866015434, 0.999999762, -9.0885095e-08, -2.98023224e-08, 0, 0.499995947, -0.866025329, -7.4505806e-08, 0.866018653, 0.49999994),i)
  1086.                 heartbeat:wait()
  1087.             end
  1088.             kickhit:Play()
  1089.             for i = 0,0.8 , 0.06 do
  1090.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.61715126, -0.19429493, -0.389017105, 0.992945373, 0.116552323, 0.0217949748, -0.103294089, 0.940518022, -0.323660791, -0.0582220107, 0.319126159, 0.945922256),i)
  1091.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.50154877, 0.246703148, -0.416801453, 0.999303818, 0.00836935267, -0.0363574326, -0.0330905914, 0.648926377, -0.760131419, 0.0172314793, 0.76080519, 0.648751557),i)
  1092.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.91925335, 0.771346092, 1, -1.77635684e-15, 3.55271368e-15, 5.26663487e-16, 0.766044199, 0.642787814, 0, -0.642787874, 0.766044319),i)
  1093.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(1.10000038, -1.60939121, -1.50965118, 1, -3.55271368e-15, -1.77635684e-15, 1.31103537e-15, 0.653455138, -0.75696516, -3.5527141e-15, 0.75696522, 0.653455257),i)
  1094.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0.128557444, -0.153208733, 1, 0, 0, 0, 0.766044497, -0.642787635, 0, 0.642787635, 0.766044497) * CFrame.fromEulerAnglesXYZ(-0.4,0,0),i)
  1095.                 head.C0 = head.C0:lerp(CFrame.new(0, 1.32139444, -0.383022308, 1, 0, 0, 0, 0.642787635, 0.766044438, 0, -0.766044438, 0.642787635),i)
  1096.                 --
  1097.                 headd.C0 = headd.C0:lerp(CFrame.new(-0.311040878, 1.39147186, -1.00135803e-05, 0.782955527, -0.622077763, 7.86021985e-08, 0.622077823, 0.782955468, 6.79979621e-06, -4.29154261e-06, -5.27504062e-06, 1),i)
  1098.                 leftlegg.C0 = leftlegg.C0:lerp(CFrame.new(-0.5, -1.49999237, -0.866015434, 0.999999762, -8.58400284e-08, -2.98023224e-08, 0, 0.499995828, -0.866025329, -7.4505806e-08, 0.866018713, 0.499999791),i)
  1099.                 rightarmm.C0 = rightarmm.C0:lerp(CFrame.new(1.5, 0.749998093, 0.43300724, 0.999999702, 7.43086304e-08, 2.98023224e-08, -2.98023224e-08, -0.499996036, 0.866025269, -7.4505806e-08, -0.866018593, -0.50000006),i)
  1100.                 humanoidrootpartt.C0 = humanoidrootpartt.C0:lerp(CFrame.new(0.367198944, -0.246408224, 0.930528641, -0.342020124, -0.813797832, 0.469845951, -1.78812527e-07, 0.499995708, 0.866018772, -0.939692497, 0.29619813, -0.171010032),i)
  1101.                 rightlegg.C0 = rightlegg.C0:lerp(CFrame.new(0.5, -1.49999428, -0.866015434, 0.999999762, -9.0885095e-08, -2.98023224e-08, 0, 0.499995947, -0.866025329, -7.4505806e-08, 0.866018653, 0.49999994),i)
  1102.                 heartbeat:wait()
  1103.             end
  1104.             if character:findFirstChild("Torso") then
  1105.                 for i,v in pairs(character.Torso:GetChildren()) do
  1106.                     if v.ClassName == "Weld" or v.ClassName == "Motor6D" then
  1107.                         v:destroy()
  1108.                     end
  1109.                 end
  1110.             end
  1111.             local vel = Instance.new("BodyVelocity", character:findFirstChild("Torso"))
  1112.             vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1113.             vel.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 10
  1114.             local function spawned()
  1115.                 ragdollkill(character)
  1116.             end
  1117.             spawn(spawned)
  1118.         elseif whatfinisher == 2 and character:findFirstChild("Left Arm") and character:findFirstChild("Left Leg") and character:findFirstChild("Right Leg") then
  1119.             if not character:findFirstChild("HumanoidRootPart") then
  1120.                 local fakeroot = Instance.new("Part", character)
  1121.                 fakeroot.Size = Vector3.new(2,2,1)
  1122.                 fakeroot.Name = "HumanoidRootPart"
  1123.                 fakeroot.Transparency = 1
  1124.                 fakeroot.CFrame = character.Torso.CFrame
  1125.                 fakeroot:BreakJoints()
  1126.             end
  1127.             local rightarmm = Instance.new("Weld", character.Torso)
  1128.             rightarmm.Part0 = character.Torso
  1129.             rightarmm.Part1 = character["Right Arm"]
  1130.             rightarmm.C0 = CFrame.new(1.5,0,0)
  1131.             rightarmm.Name = "RightArmWeld"
  1132.             local rightlegg = Instance.new("Weld", character.Torso)
  1133.             rightlegg.Part0 = character.Torso
  1134.             rightlegg.Part1 = character["Right Leg"]
  1135.             rightlegg.C0 = CFrame.new(0.5,-2,0)
  1136.             rightlegg.Name = "RightLegWeld"
  1137.             local leftlegg = Instance.new("Weld", character.Torso)
  1138.             leftlegg.Part0 = character.Torso
  1139.             leftlegg.Part1 = character["Left Leg"]
  1140.             leftlegg.C0 = CFrame.new(-0.5,-2,0)
  1141.             leftlegg.Name = "LeftLegWeld"
  1142.             local headd = Instance.new("Weld", character.Torso)
  1143.             headd.Part0 = character.Torso
  1144.             headd.Part1 = character.Head
  1145.             headd.C0 = CFrame.new(0,1.5,0)
  1146.             headd.Name = "HeadWeld"
  1147.             local leftarmm = Instance.new("Weld", character.Torso)
  1148.             leftarmm.Part0 = character.Torso
  1149.             leftarmm.Part1 = character["Left Arm"]
  1150.             leftarmm.C0 = CFrame.new(-1.5,0,0)
  1151.             leftarmm.Name = "LeftArmWeld"
  1152.             local humanoidrootpartt = Instance.new("Weld", character.HumanoidRootPart)
  1153.             humanoidrootpartt.Part0 = character.HumanoidRootPart
  1154.             humanoidrootpartt.Part1 = character.Torso
  1155.             humanoidrootpartt.Name = "HumanoidRootPartWeld"
  1156.             character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  1157.             character:findFirstChildOfClass("Humanoid").JumpPower = 0
  1158.             for i = 0,1 , 0.08 do
  1159.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(-0.347203255, 0.913836479, -0.716785431, 0.766044378, 0.642787516, 0, 0.321393788, -0.383022249, -0.866025329, -0.556670368, 0.663413942, -0.50000006),i)
  1160.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.821393967, -0.383022308, 0.99999994, 0, 0, 0, -0.642787457, -0.766044497, 0, 0.766044557, -0.642787516),i)
  1161.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  1162.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  1163.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  1164.                 head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i)
  1165.                 rightarmm.C0 = rightarmm.C0:lerp(CFrame.new(1.5, 0.933005095, -0.25, 1, -0, 0, 0, -0.866018534, -0.499996036, 0, 0.5, -0.866025388),i)
  1166.                 cananimate = false
  1167.                 cando = false
  1168.                 heartbeat:wait()
  1169.             end
  1170.             swoosh:Play()
  1171.             for i = 0,1 , 0.08 do
  1172.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(-0.0860614777, -0.0532417297, -0.650289536, 0.379258692, 0.842225015, 0.383170784, 0.166806862, 0.345090806, -0.923627436, -0.910130858, 0.414209276, -0.00961020589),i)
  1173.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.00136232376, -0.198532104, 1, 0, 0, 0, 0.890729427, -0.454533815, 0, 0.454533845, 0.890729487),i)
  1174.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  1175.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  1176.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.766044438, 0, 0.642787576, 0, 0.999992132, 0, -0.642787576, 0, 0.766044438),i)
  1177.                 head.C0 = head.C0:lerp(CFrame.new(0, 1.49065351, -0.0962247849, 1, 0, 0, 0, 0.981306791, 0.192449972, 0, -0.192449972, 0.981306791),i)
  1178.                 --
  1179.                 cananimate = false
  1180.                 cando = false
  1181.                 rightarmm.C0 = rightarmm.C0:lerp(CFrame.new(1.5,0,0),i)
  1182.                 humanoidrootpartt.C0 = humanoidrootpartt.C0:lerp(CFrame.new(0,0.5,0),i)
  1183.                 heartbeat:wait()
  1184.             end
  1185.             --zium
  1186.             for i = 0,0.8 , 0.06 do
  1187.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.4773941, 0.333595514, -0.662953377, -0.102069035, 0.060344018, -0.992945373, -0.994496286, 0.0175344925, 0.103294067, 0.0236439742, 0.998023689, 0.0582221746),i)
  1188.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(0.0886116028, 0.633853912, -1.34011459, 0.642787635, -0.719846368, -0.262002528, -0.262002468, 0.11480581, -0.958214104, 0.719846308, 0.684573472, -0.114805803),i)
  1189.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  1190.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  1191.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  1192.                 head.C0 = head.C0:lerp(CFrame.new(0, 1.49240375, -0.0868234634, 1, 0, 0, 0, 0.98480773, 0.173648149, 0, -0.173648149, 0.98480773),i)
  1193.                 --
  1194.                 leftarmm.C0 = leftarmm.C0:lerp(CFrame.new(-1.5, 0.586824417, -0.492403984, 1, 0, 8.8817842e-16, 0, -0.173648149, -0.984807551, -1.33050135e-16, 0.984807611, -0.173648164),i)
  1195.                 headd.C0 = headd.C0:lerp(CFrame.new(0, 1.46984577, -0.171010256, 1, 0, 0, 0, 0.939692438, 0.342020303, -1.33050135e-16, -0.342020303, 0.939692438),i)
  1196.                 leftlegg.C0 = leftlegg.C0:lerp(CFrame.new(-0.5, -1.5, 0.866025209, 1, 0, 0, 0, 0.5, 0.86602509, -1.33050135e-16, -0.86602515, 0.50000006),i)
  1197.                 rightarmm.C0 = rightarmm.C0:lerp(CFrame.new(1.5, 0.75, 0.433012247, 0.99999994, -4.4408921e-16, 0, 0, -0.50000006, 0.86602515, -1.33050082e-16, -0.866025209, -0.500000119),i)
  1198.                 humanoidrootpartt.C0 = humanoidrootpartt.C0:lerp(CFrame.new(0, 0, 0.799999237, 1.19248806e-08, -0.99999994, 4.47034836e-08, 0, 4.47034836e-08, 0.99999994, -1, -1.19248798e-08, 6.66133815e-16),i)
  1199.                 rightlegg.C0 = rightlegg.C0:lerp(CFrame.new(0.5, -1.64278698, -0.766044378, 0.99999994, 0, 0, 0, 0.642787397, -0.766044319, -1.33050082e-16, 0.766044378, 0.642787457),i)
  1200.                 heartbeat:wait()
  1201.             end
  1202.             character.HumanoidRootPart.CFrame = character.HumanoidRootPart.CFrame * CFrame.fromEulerAnglesXYZ(0,0,1)
  1203.             if character:findFirstChild("Torso") then
  1204.                 for i,v in pairs(character.Torso:GetChildren()) do
  1205.                     if v.ClassName == "Weld" or v.ClassName == "Motor6D" then
  1206.                         v:destroy()
  1207.                     end
  1208.                 end
  1209.             end
  1210.             local function spawned()
  1211.                 ragdollkill(character)
  1212.             end
  1213.             spawn(spawned)
  1214.         end
  1215.         cananimate = true
  1216.         cando = true
  1217.         humanoidofowner.WalkSpeed = 25
  1218.         humanoidofowner.JumpPower = 50
  1219.     else
  1220.         ragdollkill(character)
  1221.     end
  1222. end
  1223. function ragdollkill(character)
  1224.     local victimshumanoid = character:findFirstChildOfClass("Humanoid")
  1225.     if not character:findFirstChild("UpperTorso") then
  1226.         character.Archivable = true
  1227.         for i,v in pairs(character:GetChildren()) do
  1228.             if v.ClassName == "Sound" then
  1229.                 v:remove()
  1230.             end
  1231.             for q,w in pairs(v:GetChildren()) do
  1232.                 if w.ClassName == "Sound" then
  1233.                     w:remove()
  1234.                 end
  1235.             end
  1236.         end
  1237.         local ragdoll = character:Clone()
  1238.         ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  1239.         if ragdoll:findFirstChild("Health") then
  1240.             if ragdoll:findFirstChild("Health").ClassName == "Script" then
  1241.                 ragdoll:findFirstChild("Health").Disabled = true
  1242.             end
  1243.         end
  1244.         for i,v in pairs(character:GetChildren()) do
  1245.             if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
  1246.                 v:destroy()
  1247.             end
  1248.         end
  1249.         for i,v in pairs(character:GetChildren()) do
  1250.             if v.ClassName == "Accessory" then
  1251.                 local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1252.                 if attachment1 then
  1253.                     for q,w in pairs(character:GetChildren()) do
  1254.                         if w.ClassName == "Part" then
  1255.                             local attachment2 = w:findFirstChild(attachment1.Name)
  1256.                             if attachment2 then
  1257.                                 local hinge = Instance.new("HingeConstraint", v.Handle)
  1258.                                 hinge.Attachment0 = attachment1
  1259.                                 hinge.Attachment1 = attachment2
  1260.                                 hinge.LimitsEnabled = true
  1261.                                 hinge.LowerAngle = 0
  1262.                                 hinge.UpperAngle = 0
  1263.                             end
  1264.                         end
  1265.                     end
  1266.                 end
  1267.             end
  1268.         end
  1269.         ragdoll.Parent = workspace
  1270.         if ragdoll:findFirstChild("Right Arm") then
  1271.             local glue = Instance.new("Glue", ragdoll.Torso)
  1272.             glue.Part0 = ragdoll.Torso
  1273.             glue.Part1 = ragdoll:findFirstChild("Right Arm")
  1274.             glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1275.             glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1276.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
  1277.             limbcollider.Size = Vector3.new(1.4,1,1)
  1278.             limbcollider.Shape = "Cylinder"
  1279.             limbcollider.Transparency = 1
  1280.             limbcollider.Name = "LimbCollider"
  1281.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1282.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
  1283.             limbcolliderweld.Part1 = limbcollider
  1284.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1285.         end
  1286.         if ragdoll:findFirstChild("Left Arm") then
  1287.             local glue = Instance.new("Glue", ragdoll.Torso)
  1288.             glue.Part0 = ragdoll.Torso
  1289.             glue.Part1 = ragdoll:findFirstChild("Left Arm")
  1290.             glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1291.             glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1292.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
  1293.             limbcollider.Size = Vector3.new(1.4,1,1)
  1294.             limbcollider.Shape = "Cylinder"
  1295.             limbcollider.Name = "LimbCollider"
  1296.             limbcollider.Transparency = 1
  1297.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1298.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
  1299.             limbcolliderweld.Part1 = limbcollider
  1300.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1301.         end
  1302.         if ragdoll:findFirstChild("Left Leg") then
  1303.             local glue = Instance.new("Glue", ragdoll.Torso)
  1304.             glue.Part0 = ragdoll.Torso
  1305.             glue.Part1 = ragdoll:findFirstChild("Left Leg")
  1306.             glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1307.             glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1308.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
  1309.             limbcollider.Size = Vector3.new(1.4,1,1)
  1310.             limbcollider.Shape = "Cylinder"
  1311.             limbcollider.Name = "LimbCollider"
  1312.             limbcollider.Transparency = 1
  1313.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1314.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
  1315.             limbcolliderweld.Part1 = limbcollider
  1316.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1317.         end
  1318.         if ragdoll:findFirstChild("Right Leg") then
  1319.             local glue = Instance.new("Glue", ragdoll.Torso)
  1320.             glue.Part0 = ragdoll.Torso
  1321.             glue.Part1 = ragdoll:findFirstChild("Right Leg")
  1322.             glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1323.             glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1324.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
  1325.             limbcollider.Size = Vector3.new(1.4,1,1)
  1326.             limbcollider.Shape = "Cylinder"
  1327.             limbcollider.Name = "LimbCollider"
  1328.             limbcollider.Transparency = 1
  1329.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1330.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Leg")
  1331.             limbcolliderweld.Part1 = limbcollider
  1332.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1333.         end
  1334.         if ragdoll:findFirstChild("Head") and ragdoll.Torso:findFirstChild("NeckAttachment") then
  1335.             local HeadAttachment = Instance.new("Attachment", ragdoll["Head"])
  1336.             HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  1337.             local connection = Instance.new('HingeConstraint', ragdoll["Head"])
  1338.             connection.LimitsEnabled = true
  1339.             connection.Attachment0 = ragdoll.Torso.NeckAttachment
  1340.             connection.Attachment1 = HeadAttachment
  1341.             connection.UpperAngle = 60
  1342.             connection.LowerAngle = -60
  1343.         elseif ragdoll:findFirstChild("Head") and not ragdoll.Torso:findFirstChild("NeckAttachment") then
  1344.             local hedweld = Instance.new("Weld", ragdoll.Torso)
  1345.             hedweld.Part0 = ragdoll.Torso
  1346.             hedweld.Part1 = ragdoll.Head
  1347.             hedweld.C0 = CFrame.new(0,1.5,0)
  1348.         end
  1349.         game.Debris:AddItem(ragdoll, 30)
  1350.         local function doremove()
  1351.             wait(0.3)
  1352.             for q,w in pairs(ragdoll:GetChildren()) do
  1353.                 if w.ClassName == "BodyVelocity" then
  1354.                     w:destroy()
  1355.                 end
  1356.                 for e,r in pairs(w:GetChildren()) do
  1357.                     if r.ClassName == "BodyVelocity" then
  1358.                         r:destroy()
  1359.                     end
  1360.                 end
  1361.             end
  1362.         end
  1363.         spawn(doremove)
  1364.         wait(1)
  1365.         if ragdoll:findFirstChildOfClass("Humanoid") then
  1366.             ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  1367.         end
  1368.         if ragdoll:findFirstChild("HumanoidRootPart") then
  1369.             ragdoll:findFirstChild("HumanoidRootPart"):destroy()
  1370.         end
  1371.     elseif character:findFirstChild("UpperTorso") then
  1372.         character.Archivable = true
  1373.         for i,v in pairs(character:GetChildren()) do
  1374.             if v.ClassName == "Sound" then
  1375.                 v:remove()
  1376.             end
  1377.             for q,w in pairs(v:GetChildren()) do
  1378.                 if w.ClassName == "Sound" then
  1379.                     w:remove()
  1380.                 end
  1381.             end
  1382.         end
  1383.         local ragdoll = character:Clone()
  1384.         ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  1385.         if ragdoll:findFirstChild("Health") then
  1386.             if ragdoll:findFirstChild("Health").ClassName == "Script" then
  1387.                 ragdoll:findFirstChild("Health").Disabled = true
  1388.             end
  1389.         end
  1390.         for i,v in pairs(character:GetChildren()) do
  1391.             if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
  1392.                 v:destroy()
  1393.             end
  1394.         end
  1395.         for i,v in pairs(character:GetChildren()) do
  1396.             if v.ClassName == "Accessory" then
  1397.                 local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1398.                 if attachment1 then
  1399.                     for q,w in pairs(character:GetChildren()) do
  1400.                         if w.ClassName == "Part" or w.ClassName == "MeshPart" then
  1401.                             local attachment2 = w:findFirstChild(attachment1.Name)
  1402.                             if attachment2 then
  1403.                                 local hinge = Instance.new("HingeConstraint", v.Handle)
  1404.                                 hinge.Attachment0 = attachment1
  1405.                                 hinge.Attachment1 = attachment2
  1406.                                 hinge.LimitsEnabled = true
  1407.                                 hinge.LowerAngle = 0
  1408.                                 hinge.UpperAngle = 0
  1409.                             end
  1410.                         end
  1411.                     end
  1412.                 end
  1413.             end
  1414.         end
  1415.         ragdoll.Parent = workspace
  1416.         local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
  1417.         Humanoid.PlatformStand = true
  1418.         local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  1419.             local connection = Instance.new('BallSocketConstraint', limb)
  1420.             connection.LimitsEnabled = true
  1421.             connection.Attachment0 = attachementone
  1422.             connection.Attachment1 = attachmenttwo
  1423.             connection.TwistLimitsEnabled = true
  1424.             connection.TwistLowerAngle = twistlower
  1425.             connection.TwistUpperAngle = twistupper
  1426.             local limbcollider = Instance.new("Part", limb)
  1427.             limbcollider.Size = Vector3.new(0.1,1,1)
  1428.             limbcollider.Shape = "Cylinder"
  1429.             limbcollider.Transparency = 1
  1430.             limbcollider:BreakJoints()
  1431.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1432.             limbcolliderweld.Part0 = limb
  1433.             limbcolliderweld.Part1 = limbcollider
  1434.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1435.         end
  1436.         local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  1437.             local connection = Instance.new('HingeConstraint', limb)
  1438.             connection.LimitsEnabled = true
  1439.             connection.Attachment0 = attachementone
  1440.             connection.Attachment1 = attachmenttwo
  1441.             connection.LimitsEnabled = true
  1442.             connection.LowerAngle = lower
  1443.             connection.UpperAngle = upper
  1444.             local limbcollider = Instance.new("Part", limb)
  1445.             limbcollider.Size = Vector3.new(0.1,1,1)
  1446.             limbcollider.Shape = "Cylinder"
  1447.             limbcollider.Transparency = 1
  1448.             limbcollider:BreakJoints()
  1449.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1450.             limbcolliderweld.Part0 = limb
  1451.             limbcolliderweld.Part1 = limbcollider
  1452.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1453.         end
  1454.         local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  1455.         HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  1456.         makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
  1457.         makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  1458.         makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
  1459.         makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  1460.         makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  1461.         --
  1462.         makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
  1463.         makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  1464.         makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  1465.         --
  1466.         makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
  1467.         makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  1468.         makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  1469.         --
  1470.         makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
  1471.         makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  1472.         makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  1473.         for i,v in pairs(Humanoid.Parent:GetChildren()) do
  1474.             if v.ClassName == "Accessory" then
  1475.                 local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1476.                 if attachment1 then
  1477.                     for q,w in pairs(Humanoid.Parent:GetChildren()) do
  1478.                         if w.ClassName == "Part" then
  1479.                             local attachment2 = w:findFirstChild(attachment1.Name)
  1480.                             if attachment2 then
  1481.                                 local hinge = Instance.new("HingeConstraint", v.Handle)
  1482.                                 hinge.Attachment0 = attachment1
  1483.                                 hinge.Attachment1 = attachment2
  1484.                                 hinge.LimitsEnabled = true
  1485.                                 hinge.LowerAngle = 0
  1486.                                 hinge.UpperAngle = 0
  1487.                             end
  1488.                         end
  1489.                     end
  1490.                 end
  1491.             end
  1492.         end
  1493.         for i,v in pairs(ragdoll:GetChildren()) do
  1494.             for q,w in pairs(v:GetChildren()) do
  1495.                 if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] then
  1496.                     w:destroy()
  1497.                 end
  1498.             end
  1499.         end
  1500.         if ragdoll:findFirstChild("HumanoidRootPart") then
  1501.             ragdoll.HumanoidRootPart.Anchored = true
  1502.             ragdoll.HumanoidRootPart.CanCollide = false
  1503.         end
  1504.         if ragdoll:findFirstChildOfClass("Humanoid") then
  1505.             ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  1506.         end
  1507.         local function doremove()
  1508.             wait(0.3)
  1509.             if ragdoll:findFirstChild("HumanoidRootPart") then
  1510.                 ragdoll.HumanoidRootPart.Anchored = true
  1511.                 ragdoll.HumanoidRootPart.CanCollide = false
  1512.             end
  1513.             for q,w in pairs(ragdoll:GetChildren()) do
  1514.                 if w.ClassName == "BodyVelocity" then
  1515.                     w:destroy()
  1516.                 end
  1517.                 for e,r in pairs(w:GetChildren()) do
  1518.                     if r.ClassName == "BodyVelocity" then
  1519.                         r:destroy()
  1520.                     end
  1521.                 end
  1522.             end
  1523.         end
  1524.         spawn(doremove)
  1525.         game.Debris:AddItem(ragdoll, 30)
  1526.     end
  1527. end
  1528. while game:GetService("RunService").Heartbeat:wait() do
  1529.     if cananimate then
  1530.         if waitforbounce > 0 then
  1531.             waitforbounce = waitforbounce - 1
  1532.         end
  1533.     end
  1534.     if jumping then
  1535.         for i = 0,0.6 , 0.09 do
  1536.             if jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1537.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.328983307, 0.469837666, 1, 0, 0, 0, 0.342022061, 0.939691961, 0, -0.93969202, 0.342022061),i)
  1538.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.586815834, -0.492397785, 1, 0, 0, 0, -0.173650756, -0.984807312, 0, 0.984807312, -0.173650786),i)
  1539.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.34200048, 0.939681053, 1, 0, 0, 0, 0.342022181, 0.939691961, 0, -0.939691901, 0.34202221),i)
  1540.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1.34199452, -0.939673424, 1, 0, 0, 0, 0.34201777, -0.93969357, 0, 0.939693511, 0.34201777),i)
  1541.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 2.98025861e-06, 0, -2.98025907e-06, 1),i)
  1542.                 head.C0 = head.C0:lerp(CFrame.new(0, 1.49997473, -4.29153442e-06, 1, 0, 0, 0, 1, 2.98025861e-06, 0, -2.98025907e-06, 1),i)
  1543.                 game:GetService("RunService").Heartbeat:wait()
  1544.             end
  1545.         end
  1546.     end
  1547.     if running and not jumping and cananimate then
  1548.         local rarmc0 = rightarm.C0
  1549.         local larmc0 = leftarm.C0
  1550.         local llegc0 = leftleg.C0
  1551.         local rlegc0 = rightleg.C0
  1552.         local humrootc0 = humanoidrootpart.C0
  1553.         local headc0 = head.C0
  1554.         for i = 0,1 , 0.16 do
  1555.             if running and not jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1556.                 rightarm.C0 = rarmc0:lerp(CFrame.new(1.68157005, 0.0485486984, 0.884954453, 0.98480773, -0.171010077, 0.0301536564, 0.0593911707, 0.494882554, 0.866927743, -0.163175955, -0.851966381, 0.497520655),i)
  1557.                 leftarm.C0 = larmc0:lerp(CFrame.new(-1.5, 0.671010017, -0.469846725, 1, 0, 0, 0, -0.342020094, -0.939692557, 0, 0.939692616, -0.342020124),i)
  1558.                 leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, -1.34202051, 0.939691544, 1, 3.55271368e-15, 0, -7.10542736e-15, 0.342020154, 0.939692616, 1.77635705e-15, -0.939692616, 0.342020154),i)
  1559.                 rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, -1.04278755, -1.56604576, 1, 0, 0, 0, 0.642787635, -0.766044319, 0, 0.766044378, 0.642787755),i)
  1560.                 humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, 0.18793869, -0.068403244, 1, 0, 0, 0, 0.939692497, 0.342020482, 0, -0.342020482, 0.939692497) * CFrame.new(0,-0.4,0),i)
  1561.                 head.C0 = headc0:lerp(CFrame.new(0, 1.46984625, 0.171009064, 1, 0, 0, 0, 0.939692497, -0.342020482, 0, 0.342020482, 0.939692497),i)
  1562.                 game:GetService("RunService").Heartbeat:wait()
  1563.             end
  1564.         end
  1565.         local rarmc0 = rightarm.C0
  1566.         local larmc0 = leftarm.C0
  1567.         local llegc0 = leftleg.C0
  1568.         local rlegc0 = rightleg.C0
  1569.         local humrootc0 = humanoidrootpart.C0
  1570.         local headc0 = head.C0
  1571.         for i = 0,1 , 0.16 do
  1572.             if running and not jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1573.                 rightarm.C0 = rarmc0:lerp(CFrame.new(1.56195927, -0.0699324608, 0.119949341, 0.98480773, -0.0868241489, 0.1503838, 0.0593911782, 0.982209623, 0.17814827, -0.163175985, -0.166510344, 0.972444296),i)
  1574.                 leftarm.C0 = larmc0:lerp(CFrame.new(-1.51513863, -0.129981518, -0.155303955, 0.998369873, 0.0540187061, 0.0184263606, -0.0462776423, 0.955111921, -0.292607933, -0.0334055424, 0.291278243, 0.956054926),i)
  1575.                 leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, -0.863191605, -0.37587738, 1, 3.55271368e-15, 0, -7.10542736e-15, 0.342020154, 0.939692616, 1.77635705e-15, -0.939692616, 0.342020154),i)
  1576.                 rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, -2.06334591, 0.204090118, 1, 8.8817842e-16, 0, -8.8817842e-16, 0.98480767, 0.173648238, 0, -0.173648268, 0.98480773),i)
  1577.                 humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692497, 0.342020482, 0, -0.342020482, 0.939692497) * CFrame.new(0,-0.4,0),i)
  1578.                 head.C0 = headc0:lerp(CFrame.new(0, 1.46984673, 0.171010971, 1, 0, 0, 0, 0.939692497, -0.342020482, 0, 0.342020482, 0.939692497),i)
  1579.                 game:GetService("RunService").Heartbeat:wait()
  1580.             end
  1581.         end
  1582.         footstep:Play()
  1583.         local rarmc0 = rightarm.C0
  1584.         local larmc0 = leftarm.C0
  1585.         local llegc0 = leftleg.C0
  1586.         local rlegc0 = rightleg.C0
  1587.         local humrootc0 = humanoidrootpart.C0
  1588.         local headc0 = head.C0
  1589.         for i = 0,1 , 0.16 do
  1590.             if running and not jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1591.                 rightarm.C0 = rarmc0:lerp(CFrame.new(1.5, 0.671010017, -0.469846725, 1, 0, 0, 0, -0.342020035, -0.939692616, 0, 0.939692676, -0.342020065),i)
  1592.                 leftarm.C0 = larmc0:lerp(CFrame.new(-1.48023987, -0.0610394478, 0.792190552, 0.998369932, -0.0087661799, 0.0563976094, -0.0462775454, 0.454015464, 0.889791071, -0.033405453, -0.890950739, 0.452869713),i)
  1593.                 leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, -1.26786566, -1.64663887, 1, 0, 0, 0, 0.642787933, -0.76604414, 0, 0.76604414, 0.642787993),i)
  1594.                 rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, -1.42055845, 0.970134735, 1, 0, 0, 3.55271368e-15, 0.342020154, 0.939692616, 0, -0.939692616, 0.342020154),i)
  1595.                 humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, 0.18793869, -0.068403244, 1, 0, 0, 0, 0.939692497, 0.342020482, 0, -0.342020482, 0.939692497) * CFrame.new(0,-0.4,0),i)
  1596.                 head.C0 = headc0:lerp(CFrame.new(0, 1.46984673, 0.171010971, 1, 0, 0, 0, 0.939692497, -0.342020482, 0, 0.342020482, 0.939692497),i)
  1597.                 game:GetService("RunService").Heartbeat:wait()
  1598.             end
  1599.         end
  1600.         local rarmc0 = rightarm.C0
  1601.         local larmc0 = leftarm.C0
  1602.         local llegc0 = leftleg.C0
  1603.         local rlegc0 = rightleg.C0
  1604.         local humrootc0 = humanoidrootpart.C0
  1605.         local headc0 = head.C0
  1606.         for i = 0,1 , 0.16 do
  1607.             if running and not jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1608.                 rightarm.C0 = rarmc0:lerp(CFrame.new(1.54040813, 0.09547472, 0.0500869751, 0.984807611, -0.0593915023, 0.163176641, 0.059391439, 0.998222768, 0.00488311052, -0.163176671, 0.00488239527, 0.986584723),i)
  1609.                 leftarm.C0 = larmc0:lerp(CFrame.new(-1.49622726, 0.0558686256, 0.152441025, 0.998369813, 0.0444596186, 0.03579133, -0.0462785624, 0.99758935, 0.0517075658, -0.0334061533, -0.0532796681, 0.998020709),i)
  1610.                 leftleg.C0 = llegc0:lerp(CFrame.new(-0.5, -1.93537951, 0.411506653, 1, 0, 0, 0, 0.939692199, 0.342021108, 0, -0.342021137, 0.939692259),i)
  1611.                 rightleg.C0 = rlegc0:lerp(CFrame.new(0.5, -0.941730499, -0.345434189, 1, 0, 0, 3.55271368e-15, 0.342020154, 0.939692616, 0, -0.939692616, 0.342020154),i)
  1612.                 humanoidrootpart.C0 = humrootc0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692497, 0.342020482, 0, -0.342020482, 0.939692497) * CFrame.new(0,-0.4,0),i)
  1613.                 head.C0 = headc0:lerp(CFrame.new(0, 1.46984625, 0.171010971, 1, 0, 0, 0, 0.939692497, -0.342020482, 0, 0.342020482, 0.939692497),i)
  1614.                 game:GetService("RunService").Heartbeat:wait()
  1615.             end
  1616.         end
  1617.         footstep:Play()
  1618.     else
  1619.         for i = 0,0.6 , 0.08 do
  1620.             if not running and not jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1621.                 rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.54167557, 0.0454807281, 1.90734863e-06, 0.99619472, -0.0871554986, 0, 0.0871554837, 0.996194661, -4.4408921e-16, 0, 0, 1),i)
  1622.                 leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.54167461, 0.0454807281, 0, 0.99619472, 0.0871554986, 0, -0.0871554837, 0.996194661, -4.4408921e-16, 0, 0, 1),i)
  1623.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.589057922, -2.03977203, 1.90734863e-06, 0.99619472, 0.0871554986, 0, -0.0871554837, 0.996194661, -4.4408921e-16, 0, 0, 1),i)
  1624.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.589058876, -2.03977203, 0, 0.99619472, -0.0871554986, 0, 0.0871554837, 0.996194661, -4.4408921e-16, 0, 0, 1),i)
  1625.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.98480773, 0, -0.173648283, 0, 1, 0, 0.173648283, 0, 0.98480773),i)
  1626.                 head.C0 = head.C0:lerp(CFrame.new(0, 1.5, 0, 0.98480773, 0, 0.173648283, 0, 1, 0, -0.173648283, 0, 0.98480773),i)
  1627.                 game:GetService("RunService").Heartbeat:wait()
  1628.             end
  1629.         end
  1630.     end
  1631. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement