repeat wait() until game.Players.LocalPlayer
m = game.Players.LocalPlayer:GetMouse()
m.KeyDown:connect(function(key)
if key == "0" then
print("Running")
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 12
end
end)
m.KeyUp:connect(function(key)
if key == "0" then
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 5
end
end)
Ok so ya know how in real life you can only run for a certain amount of time before you have to stop and take a breath? That's kind of what I want to happen here. I want the Player to be able to run for 10 seconds before having to stop. Then after the Player is done running and he or she waits for 4 seconds then the player can only run for 4 seconds. You get what I'm saying?

2 comments
Edit your question to correct the code formatting. Make your explanation decently professional, this isn't a back-alley deal -- being clear, and more importantly, acting like you care, is a great way to get people to want to help.
I will talk how i like and i will let u talk how you want to... not everyone understands formal writing