local plr = game.Players.LocalPlayer local chara = game.Players.LocalPlayer.Character local hum = game.Players.LocalPlayer.Character.Humanoid local humroot = game.Players.LocalPlayer.Character.HumanoidRootPart local maxspeed = 20 local goback = 0 local oldspeed = hum.WalkSpeed + 5 local oldjump = hum.JumpPower + 5 hum.Running:Connect(function(speed) if speed > 0 and hum.WalkSpeed > maxspeed or hum.JumpPower > oldjump then goback = humroot.CFrame wait(2) if speed > 0 and hum.WalkSpeed > maxspeed or hum.JumpPower > oldjump then for i = 1, 100 do wait(0.01) humroot.CFrame = goback hum.JumpPower = oldjump - 5 hum.WalkSpeed = oldspeed - 5 end hum.JumpPower = oldjump - 5 hum.WalkSpeed = oldspeed - 5 wait(2) if hum.WalkSpeed > maxspeed and speed > 0 or hum.JumpPower > oldjump then hum.Health = 0 end end end end)