Advertisement
Rufus14

Parkour Script

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