TheYoutuber_Pro

ewgwe

Jan 23rd, 2022 (edited)
210
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --By Rufus14
  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. cangoup = true
  11. rolling = false
  12. if owner.Character.Head:findFirstChildOfClass("Decal") then
  13.     owner.Character.Head:findFirstChildOfClass("Decal").Transparency = 1
  14. end
  15. function death()
  16.     function action(key)
  17.     key = key:lower()
  18.     if key == "e" then
  19.         remote:FireServer("slide")
  20.     end
  21.     if key == "c" then
  22.         remote:FireServer("rollon")
  23.     end
  24. end
  25. function undoaction(key)
  26.     key = key:lower()
  27.     if key == "c" then
  28.         remote:FireServer("rolloff")
  29.     end
  30. end
  31. mouse.KeyDown:connect(action)
  32. mouse.KeyUp:connect(undoaction)
  33. function mouseaction()
  34.     remote:FireServer("kick")
  35. end
  36. mouse.Button2Down:connect(mouseaction)
  37. function mouseaction2()
  38.     remote:FireServer("punch")
  39. end
  40. mouse.Button1Down:connect(mouseaction2)
  41. function visiblebody()
  42.     if owner.Character.HumanoidRootPart:findFirstChild("FALLING") then
  43.         workspace.CurrentCamera.CFrame = owner.Character.Head.CFrame * CFrame.new(0,0,-1)
  44.         workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-1,1)/100,math.random(-1,1)/100,math.random(-1,1)/100)
  45.     end
  46.     if owner.Character.HumanoidRootPart:findFirstChild("ow") then
  47.         workspace.CurrentCamera.CFrame = owner.Character.Head.CFrame * CFrame.new(0,0,-1)
  48.     end
  49.     if owner.Character.HumanoidRootPart:findFirstChild("rolling") then
  50.         rolling = true
  51.         workspace.CurrentCamera.CFrame = owner.Character.Head.CFrame * CFrame.new(0,0,-1)
  52.     end
  53.     if not owner.Character.HumanoidRootPart:findFirstChild("rolling") and rolling then
  54.         rolling = false
  55.     end
  56.     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
  57.         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))
  58.     end
  59.     if owner.Character.HumanoidRootPart:findFirstChild("goingup") and cangoup then
  60.         cangoup = false
  61.         local function lookup()
  62.             for i = 1,15 do
  63.                 workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(0.05,0,0)
  64.                 game:GetService("RunService").RenderStepped:wait()
  65.             end
  66.         end
  67.         spawn(lookup)
  68.     end
  69.     if not owner.Character.HumanoidRootPart:findFirstChild("goingup") and not cangoup then
  70.         cangoup = true
  71.         local function lookup()
  72.             for i = 1,15 do
  73.                 workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * CFrame.fromEulerAnglesXYZ(-0.05,0,0)
  74.                 game:GetService("RunService").RenderStepped:wait()
  75.             end
  76.         end
  77.         spawn(lookup)
  78.     end
  79.     for i,v in pairs(owner.Character:GetChildren()) do
  80.         if v.ClassName == "Part" and v.Name ~= "Head" then
  81.             v.LocalTransparencyModifier = 0
  82.         end
  83.         if v.ClassName == "Accessory" then
  84.             v.Handle.Transparency = 1
  85.         end
  86.     end
  87. end
  88. game:GetService("RunService").RenderStepped:connect(visiblebody)
  89. ]], owner.Character)
  90. wait(0.8)
  91. local remote = Instance.new("RemoteEvent", game.ReplicatedStorage)
  92. remote.Name = "ParkourRemote"
  93. humanoidofowner = owner.Character:findFirstChildOfClass("Humanoid")
  94. humanoidofowner.CameraOffset = Vector3.new(0,0,-1)
  95. rootpart = owner.Character:findFirstChild("HumanoidRootPart")
  96. local rightarm = Instance.new("Weld", owner.Character.Torso)
  97. rightarm.Part0 = owner.Character.Torso
  98. rightarm.Part1 = owner.Character["Right Arm"]
  99. rightarm.C0 = CFrame.new(1.5,0,0)
  100. rightarm.Name = "RightArmWeld"
  101. local rightleg = Instance.new("Weld", owner.Character.Torso)
  102. rightleg.Part0 = owner.Character.Torso
  103. rightleg.Part1 = owner.Character["Right Leg"]
  104. rightleg.C0 = CFrame.new(0.5,-2,0)
  105. rightleg.Name = "RightLegWeld"
  106. local leftarm = Instance.new("Weld", owner.Character.Torso)
  107. leftarm.Part0 = owner.Character.Torso
  108. leftarm.Part1 = owner.Character["Left Arm"]
  109. leftarm.C0 = CFrame.new(-1.5,0,0)
  110. leftarm.Name = "LeftArmWeld"
  111. local leftleg = Instance.new("Weld", owner.Character.Torso)
  112. leftleg.Part0 = owner.Character.Torso
  113. leftleg.Part1 = owner.Character["Left Leg"]
  114. leftleg.C0 = CFrame.new(-0.5,-2,0)
  115. leftleg.Name = "LeftLegWeld"
  116. local head = Instance.new("Weld", owner.Character.Torso)
  117. head.Part0 = owner.Character.Torso
  118. head.Part1 = owner.Character.Head
  119. head.C0 = CFrame.new(0,1.5,0)
  120. head.Name = "HeadWeld"
  121. local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
  122. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  123. humanoidrootpart.Part1 = owner.Character.Torso
  124. humanoidrootpart.Name = "HumanoidRootPartWeld"
  125. owner.Character.HumanoidRootPart.CanCollide = false
  126. humanoidofowner.WalkSpeed = 25
  127. local footstep = Instance.new("Sound", owner.Character.Head)
  128. footstep.SoundId = "rbxassetid://7148665961"
  129. footstep:Play()
  130. footstep.Volume = 6
  131. local ambient = Instance.new("Sound", owner.Character.Head)
  132. ambient.SoundId = "rbxassetid://0"
  133. ambient.Looped = true
  134. ambient:Play()
  135. ambient.Volume = 1
  136. local musicwhat = math.random(1,5)
  137. if musicwhat == 1 then
  138.     ambient.SoundId = "rbxassetid://0"
  139.     ambient.Volume = 0.1
  140. elseif musicwhat == 2 then
  141.     ambient.SoundId = "rbxassetid://0"
  142.     ambient.Volume = 0.5
  143. elseif musicwhat == 3 then
  144.     ambient.SoundId = "rbxassetid://0"
  145.     ambient.Volume = 0.5
  146. elseif musicwhat == 4 then
  147.     ambient.SoundId = "rbxassetid://145907444"
  148.     ambient.Volume = 1
  149. end
  150. local jumpsound = Instance.new("Sound", owner.Character.Head)
  151. jumpsound.SoundId = "rbxassetid://1188430348"
  152. jumpsound.PlaybackSpeed = 1.5
  153. local swoosh = Instance.new("Sound", owner.Character.Head)
  154. swoosh.SoundId = "rbxassetid://2706199011"
  155. swoosh.PlaybackSpeed = 1
  156. local swoosh2 = Instance.new("Sound", owner.Character.Head)
  157. swoosh2.SoundId = "rbxassetid://596439421"
  158. swoosh2.PlaybackSpeed = 0.7
  159. local bodyhit = Instance.new("Sound", owner.Character.Head)
  160. bodyhit.SoundId = "rbxassetid://261338552"
  161. local kickhit = Instance.new("Sound", owner.Character.Head)
  162. kickhit.SoundId = "rbxassetid://220025675"
  163. if owner.Character.Head:findFirstChild("FreeFalling") then
  164.     owner.Character.Head:findFirstChild("FreeFalling").Volume = 5
  165. end
  166. running = false
  167. jumping = false
  168. cananimate = true
  169. canplayjump = true
  170. victimdude = nil
  171. cando = true
  172. trytoroll = false
  173. waitforbounce = 0
  174. function run()
  175.     while heartbeat:wait() do
  176.         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
  177.             running = true
  178.         else
  179.             running = false
  180.         end
  181.     end
  182. end
  183. function rip()
  184.     cananimate = false
  185.     jumpsound.Volume = 0
  186.     local fallvelocity = Instance.new("BodyVelocity", owner.Character.HumanoidRootPart)
  187.     fallvelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  188.     fallvelocity.Velocity = Vector3.new(0,-140,0)
  189.     fallvelocity.Name = "FALLING"
  190.     local function aaafalling()
  191.         while heartbeat:wait() do
  192.             for i = 0,0.5 , 0.03 do
  193.                 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)
  194.                 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)
  195.                 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)
  196.                 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)
  197.                 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)
  198.                 heartbeat:wait()
  199.             end
  200.             for i = 0,0.5 , 0.03 do
  201.                 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)
  202.                 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)
  203.                 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)
  204.                 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)
  205.                 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)
  206.                 heartbeat:wait()
  207.             end
  208.         end
  209.     end
  210.     spawn(aaafalling)
  211.     while rootpart.Velocity.y <= -138 do
  212.         humanoidrootpart.C0 = humanoidrootpart.C0 * CFrame.fromEulerAnglesXYZ(-0.02,-0.02,-0.02)
  213.         heartbeat:wait()
  214.     end
  215.     fallvelocity:destroy()
  216.     owner.Character:BreakJoints()
  217. end
  218. function checkfall()
  219.     while heartbeat:wait() do
  220.         if rootpart.Velocity.y <= -100 and rootpart.Velocity.y > -140 then
  221.             local owe = true
  222.             while rootpart.Velocity.y <= -100 do
  223.                 if rootpart.Velocity.y <= -140 then
  224.                     owe = false
  225.                     trytoroll = false
  226.                     rip()
  227.                     break
  228.                 end
  229.                 heartbeat:wait()
  230.             end
  231.             if not trytoroll then
  232.                 cananimate = false
  233.                 local ow = Instance.new("BoolValue", owner.Character.HumanoidRootPart)
  234.                 ow.Name = "ow"
  235.                 if owe then
  236.                     humanoidofowner:TakeDamage(math.random(30,60))
  237.                 end
  238.                 bodyhit.TimePosition = 1
  239.                 bodyhit:Play()
  240.                 humanoidofowner.WalkSpeed = 0
  241.                 humanoidofowner.JumpPower = 0
  242.                 for i = 0,1 , 0.07 do
  243.                     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)
  244.                     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)
  245.                     leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  246.                     rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  247.                     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)
  248.                     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)
  249.                     heartbeat:wait()
  250.                 end
  251.                 wait(1.5)
  252.                 for i = 0,0.5 , 0.01 do
  253.                     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)
  254.                     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)
  255.                     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)
  256.                     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)
  257.                     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)
  258.                     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)
  259.                     heartbeat:wait()
  260.                 end
  261.                 for i = 0,0.5 , 0.01 do
  262.                     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)
  263.                     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)
  264.                     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)
  265.                     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)
  266.                     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)
  267.                     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)
  268.                     heartbeat:wait()
  269.                 end
  270.                 humanoidofowner.WalkSpeed = 25
  271.                 humanoidofowner.JumpPower = 50
  272.                 cananimate = true
  273.                 cando = true
  274.                 ow:destroy()
  275.             else
  276.                 for i,v in pairs(owner.Character.Head:GetChildren()) do
  277.                     if v.Name == "goup" then
  278.                         v:destroy()
  279.                     end
  280.                 end
  281.                 cananimate = false
  282.                 trytoroll = false
  283.                 waitforbounce = 4
  284.                 local rollvelocity = Instance.new("BodyVelocity", owner.Character.HumanoidRootPart)
  285.                 rollvelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  286.                 rollvelocity.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 20
  287.                 rollvelocity.Name = "rolling"
  288.                 local rarmc0 = rightarm.C0
  289.                 local larmc0 = leftarm.C0
  290.                 local llegc0 = leftleg.C0
  291.                 local rlegc0 = rightleg.C0
  292.                 local humrootc0 = humanoidrootpart.C0
  293.                 local headc0 = head.C0
  294.                 for i = 0,1 , 0.12 do
  295.                     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)
  296.                     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)
  297.                     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)
  298.                     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)
  299.                     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)
  300.                     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)
  301.                     heartbeat:wait()
  302.                 end
  303.                 local rarmc0 = rightarm.C0
  304.                 local larmc0 = leftarm.C0
  305.                 local llegc0 = leftleg.C0
  306.                 local rlegc0 = rightleg.C0
  307.                 local humrootc0 = humanoidrootpart.C0
  308.                 local headc0 = head.C0
  309.                 for i = 0,1 , 0.12 do
  310.                     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)
  311.                     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)
  312.                     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)
  313.                     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)
  314.                     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)
  315.                     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)
  316.                     heartbeat:wait()
  317.                 end
  318.                 local rarmc0 = rightarm.C0
  319.                 local larmc0 = leftarm.C0
  320.                 local llegc0 = leftleg.C0
  321.                 local rlegc0 = rightleg.C0
  322.                 local humrootc0 = humanoidrootpart.C0
  323.                 local headc0 = head.C0
  324.                 for i = 0,1 , 0.12 do
  325.                     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)
  326.                     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)
  327.                     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)
  328.                     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)
  329.                     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)
  330.                     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)
  331.                     heartbeat:wait()
  332.                 end
  333.                 cananimate = true
  334.                 rollvelocity:destroy()
  335.                 cando = true
  336.                 local function checkfix()
  337.                     wait(1)
  338.                     if not cando then
  339.                         cando = true
  340.                     end
  341.                 end
  342.                 spawn(checkfix)
  343.             end
  344.         end
  345.     end
  346. end
  347. spawn(run)
  348. spawn(checkfall)
  349. punchanim = 0
  350. function doaction(plr, what)
  351.     if plr == owner then
  352.         if cando then
  353.             cando = false
  354.             cananimate = false
  355.             if what == "rollon" and not owner.Character.HumanoidRootPart:findFirstChild("FALLING") and not owner.Character.HumanoidRootPart:findFirstChild("rolling") then
  356.                 trytoroll = true
  357.                 cando = true
  358.                 cananimate = true
  359.             end
  360.             if what == "rolloff" and not owner.Character.HumanoidRootPart:findFirstChild("FALLING") and not owner.Character.HumanoidRootPart:findFirstChild("rolling") then
  361.                 trytoroll = false
  362.                 cando = true
  363.                 cananimate = true
  364.             end
  365.             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
  366.                 humanoidofowner.WalkSpeed = 0
  367.                 humanoidofowner.JumpPower = 0
  368.                 swoosh:Play()
  369.                 local velocitie = Instance.new("BodyVelocity", owner.Character.HumanoidRootPart)
  370.                 velocitie.MaxForce = Vector3.new(math.huge,0,math.huge)
  371.                 velocitie.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 50
  372.                 velocitie.Name = "sliding"
  373.                 local waitt = 0
  374.                 local function less()
  375.                     while wait() do
  376.                         velocitie.Velocity = velocitie.Velocity / 1.09
  377.                         if waitt < 20 then
  378.                             waitt = waitt + 1
  379.                         end
  380.                         if velocitie.Velocity.z <= 4 and velocitie.Velocity.x <= 4 and waitt == 20 then
  381.                             humanoidofowner.WalkSpeed = 25
  382.                             humanoidofowner.JumpPower = 50
  383.                             velocitie:destroy()
  384.                             if not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  385.                                 cananimate = true
  386.                                 cando = true
  387.                             end
  388.                             break
  389.                         end
  390.                     end
  391.                 end
  392.                 spawn(less)
  393.                 for i = 0,1 , 0.02 do
  394.                     if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  395.                         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)
  396.                         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)
  397.                         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)
  398.                         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)
  399.                         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)
  400.                         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)
  401.                         heartbeat:wait()
  402.                     end
  403.                 end
  404.             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
  405.                 humanoidofowner.WalkSpeed = 0
  406.                 humanoidofowner.JumpPower = 0
  407.                 swoosh2:Play()
  408.                 swoosh:Play()
  409.                 cananimate = false
  410.                 for i = 0,0.5 , 0.08 do
  411.                     if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  412.                         rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i)
  413.                         leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  414.                         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)
  415.                         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)
  416.                         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)
  417.                         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)
  418.                         heartbeat:wait()
  419.                     end
  420.                 end
  421.                 local function kicksuccessful()
  422.                     kickhit:Play()
  423.                     local velocitie = Instance.new("BodyVelocity", victimdude.Head)
  424.                     velocitie.MaxForce = Vector3.new(math.huge,0,math.huge)
  425.                     velocitie.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 15
  426.                     velocitie.Name = "woosh"
  427.                     game.Debris:AddItem(velocitie, 0.3)
  428.                     local hprandom = math.random(10,30)
  429.                     if victimdude:findFirstChildOfClass("Humanoid").Health <= hprandom then
  430.                         victimdude:BreakJoints()
  431.                         ragdollkill(victimdude)
  432.                     else
  433.                         victimdude:findFirstChildOfClass("Humanoid").Health = victimdude:findFirstChildOfClass("Humanoid").Health - hprandom
  434.                     end
  435.                     if victimdude:findFirstChild("Torso") then
  436.                         victimdude.Torso.CFrame = CFrame.new(victimdude.Torso.Position, owner.Character.HumanoidRootPart.Position)
  437.                         local owweld = Instance.new("Weld", victimdude.Torso)
  438.                         owweld.Part0 = victimdude.Torso
  439.                         owweld.Part1 = victimdude.Head
  440.                         owweld.C0 = CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  441.                         owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(1,0,0) * CFrame.new(0,0,0.5)
  442.                         for i = 0,1 , 0.02 do
  443.                             owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  444.                             heartbeat:wait()
  445.                         end
  446.                     elseif victimdude:findFirstChild("UpperTorso") then
  447.                         victimdude.UpperTorso.CFrame = CFrame.new(victimdude.UpperTorso.Position, owner.Character.HumanoidRootPart.Position)
  448.                         local owweld = Instance.new("Weld", victimdude.UpperTorso)
  449.                         owweld.Part0 = victimdude.UpperTorso
  450.                         owweld.Part1 = victimdude.Head
  451.                         owweld.C0 = CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  452.                         owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(1,0,0) * CFrame.new(0,0,0.5)
  453.                         for i = 0,1 , 0.02 do
  454.                             owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  455.                             heartbeat:wait()
  456.                         end
  457.                     end
  458.                     local hisws = victimdude:findFirstChildOfClass("Humanoid").WalkSpeed
  459.                     local hisjp = victimdude:findFirstChildOfClass("Humanoid").JumpPower
  460.                     victimdude:findFirstChildOfClass("Humanoid").JumpPower = 0
  461.                     victimdude:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  462.                     for i,v in pairs(victimdude:GetChildren()) do
  463.                         if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  464.                             v.Disabled = true
  465.                         end
  466.                     end
  467.                     if victimdude:findFirstChildOfClass("Humanoid").MaxHealth > 300 then
  468.                         victimdude:findFirstChildOfClass("Humanoid").MaxHealth = 300
  469.                     end
  470.                     local function unstun()
  471.                         wait(math.random(2,3))
  472.                         victimdude:findFirstChildOfClass("Humanoid").JumpPower = hisjp
  473.                         victimdude:findFirstChildOfClass("Humanoid").WalkSpeed = hisws
  474.                         for i,v in pairs(victimdude:GetChildren()) do
  475.                             if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  476.                                 v.Disabled = false
  477.                             end
  478.                         end
  479.                     end
  480.                     spawn(unstun)
  481.                 end
  482.                 for i = 0.1,1 , 0.08 do
  483.                     if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  484.                         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)
  485.                         leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  486.                         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)
  487.                         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)
  488.                         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)
  489.                         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)
  490.                         heartbeat:wait()
  491.                     end
  492.                 end
  493.                 for i,v in pairs(workspace:GetChildren()) do
  494.                     if v.ClassName == "Model" then
  495.                         local thathumanoid = v:findFirstChildOfClass("Humanoid")
  496.                         local thathead = v:findFirstChild("Head")
  497.                         if thathumanoid and thathead then
  498.                             if (thathead.Position - owner.Character["Left Leg"].Position).magnitude < 3 then
  499.                                 victimdude = v
  500.                                 spawn(kicksuccessful)
  501.                             end
  502.                         end
  503.                     end
  504.                 end
  505.                 for i = 0,0.5 , 0.08 do
  506.                     if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  507.                         rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i)
  508.                         leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  509.                         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)
  510.                         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)
  511.                         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)
  512.                         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)
  513.                         heartbeat:wait()
  514.                     end
  515.                 end
  516.                 humanoidofowner.WalkSpeed = 25
  517.                 humanoidofowner.JumpPower = 50
  518.                 cananimate = true
  519.                 cando = true
  520.             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
  521.                 cananimate = false
  522.                 cando = false
  523.                 if punchanim == 0 then
  524.                     punchanim = 1
  525.                     for i = 0,1 , 0.15 do
  526.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  527.                             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)
  528.                             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)
  529.                             leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  530.                             rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  531.                             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)
  532.                             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)
  533.                             heartbeat:wait()
  534.                         end
  535.                     end
  536.                     swoosh:Play()
  537.                     swoosh2:Play()
  538.                     local rarmc0 = rightarm.C0
  539.                     local larmc0 = leftarm.C0
  540.                     local llegc0 = leftleg.C0
  541.                     local rlegc0 = rightleg.C0
  542.                     local humrootc0 = humanoidrootpart.C0
  543.                     local headc0 = head.C0
  544.                     for i = 0,1 , 0.2 do
  545.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  546.                             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)
  547.                             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)
  548.                             leftleg.C0 = llegc0:lerp(CFrame.new(-0.5,-2,0),i)
  549.                             rightleg.C0 = rlegc0:lerp(CFrame.new(0.5,-2,0),i)
  550.                             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)
  551.                             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)
  552.                             heartbeat:wait()
  553.                         end
  554.                     end
  555.                     local function punchsuccessful()
  556.                         kickhit:Play()
  557.                         for i,v in pairs(victimdude:GetChildren()) do
  558.                             if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  559.                                 v.Disabled = true
  560.                             end
  561.                         end
  562.                         if victimdude:findFirstChildOfClass("Humanoid").MaxHealth > 300 then
  563.                             victimdude:findFirstChildOfClass("Humanoid").MaxHealth = 300
  564.                         end
  565.                         local function unstun()
  566.                             if victimdude:findFirstChild("Torso") then
  567.                                 victimdude.Torso.CFrame = CFrame.new(victimdude.Torso.Position, owner.Character.HumanoidRootPart.Position)
  568.                                 local owweld = Instance.new("Weld", victimdude.Torso)
  569.                                 owweld.Part0 = victimdude.Torso
  570.                                 owweld.Part1 = victimdude.Head
  571.                                 owweld.C0 = CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  572.                                 owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(0,-1,-0.3)
  573.                                 for i = 0,1 , 0.04 do
  574.                                     owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  575.                                     heartbeat:wait()
  576.                                 end
  577.                             elseif victimdude:findFirstChild("UpperTorso") then
  578.                                 victimdude.UpperTorso.CFrame = CFrame.new(victimdude.UpperTorso.Position, owner.Character.HumanoidRootPart.Position)
  579.                                 local owweld = Instance.new("Weld", victimdude.UpperTorso)
  580.                                 owweld.Part0 = victimdude.UpperTorso
  581.                                 owweld.Part1 = victimdude.Head
  582.                                 owweld.C0 = CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  583.                                 owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(0,-1,-0.3)
  584.                                 for i = 0,1 , 0.04 do
  585.                                     owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  586.                                     heartbeat:wait()
  587.                                 end
  588.                             end
  589.                             wait(0.5)
  590.                             for i,v in pairs(victimdude:GetChildren()) do
  591.                                 if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  592.                                     v.Disabled = false
  593.                                 end
  594.                             end
  595.                         end
  596.                         spawn(unstun)
  597.                         local velocitie = Instance.new("BodyVelocity", victimdude.Head)
  598.                         velocitie.MaxForce = Vector3.new(math.huge,0,math.huge)
  599.                         velocitie.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 0
  600.                         velocitie.Name = "woosh"
  601.                         game.Debris:AddItem(velocitie, 0.3)
  602.                         local hprandom = math.random(10,30)
  603.                         if victimdude:findFirstChildOfClass("Humanoid").Health <= hprandom then
  604.                             local dofinishornot = math.random(1,3)
  605.                             if dofinishornot == 1 then
  606.                                 finish(victimdude)
  607.                             else
  608.                                 victimdude:BreakJoints()
  609.                                 ragdollkill(victimdude)
  610.                             end
  611.                         else
  612.                             victimdude:findFirstChildOfClass("Humanoid").Health = victimdude:findFirstChildOfClass("Humanoid").Health - hprandom
  613.                         end
  614.                     end
  615.                     for i,v in pairs(workspace:GetChildren()) do
  616.                         if v.ClassName == "Model" then
  617.                             local thathumanoid = v:findFirstChildOfClass("Humanoid")
  618.                             local thathead = v:findFirstChild("Head")
  619.                             if thathumanoid and thathead and v ~= owner.Character then
  620.                                 if (thathead.Position - owner.Character["Right Arm"].Position).magnitude < 3 then
  621.                                     victimdude = v
  622.                                     spawn(punchsuccessful)
  623.                                 end
  624.                             end
  625.                         end
  626.                     end
  627.                     for i = 0.4,1 , 0.2 do
  628.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  629.                             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)
  630.                             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)
  631.                             leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  632.                             rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  633.                             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)
  634.                             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)
  635.                             heartbeat:wait()
  636.                         end
  637.                     end
  638.                 elseif punchanim == 1 then
  639.                     punchanim = 0
  640.                     for i = 0,1 , 0.15 do
  641.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  642.                             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)
  643.                             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)
  644.                             leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  645.                             rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  646.                             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)
  647.                             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)
  648.                             heartbeat:wait()
  649.                         end
  650.                     end
  651.                     swoosh:Play()
  652.                     swoosh2:Play()
  653.                     local rarmc0 = rightarm.C0
  654.                     local larmc0 = leftarm.C0
  655.                     local llegc0 = leftleg.C0
  656.                     local rlegc0 = rightleg.C0
  657.                     local humrootc0 = humanoidrootpart.C0
  658.                     local headc0 = head.C0
  659.                     for i = 0,1 , 0.2 do
  660.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  661.                             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)
  662.                             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)
  663.                             leftleg.C0 = llegc0:lerp(CFrame.new(-0.5,-2,0),i)
  664.                             rightleg.C0 = rlegc0:lerp(CFrame.new(0.5,-2,0),i)
  665.                             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)
  666.                             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)
  667.                             heartbeat:wait()
  668.                         end
  669.                     end
  670.                     local function punchsuccessful()
  671.                         kickhit:Play()
  672.                         for i,v in pairs(victimdude:GetChildren()) do
  673.                             if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  674.                                 v.Disabled = true
  675.                             end
  676.                         end
  677.                         if victimdude:findFirstChildOfClass("Humanoid").MaxHealth > 300 then
  678.                             victimdude:findFirstChildOfClass("Humanoid").MaxHealth = 300
  679.                         end
  680.                         local function unstun()
  681.                             if victimdude:findFirstChild("Torso") then
  682.                                 victimdude.Torso.CFrame = CFrame.new(victimdude.Torso.Position, owner.Character.HumanoidRootPart.Position)
  683.                                 local owweld = Instance.new("Weld", victimdude.Torso)
  684.                                 owweld.Part0 = victimdude.Torso
  685.                                 owweld.Part1 = victimdude.Head
  686.                                 owweld.C0 = CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  687.                                 owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(0,1,-0.3)
  688.                                 for i = 0,1 , 0.04 do
  689.                                     owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.Torso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  690.                                     heartbeat:wait()
  691.                                 end
  692.                             elseif victimdude:findFirstChild("UpperTorso") then
  693.                                 victimdude.UpperTorso.CFrame = CFrame.new(victimdude.UpperTorso.Position, owner.Character.HumanoidRootPart.Position)
  694.                                 local owweld = Instance.new("Weld", victimdude.UpperTorso)
  695.                                 owweld.Part0 = victimdude.UpperTorso
  696.                                 owweld.Part1 = victimdude.Head
  697.                                 owweld.C0 = CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0)
  698.                                 owweld.C0 = owweld.C0 * CFrame.fromEulerAnglesXYZ(0,1,-0.3)
  699.                                 for i = 0,1 , 0.04 do
  700.                                     owweld.C0 = owweld.C0:lerp(CFrame.new(0,(victimdude.UpperTorso.Size.y/2) + (victimdude.Head.Size.y/2),0),i)
  701.                                     heartbeat:wait()
  702.                                 end
  703.                             end
  704.                             wait(0.5)
  705.                             for i,v in pairs(victimdude:GetChildren()) do
  706.                                 if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  707.                                     v.Disabled = false
  708.                                 end
  709.                             end
  710.                         end
  711.                         spawn(unstun)
  712.                         local velocitie = Instance.new("BodyVelocity", victimdude.Head)
  713.                         velocitie.MaxForce = Vector3.new(math.huge,0,math.huge)
  714.                         velocitie.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 0
  715.                         velocitie.Name = "woosh"
  716.                         game.Debris:AddItem(velocitie, 0.3)
  717.                         local hprandom = math.random(10,30)
  718.                         if victimdude:findFirstChildOfClass("Humanoid").Health <= hprandom then
  719.                             local dofinishornot = math.random(1,2)
  720.                             if dofinishornot == 1 then
  721.                                 finish(victimdude)
  722.                             else
  723.                                 victimdude:BreakJoints()
  724.                                 ragdollkill(victimdude)
  725.                             end
  726.                         else
  727.                             victimdude:findFirstChildOfClass("Humanoid").Health = victimdude:findFirstChildOfClass("Humanoid").Health - hprandom
  728.                         end
  729.                     end
  730.                     for i,v in pairs(workspace:GetChildren()) do
  731.                         if v.ClassName == "Model" then
  732.                             local thathumanoid = v:findFirstChildOfClass("Humanoid")
  733.                             local thathead = v:findFirstChild("Head")
  734.                             if thathumanoid and thathead and v ~= owner.Character then
  735.                                 if (thathead.Position - owner.Character["Left Arm"].Position).magnitude < 3 then
  736.                                     victimdude = v
  737.                                     spawn(punchsuccessful)
  738.                                 end
  739.                             end
  740.                         end
  741.                     end
  742.                     for i = 0.4,1 , 0.2 do
  743.                         if not cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  744.                             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)
  745.                             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)
  746.                             leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  747.                             rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  748.                             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)
  749.                             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)
  750.                             heartbeat:wait()
  751.                         end
  752.                     end
  753.                 end
  754.                 cananimate = true
  755.                 cando = true
  756.             end
  757.         end
  758.     end
  759. end
  760. remote.OnServerEvent:connect(doaction)
  761. cannnnn = true
  762. function checkjump()
  763.     while wait() do
  764.         if rootpart.Velocity.y > 4 or rootpart.Velocity.y < -4 and cananimate then
  765.             jumping = true
  766.             if canplayjump and rootpart.Velocity.y > 4 then
  767.                 jumpsound:Play()
  768.             end
  769.             canplayjump = false
  770.             if waitforbounce <= 0 then
  771.                 local thing = Instance.new("Part", owner.Character.Head)
  772.                 thing.Size = Vector3.new(0.5,0.5,0.5)
  773.                 thing.Transparency = 1
  774.                 thing.CanCollide = false
  775.                 thing.Name = "goup"
  776.                 thing:BreakJoints()
  777.                 local weld = Instance.new("Weld", thing)
  778.                 weld.Part0 = owner.Character.Head
  779.                 weld.Part1 = thing
  780.                 weld.C0 = CFrame.new(0,0,-1.5)
  781.                 local function bounceup(wall)
  782.                     if cannnnn and wall.CanCollide then
  783.                         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
  784.                             cannnnn = false
  785.                             cananimate = false
  786.                             owner.Character.HumanoidRootPart.Anchored = true
  787.                             local gotin = false
  788.                             waitforbounce = 1
  789.                             thing:destroy()
  790.                             swoosh:Play()
  791.                             local detector = Instance.new("Part", wall)
  792.                             detector.Anchored = true
  793.                             detector.CanCollide = false
  794.                             detector.Transparency = 0
  795.                             detector.Name = "detector"
  796.                             detector.Size = Vector3.new(1,1,1)
  797.                             detector.CFrame = owner.Character.HumanoidRootPart.CFrame
  798.                             detector.CFrame = CFrame.new(detector.CFrame.x,wall.CFrame.y,detector.CFrame.z) * CFrame.new(0,-wall.Size.y/2,0)
  799.                             detector.CFrame = detector.CFrame * (owner.Character.HumanoidRootPart.CFrame - owner.Character.HumanoidRootPart.Position)
  800.                             detector.CFrame = detector.CFrame * CFrame.new(0,-2.5,-2)
  801.                             local detectframe = detector.CFrame
  802.                             detector:Destroy()
  803.                             local velocity = Instance.new("BodyVelocity", owner.Character.HumanoidRootPart)
  804.                             velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  805.                             velocity.Velocity = Vector3.new(0,0,0)
  806.                             velocity.Name = "goingup"
  807.                             for i = 0,0.7 , 0.06 do
  808.                                 if not cananimate then
  809.                                     owner.Character.HumanoidRootPart.CFrame = owner.Character.HumanoidRootPart.CFrame:lerp(detectframe,i)
  810.                                     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)
  811.                                     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)
  812.                                     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)
  813.                                     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)
  814.                                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.49999994, -0.866025329, 0, 0.866025329, 0.49999994),i)
  815.                                     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)
  816.                                     heartbeat:wait()
  817.                                 end
  818.                             end
  819.                             owner.Character.HumanoidRootPart.Anchored = false
  820.                             velocity.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 30 + Vector3.new(0,20,0)
  821.                             local yeea = true
  822.                             local function smaller()
  823.                                 wait(0.4)
  824.                                 yeea = false
  825.                                 velocity:destroy()
  826.                             end
  827.                             spawn(smaller)
  828.                             local function smallerevenmore()
  829.                                 while yeea do
  830.                                     velocity.Velocity = velocity.Velocity - Vector3.new(0,1,0)
  831.                                     heartbeat:wait()
  832.                                 end
  833.                             end
  834.                             spawn(smallerevenmore)
  835.                             cannnnn = true
  836.                             for i = 1,20 do
  837.                                 if cannnnn then
  838.                                     heartbeat:wait()
  839.                                     humanoidrootpart.C0 = humanoidrootpart.C0 * CFrame.fromEulerAnglesXYZ(-0.04,0,0)
  840.                                 end
  841.                             end
  842.                             cananimate = true
  843.                         else
  844.                             cannnnn = false
  845.                             cananimate = false
  846.                             local climbingg = Instance.new("BoolValue", owner.Character.HumanoidRootPart)
  847.                             climbingg.Name = "climbing"
  848.                             local gotin = false
  849.                             waitforbounce = 4
  850.                             thing:destroy()
  851.                             swoosh:Play()
  852.                             local detector = Instance.new("Part", wall)
  853.                             detector.Anchored = true
  854.                             detector.CanCollide = false
  855.                             detector.Transparency = 1
  856.                             detector.Name = "detector"
  857.                             detector.Size = Vector3.new(1,1,1)
  858.                             detector.CFrame = owner.Character.HumanoidRootPart.CFrame
  859.                             detector.CFrame = CFrame.new(detector.CFrame.x,wall.CFrame.y,detector.CFrame.z) * CFrame.new(0,wall.Size.y/2,0)
  860.                             detector.CFrame = detector.CFrame * (owner.Character.HumanoidRootPart.CFrame - owner.Character.HumanoidRootPart.Position)
  861.                             detector.CFrame = detector.CFrame * CFrame.new(0,0,-2)
  862.                             for i,v in pairs(owner.Character.HumanoidRootPart:GetChildren()) do
  863.                                 if v.ClassName == "BodyVelocity" then
  864.                                     v:destroy()
  865.                                 end
  866.                             end
  867.                             local velocity = Instance.new("BodyVelocity", owner.Character.HumanoidRootPart)
  868.                             velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  869.                             velocity.Velocity = Vector3.new(0,20,0)
  870.                             velocity.Name = "goingup"
  871.                             local function smaller()
  872.                                 while wait() do
  873.                                     velocity.Velocity = velocity.Velocity - Vector3.new(0,1.2,0)
  874.                                     if velocity.Velocity.y < -20 then
  875.                                         velocity:destroy()
  876.                                         if not gotin then
  877.                                             cananimate = true
  878.                                             cannnnn = true
  879.                                             climbingg:destroy()
  880.                                             for i,v in pairs(wall:GetChildren()) do
  881.                                                 if v.Name == "detector" then
  882.                                                     v:destroy()
  883.                                                 end
  884.                                             end--]]
  885.                                             for i,v in pairs(owner.Character.HumanoidRootPart:GetChildren()) do
  886.                                                 if v.ClassName == "BodyVelocity" then
  887.                                                     v:destroy()
  888.                                                 end
  889.                                             end
  890.                                         end
  891.                                         break
  892.                                     end
  893.                                     if (owner.Character.Head.Position - detector.Position).magnitude < 2.5 and not owner.Character.HumanoidRootPart.Anchored then
  894.                                         gotin = true
  895.                                         jumping = false
  896.                                         owner.Character.HumanoidRootPart.Anchored = true
  897.                                         local detectframe = detector.CFrame
  898.                                         for i,v in pairs(wall:GetChildren()) do
  899.                                             if v.Name == "detector" then
  900.                                                 v:destroy()
  901.                                             end
  902.                                         end--]]
  903.                                         for i,v in pairs(owner.Character.HumanoidRootPart:GetChildren()) do
  904.                                             if v.ClassName == "BodyVelocity" then
  905.                                                 v:destroy()
  906.                                             end
  907.                                         end
  908.                                         local look = owner.Character.HumanoidRootPart.CFrame
  909.                                         for i = 0,0.6 , 0.04 do
  910.                                             if not cananimate then
  911.                                                 owner.Character.HumanoidRootPart.CFrame = owner.Character.HumanoidRootPart.CFrame:lerp(detectframe,i)
  912.                                                 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)
  913.                                                 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)
  914.                                                 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)
  915.                                                 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)
  916.                                                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999851, 0, -0.499999851, 0.866025448),i)
  917.                                                 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)
  918.                                                 heartbeat:wait()
  919.                                             end
  920.                                         end
  921.                                         local look = owner.Character.HumanoidRootPart.CFrame
  922.                                         owner.Character.HumanoidRootPart.Anchored = false
  923.                                         for i = 0,0.6 , 0.04 do
  924.                                             if not cananimate then
  925.                                                 owner.Character.HumanoidRootPart.CFrame = owner.Character.HumanoidRootPart.CFrame:lerp(look * CFrame.new(0,3.5,-2),i)
  926.                                                 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)
  927.                                                 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)
  928.                                                 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)
  929.                                                 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)
  930.                                                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025209, -0.500000119, 0, 0.500000119, 0.866025209),i)
  931.                                                 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)
  932.                                                 heartbeat:wait()
  933.                                             end
  934.                                         end
  935.                                         climbingg:destroy()
  936.                                         cannnnn = true
  937.                                         cananimate = true
  938.                                     end
  939.                                 end
  940.                             end
  941.                             spawn(smaller)
  942.                             for i = 0,0.4 , 0.025 do
  943.                                 if not cananimate and not gotin then
  944.                                     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)
  945.                                     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)
  946.                                     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)
  947.                                     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)
  948.                                     humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  949.                                     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)
  950.                                     heartbeat:wait()
  951.                                 end
  952.                             end
  953.                         end
  954.                     end
  955.                 end
  956.                 thing.Touched:connect(bounceup)
  957.             end
  958.         else
  959.             if owner.Character.Head:findFirstChild("goup") then
  960.                 owner.Character.Head:findFirstChild("goup"):destroy()
  961.             end
  962.             canplayjump = true
  963.             jumping = false
  964.         end
  965.     end
  966. end
  967. spawn(checkjump)
  968. function finish(character)
  969.     if not character:findFirstChild("UpperTorso") and character:findFirstChildOfClass("Humanoid").Health > 0 then
  970.         local whatfinisher = math.random(1,2)
  971.         cananimate = false
  972.         cando = false
  973.         humanoidofowner.WalkSpeed = 0
  974.         humanoidofowner.JumpPower = 0
  975.         for i,v in pairs(character:GetChildren()) do
  976.             if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  977.                 v.Disabled = true
  978.             end
  979.         end
  980.         if whatfinisher == 1 and character:findFirstChild("Left Arm") and character:findFirstChild("Left Leg") and character:findFirstChild("Right Leg") then
  981.             if not character:findFirstChild("HumanoidRootPart") then
  982.                 local fakeroot = Instance.new("Part", character)
  983.                 fakeroot.Size = Vector3.new(2,2,1)
  984.                 fakeroot.Name = "HumanoidRootPart"
  985.                 fakeroot.Transparency = 1
  986.                 fakeroot.CFrame = character.Torso.CFrame
  987.                 fakeroot:BreakJoints()
  988.             end
  989.             local rightarmm = Instance.new("Weld", character.Torso)
  990.             rightarmm.Part0 = character.Torso
  991.             rightarmm.Part1 = character["Right Arm"]
  992.             rightarmm.C0 = CFrame.new(1.5,0,0)
  993.             rightarmm.Name = "RightArmWeld"
  994.             local rightlegg = Instance.new("Weld", character.Torso)
  995.             rightlegg.Part0 = character.Torso
  996.             rightlegg.Part1 = character["Right Leg"]
  997.             rightlegg.C0 = CFrame.new(0.5,-2,0)
  998.             rightlegg.Name = "RightLegWeld"
  999.             local leftlegg = Instance.new("Weld", character.Torso)
  1000.             leftlegg.Part0 = character.Torso
  1001.             leftlegg.Part1 = character["Left Leg"]
  1002.             leftlegg.C0 = CFrame.new(-0.5,-2,0)
  1003.             leftlegg.Name = "LeftLegWeld"
  1004.             local headd = Instance.new("Weld", character.Torso)
  1005.             headd.Part0 = character.Torso
  1006.             headd.Part1 = character.Head
  1007.             headd.C0 = CFrame.new(0,1.5,0)
  1008.             headd.Name = "HeadWeld"
  1009.             local humanoidrootpartt = Instance.new("Weld", character.HumanoidRootPart)
  1010.             humanoidrootpartt.Part0 = character.HumanoidRootPart
  1011.             humanoidrootpartt.Part1 = character.Torso
  1012.             humanoidrootpartt.Name = "HumanoidRootPartWeld"
  1013.             character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  1014.             character:findFirstChildOfClass("Humanoid").JumpPower = 0
  1015.             for i = 0,1 , 0.08 do
  1016.                 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)
  1017.                 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)
  1018.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  1019.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  1020.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  1021.                 head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i)
  1022.                 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)
  1023.                 cananimate = false
  1024.                 cando = false
  1025.                 heartbeat:wait()
  1026.             end
  1027.             swoosh:Play()
  1028.             for i = 0,1 , 0.08 do
  1029.                 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)
  1030.                 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)
  1031.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  1032.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  1033.                 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)
  1034.                 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)
  1035.                 --
  1036.                 cananimate = false
  1037.                 cando = false
  1038.                 rightarmm.C0 = rightarmm.C0:lerp(CFrame.new(1.5,0,0),i)
  1039.                 humanoidrootpartt.C0 = humanoidrootpartt.C0:lerp(CFrame.new(0,0.5,0),i)
  1040.                 heartbeat:wait()
  1041.             end
  1042.             for i = 0,1 , 0.04 do
  1043.                 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)
  1044.                 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)
  1045.                 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)
  1046.                 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)
  1047.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.642787635, -0.766044438, 0, 0.766044438, 0.642787635),i)
  1048.                 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)
  1049.                 --
  1050.                 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)
  1051.                 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)
  1052.                 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)
  1053.                 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)
  1054.                 heartbeat:wait()
  1055.             end
  1056.             kickhit:Play()
  1057.             for i = 0,0.8 , 0.06 do
  1058.                 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)
  1059.                 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)
  1060.                 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)
  1061.                 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)
  1062.                 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)
  1063.                 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)
  1064.                 --
  1065.                 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)
  1066.                 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)
  1067.                 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)
  1068.                 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)
  1069.                 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)
  1070.                 heartbeat:wait()
  1071.             end
  1072.             if character:findFirstChild("Torso") then
  1073.                 for i,v in pairs(character.Torso:GetChildren()) do
  1074.                     if v.ClassName == "Weld" or v.ClassName == "Motor6D" then
  1075.                         v:destroy()
  1076.                     end
  1077.                 end
  1078.             end
  1079.             local vel = Instance.new("BodyVelocity", character:findFirstChild("Torso"))
  1080.             vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1081.             vel.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * 10
  1082.             local function spawned()
  1083.                 ragdollkill(character)
  1084.             end
  1085.             spawn(spawned)
  1086.         elseif whatfinisher == 2 and character:findFirstChild("Left Arm") and character:findFirstChild("Left Leg") and character:findFirstChild("Right Leg") then
  1087.             if not character:findFirstChild("HumanoidRootPart") then
  1088.                 local fakeroot = Instance.new("Part", character)
  1089.                 fakeroot.Size = Vector3.new(2,2,1)
  1090.                 fakeroot.Name = "HumanoidRootPart"
  1091.                 fakeroot.Transparency = 1
  1092.                 fakeroot.CFrame = character.Torso.CFrame
  1093.                 fakeroot:BreakJoints()
  1094.             end
  1095.             local rightarmm = Instance.new("Weld", character.Torso)
  1096.             rightarmm.Part0 = character.Torso
  1097.             rightarmm.Part1 = character["Right Arm"]
  1098.             rightarmm.C0 = CFrame.new(1.5,0,0)
  1099.             rightarmm.Name = "RightArmWeld"
  1100.             local rightlegg = Instance.new("Weld", character.Torso)
  1101.             rightlegg.Part0 = character.Torso
  1102.             rightlegg.Part1 = character["Right Leg"]
  1103.             rightlegg.C0 = CFrame.new(0.5,-2,0)
  1104.             rightlegg.Name = "RightLegWeld"
  1105.             local leftlegg = Instance.new("Weld", character.Torso)
  1106.             leftlegg.Part0 = character.Torso
  1107.             leftlegg.Part1 = character["Left Leg"]
  1108.             leftlegg.C0 = CFrame.new(-0.5,-2,0)
  1109.             leftlegg.Name = "LeftLegWeld"
  1110.             local headd = Instance.new("Weld", character.Torso)
  1111.             headd.Part0 = character.Torso
  1112.             headd.Part1 = character.Head
  1113.             headd.C0 = CFrame.new(0,1.5,0)
  1114.             headd.Name = "HeadWeld"
  1115.             local leftarmm = Instance.new("Weld", character.Torso)
  1116.             leftarmm.Part0 = character.Torso
  1117.             leftarmm.Part1 = character["Left Arm"]
  1118.             leftarmm.C0 = CFrame.new(-1.5,0,0)
  1119.             leftarmm.Name = "LeftArmWeld"
  1120.             local humanoidrootpartt = Instance.new("Weld", character.HumanoidRootPart)
  1121.             humanoidrootpartt.Part0 = character.HumanoidRootPart
  1122.             humanoidrootpartt.Part1 = character.Torso
  1123.             humanoidrootpartt.Name = "HumanoidRootPartWeld"
  1124.             character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
  1125.             character:findFirstChildOfClass("Humanoid").JumpPower = 0
  1126.             for i = 0,1 , 0.08 do
  1127.                 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)
  1128.                 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)
  1129.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  1130.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  1131.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  1132.                 head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i)
  1133.                 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)
  1134.                 cananimate = false
  1135.                 cando = false
  1136.                 heartbeat:wait()
  1137.             end
  1138.             swoosh:Play()
  1139.             for i = 0,1 , 0.08 do
  1140.                 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)
  1141.                 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)
  1142.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  1143.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  1144.                 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)
  1145.                 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)
  1146.                 --
  1147.                 cananimate = false
  1148.                 cando = false
  1149.                 rightarmm.C0 = rightarmm.C0:lerp(CFrame.new(1.5,0,0),i)
  1150.                 humanoidrootpartt.C0 = humanoidrootpartt.C0:lerp(CFrame.new(0,0.5,0),i)
  1151.                 heartbeat:wait()
  1152.             end
  1153.             --zium
  1154.             for i = 0,0.8 , 0.06 do
  1155.                 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)
  1156.                 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)
  1157.                 leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5,-2,0),i)
  1158.                 rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5,-2,0),i)
  1159.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  1160.                 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)
  1161.                 --
  1162.                 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)
  1163.                 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)
  1164.                 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)
  1165.                 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)
  1166.                 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)
  1167.                 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)
  1168.                 heartbeat:wait()
  1169.             end
  1170.             character.HumanoidRootPart.CFrame = character.HumanoidRootPart.CFrame * CFrame.fromEulerAnglesXYZ(0,0,1)
  1171.             if character:findFirstChild("Torso") then
  1172.                 for i,v in pairs(character.Torso:GetChildren()) do
  1173.                     if v.ClassName == "Weld" or v.ClassName == "Motor6D" then
  1174.                         v:destroy()
  1175.                     end
  1176.                 end
  1177.             end
  1178.             local function spawned()
  1179.                 ragdollkill(character)
  1180.             end
  1181.             spawn(spawned)
  1182.         end
  1183.         cananimate = true
  1184.         cando = true
  1185.         humanoidofowner.WalkSpeed = 25
  1186.         humanoidofowner.JumpPower = 50
  1187.     else
  1188.         ragdollkill(character)
  1189.     end
  1190. end
  1191. function ragdollkill(character)
  1192.     local victimshumanoid = character:findFirstChildOfClass("Humanoid")
  1193.     if not character:findFirstChild("UpperTorso") then
  1194.         character.Archivable = true
  1195.         for i,v in pairs(character:GetChildren()) do
  1196.             if v.ClassName == "Sound" then
  1197.                 v:remove()
  1198.             end
  1199.             for q,w in pairs(v:GetChildren()) do
  1200.                 if w.ClassName == "Sound" then
  1201.                     w:remove()
  1202.                 end
  1203.             end
  1204.         end
  1205.         local ragdoll = character:Clone()
  1206.         ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  1207.         if ragdoll:findFirstChild("Health") then
  1208.             if ragdoll:findFirstChild("Health").ClassName == "Script" then
  1209.                 ragdoll:findFirstChild("Health").Disabled = true
  1210.             end
  1211.         end
  1212.         for i,v in pairs(character:GetChildren()) do
  1213.             if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" then
  1214.                 v:destroy()
  1215.             end
  1216.         end
  1217.         for i,v in pairs(character:GetChildren()) do
  1218.             if v.ClassName == "Accessory" then
  1219.                 local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1220.                 if attachment1 then
  1221.                     for q,w in pairs(character:GetChildren()) do
  1222.                         if w.ClassName == "Part" then
  1223.                             local attachment2 = w:findFirstChild(attachment1.Name)
  1224.                             if attachment2 then
  1225.                                 local hinge = Instance.new("HingeConstraint", v.Handle)
  1226.                                 hinge.Attachment0 = attachment1
  1227.                                 hinge.Attachment1 = attachment2
  1228.                                 hinge.LimitsEnabled = true
  1229.                                 hinge.LowerAngle = 0
  1230.                                 hinge.UpperAngle = 0
  1231.                             end
  1232.                         end
  1233.                     end
  1234.                 end
  1235.             end
  1236.         end
  1237.         ragdoll.Parent = workspace
  1238.         if ragdoll:findFirstChild("Right Arm") then
  1239.             local glue = Instance.new("Glue", ragdoll.Torso)
  1240.             glue.Part0 = ragdoll.Torso
  1241.             glue.Part1 = ragdoll:findFirstChild("Right Arm")
  1242.             glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1243.             glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1244.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Arm"))
  1245.             limbcollider.Size = Vector3.new(1.4,1,1)
  1246.             limbcollider.Shape = "Cylinder"
  1247.             limbcollider.Transparency = 1
  1248.             limbcollider.Name = "LimbCollider"
  1249.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1250.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Right Arm")
  1251.             limbcolliderweld.Part1 = limbcollider
  1252.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1253.         end
  1254.         if ragdoll:findFirstChild("Left Arm") then
  1255.             local glue = Instance.new("Glue", ragdoll.Torso)
  1256.             glue.Part0 = ragdoll.Torso
  1257.             glue.Part1 = ragdoll:findFirstChild("Left Arm")
  1258.             glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1259.             glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1260.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Arm"))
  1261.             limbcollider.Size = Vector3.new(1.4,1,1)
  1262.             limbcollider.Shape = "Cylinder"
  1263.             limbcollider.Name = "LimbCollider"
  1264.             limbcollider.Transparency = 1
  1265.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1266.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Arm")
  1267.             limbcolliderweld.Part1 = limbcollider
  1268.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1269.         end
  1270.         if ragdoll:findFirstChild("Left Leg") then
  1271.             local glue = Instance.new("Glue", ragdoll.Torso)
  1272.             glue.Part0 = ragdoll.Torso
  1273.             glue.Part1 = ragdoll:findFirstChild("Left Leg")
  1274.             glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1275.             glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1276.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Left Leg"))
  1277.             limbcollider.Size = Vector3.new(1.4,1,1)
  1278.             limbcollider.Shape = "Cylinder"
  1279.             limbcollider.Name = "LimbCollider"
  1280.             limbcollider.Transparency = 1
  1281.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1282.             limbcolliderweld.Part0 = ragdoll:findFirstChild("Left Leg")
  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("Right Leg") then
  1287.             local glue = Instance.new("Glue", ragdoll.Torso)
  1288.             glue.Part0 = ragdoll.Torso
  1289.             glue.Part1 = ragdoll:findFirstChild("Right Leg")
  1290.             glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1291.             glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1292.             local limbcollider = Instance.new("Part", ragdoll:findFirstChild("Right Leg"))
  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("Right Leg")
  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("Head") and ragdoll.Torso:findFirstChild("NeckAttachment") then
  1303.             local HeadAttachment = Instance.new("Attachment", ragdoll["Head"])
  1304.             HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  1305.             local connection = Instance.new('HingeConstraint', ragdoll["Head"])
  1306.             connection.LimitsEnabled = true
  1307.             connection.Attachment0 = ragdoll.Torso.NeckAttachment
  1308.             connection.Attachment1 = HeadAttachment
  1309.             connection.UpperAngle = 60
  1310.             connection.LowerAngle = -60
  1311.         elseif ragdoll:findFirstChild("Head") and not ragdoll.Torso:findFirstChild("NeckAttachment") then
  1312.             local hedweld = Instance.new("Weld", ragdoll.Torso)
  1313.             hedweld.Part0 = ragdoll.Torso
  1314.             hedweld.Part1 = ragdoll.Head
  1315.             hedweld.C0 = CFrame.new(0,1.5,0)
  1316.         end
  1317.         game.Debris:AddItem(ragdoll, 30)
  1318.         local function doremove()
  1319.             wait(0.3)
  1320.             for q,w in pairs(ragdoll:GetChildren()) do
  1321.                 if w.ClassName == "BodyVelocity" then
  1322.                     w:destroy()
  1323.                 end
  1324.                 for e,r in pairs(w:GetChildren()) do
  1325.                     if r.ClassName == "BodyVelocity" then
  1326.                         r:destroy()
  1327.                     end
  1328.                 end
  1329.             end
  1330.         end
  1331.         spawn(doremove)
  1332.         wait(1)
  1333.         if ragdoll:findFirstChildOfClass("Humanoid") then
  1334.             ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  1335.         end
  1336.         if ragdoll:findFirstChild("HumanoidRootPart") then
  1337.             ragdoll:findFirstChild("HumanoidRootPart"):destroy()
  1338.         end
  1339.     elseif character:findFirstChild("UpperTorso") then
  1340.         character.Archivable = true
  1341.         for i,v in pairs(character:GetChildren()) do
  1342.             if v.ClassName == "Sound" then
  1343.                 v:remove()
  1344.             end
  1345.             for q,w in pairs(v:GetChildren()) do
  1346.                 if w.ClassName == "Sound" then
  1347.                     w:remove()
  1348.                 end
  1349.             end
  1350.         end
  1351.         local ragdoll = character:Clone()
  1352.         ragdoll:findFirstChildOfClass("Humanoid").Health = 0
  1353.         if ragdoll:findFirstChild("Health") then
  1354.             if ragdoll:findFirstChild("Health").ClassName == "Script" then
  1355.                 ragdoll:findFirstChild("Health").Disabled = true
  1356.             end
  1357.         end
  1358.         for i,v in pairs(character:GetChildren()) do
  1359.             if v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "MeshPart" then
  1360.                 v:destroy()
  1361.             end
  1362.         end
  1363.         for i,v in pairs(character:GetChildren()) do
  1364.             if v.ClassName == "Accessory" then
  1365.                 local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1366.                 if attachment1 then
  1367.                     for q,w in pairs(character:GetChildren()) do
  1368.                         if w.ClassName == "Part" or w.ClassName == "MeshPart" then
  1369.                             local attachment2 = w:findFirstChild(attachment1.Name)
  1370.                             if attachment2 then
  1371.                                 local hinge = Instance.new("HingeConstraint", v.Handle)
  1372.                                 hinge.Attachment0 = attachment1
  1373.                                 hinge.Attachment1 = attachment2
  1374.                                 hinge.LimitsEnabled = true
  1375.                                 hinge.LowerAngle = 0
  1376.                                 hinge.UpperAngle = 0
  1377.                             end
  1378.                         end
  1379.                     end
  1380.                 end
  1381.             end
  1382.         end
  1383.         ragdoll.Parent = workspace
  1384.         local Humanoid = ragdoll:findFirstChildOfClass("Humanoid")
  1385.         Humanoid.PlatformStand = true
  1386.         local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  1387.             local connection = Instance.new('BallSocketConstraint', limb)
  1388.             connection.LimitsEnabled = true
  1389.             connection.Attachment0 = attachementone
  1390.             connection.Attachment1 = attachmenttwo
  1391.             connection.TwistLimitsEnabled = true
  1392.             connection.TwistLowerAngle = twistlower
  1393.             connection.TwistUpperAngle = twistupper
  1394.             local limbcollider = Instance.new("Part", limb)
  1395.             limbcollider.Size = Vector3.new(0.1,1,1)
  1396.             limbcollider.Shape = "Cylinder"
  1397.             limbcollider.Transparency = 1
  1398.             limbcollider:BreakJoints()
  1399.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1400.             limbcolliderweld.Part0 = limb
  1401.             limbcolliderweld.Part1 = limbcollider
  1402.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1403.         end
  1404.         local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  1405.             local connection = Instance.new('HingeConstraint', limb)
  1406.             connection.LimitsEnabled = true
  1407.             connection.Attachment0 = attachementone
  1408.             connection.Attachment1 = attachmenttwo
  1409.             connection.LimitsEnabled = true
  1410.             connection.LowerAngle = lower
  1411.             connection.UpperAngle = upper
  1412.             local limbcollider = Instance.new("Part", limb)
  1413.             limbcollider.Size = Vector3.new(0.1,1,1)
  1414.             limbcollider.Shape = "Cylinder"
  1415.             limbcollider.Transparency = 1
  1416.             limbcollider:BreakJoints()
  1417.             local limbcolliderweld = Instance.new("Weld", limbcollider)
  1418.             limbcolliderweld.Part0 = limb
  1419.             limbcolliderweld.Part1 = limbcollider
  1420.             limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1421.         end
  1422.         local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  1423.         HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  1424.         makehingeconnections(Humanoid.Parent.Head, HeadAttachment, ragdoll.UpperTorso.NeckAttachment, -50, 50)
  1425.         makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  1426.         makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -200, 200, 180)
  1427.         makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  1428.         makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  1429.         --
  1430.         makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -200, 200, 180)
  1431.         makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  1432.         makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  1433.         --
  1434.         makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -80, 80, 80)
  1435.         makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  1436.         makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  1437.         --
  1438.         makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -80, 80, 80)
  1439.         makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  1440.         makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  1441.         for i,v in pairs(Humanoid.Parent:GetChildren()) do
  1442.             if v.ClassName == "Accessory" then
  1443.                 local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1444.                 if attachment1 then
  1445.                     for q,w in pairs(Humanoid.Parent:GetChildren()) do
  1446.                         if w.ClassName == "Part" then
  1447.                             local attachment2 = w:findFirstChild(attachment1.Name)
  1448.                             if attachment2 then
  1449.                                 local hinge = Instance.new("HingeConstraint", v.Handle)
  1450.                                 hinge.Attachment0 = attachment1
  1451.                                 hinge.Attachment1 = attachment2
  1452.                                 hinge.LimitsEnabled = true
  1453.                                 hinge.LowerAngle = 0
  1454.                                 hinge.UpperAngle = 0
  1455.                             end
  1456.                         end
  1457.                     end
  1458.                 end
  1459.             end
  1460.         end
  1461.         for i,v in pairs(ragdoll:GetChildren()) do
  1462.             for q,w in pairs(v:GetChildren()) do
  1463.                 if w.ClassName == "Motor6D"--[[ and w.Name ~= "Neck"--]] then
  1464.                     w:destroy()
  1465.                 end
  1466.             end
  1467.         end
  1468.         if ragdoll:findFirstChild("HumanoidRootPart") then
  1469.             ragdoll.HumanoidRootPart.Anchored = true
  1470.             ragdoll.HumanoidRootPart.CanCollide = false
  1471.         end
  1472.         if ragdoll:findFirstChildOfClass("Humanoid") then
  1473.             ragdoll:findFirstChildOfClass("Humanoid").PlatformStand = true
  1474.         end
  1475.         local function doremove()
  1476.             wait(0.3)
  1477.             if ragdoll:findFirstChild("HumanoidRootPart") then
  1478.                 ragdoll.HumanoidRootPart.Anchored = true
  1479.                 ragdoll.HumanoidRootPart.CanCollide = false
  1480.             end
  1481.             for q,w in pairs(ragdoll:GetChildren()) do
  1482.                 if w.ClassName == "BodyVelocity" then
  1483.                     w:destroy()
  1484.                 end
  1485.                 for e,r in pairs(w:GetChildren()) do
  1486.                     if r.ClassName == "BodyVelocity" then
  1487.                         r:destroy()
  1488.                     end
  1489.                 end
  1490.             end
  1491.         end
  1492.         spawn(doremove)
  1493.         game.Debris:AddItem(ragdoll, 30)
  1494.     end
  1495. end
  1496. while game:GetService("RunService").Heartbeat:wait() do
  1497.     if cananimate then
  1498.         if waitforbounce > 0 then
  1499.             waitforbounce = waitforbounce - 1
  1500.         end
  1501.     end
  1502.     if jumping then
  1503.         for i = 0,0.6 , 0.09 do
  1504.             if jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1505.                 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)
  1506.                 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)
  1507.                 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)
  1508.                 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)
  1509.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 2.98025861e-06, 0, -2.98025907e-06, 1),i)
  1510.                 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)
  1511.                 game:GetService("RunService").Heartbeat:wait()
  1512.             end
  1513.         end
  1514.     end
  1515.     if running and not jumping and cananimate then
  1516.         local rarmc0 = rightarm.C0
  1517.         local larmc0 = leftarm.C0
  1518.         local llegc0 = leftleg.C0
  1519.         local rlegc0 = rightleg.C0
  1520.         local humrootc0 = humanoidrootpart.C0
  1521.         local headc0 = head.C0
  1522.         for i = 0,1 , 0.16 do
  1523.             if running and not jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1524.                 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)
  1525.                 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)
  1526.                 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)
  1527.                 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)
  1528.                 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)
  1529.                 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)
  1530.                 game:GetService("RunService").Heartbeat:wait()
  1531.             end
  1532.         end
  1533.         local rarmc0 = rightarm.C0
  1534.         local larmc0 = leftarm.C0
  1535.         local llegc0 = leftleg.C0
  1536.         local rlegc0 = rightleg.C0
  1537.         local humrootc0 = humanoidrootpart.C0
  1538.         local headc0 = head.C0
  1539.         for i = 0,1 , 0.16 do
  1540.             if running and not jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1541.                 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)
  1542.                 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)
  1543.                 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)
  1544.                 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)
  1545.                 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)
  1546.                 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)
  1547.                 game:GetService("RunService").Heartbeat:wait()
  1548.             end
  1549.         end
  1550.         footstep:Play()
  1551.         local rarmc0 = rightarm.C0
  1552.         local larmc0 = leftarm.C0
  1553.         local llegc0 = leftleg.C0
  1554.         local rlegc0 = rightleg.C0
  1555.         local humrootc0 = humanoidrootpart.C0
  1556.         local headc0 = head.C0
  1557.         for i = 0,1 , 0.16 do
  1558.             if running and not jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1559.                 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)
  1560.                 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)
  1561.                 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)
  1562.                 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)
  1563.                 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)
  1564.                 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)
  1565.                 game:GetService("RunService").Heartbeat:wait()
  1566.             end
  1567.         end
  1568.         local rarmc0 = rightarm.C0
  1569.         local larmc0 = leftarm.C0
  1570.         local llegc0 = leftleg.C0
  1571.         local rlegc0 = rightleg.C0
  1572.         local humrootc0 = humanoidrootpart.C0
  1573.         local headc0 = head.C0
  1574.         for i = 0,1 , 0.16 do
  1575.             if running and not jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1576.                 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)
  1577.                 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)
  1578.                 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)
  1579.                 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)
  1580.                 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)
  1581.                 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)
  1582.                 game:GetService("RunService").Heartbeat:wait()
  1583.             end
  1584.         end
  1585.         footstep:Play()
  1586.     else
  1587.         for i = 0,0.6 , 0.08 do
  1588.             if not running and not jumping and cananimate and not owner.Character.HumanoidRootPart:findFirstChild("ow") then
  1589.                 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)
  1590.                 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)
  1591.                 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)
  1592.                 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)
  1593.                 humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.98480773, 0, -0.173648283, 0, 1, 0, 0.173648283, 0, 0.98480773),i)
  1594.                 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)
  1595.                 game:GetService("RunService").Heartbeat:wait()
  1596.             end
  1597.         end
  1598.     end
  1599. end
RAW Paste Data Copied