I make guns on roblox whenever I feel like it. I decided to try to add something to them. A walking animation. I checked Venvious' Avert the Odds II game and I couldn't find anything that showed when the player is walking or not. But it still has a walking animation! I looked to see how to check if a player is walking and found you do this:
Player.Character.Humanoid.Running:connect(function(speed)
print("Speed: "..speed)
end)
So I tried that. But I found myself stuck. I needed to find out how to check if a player has STOPPED walking! I would look at TurboFusion's gun scripts, but within the first 25 lines I get confused. How can you check if a player has stopped walking?

2 comments
Did you test yet?
lightpower, the speed measures the velocity the player is going at. I tested it.