generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How to tell if the player is walking or not.

Previous Thread :: Next Thread 
deathcobra is not online. deathcobra
Joined: 16 Sep 2009
Total Posts: 94
03 Jun 2013 10:28 AM
Do you use Torso.Velocity, or would you have to manually create something?
Report Abuse
VirtualUser is not online. VirtualUser
Joined: 16 Aug 2010
Total Posts: 533
03 Jun 2013 10:34 AM
Well...

using humanoid, you would use the running event

game.Workspace.Player.Humanoid.Running:connect(function(blah)
...
end)
Report Abuse
deathcobra is not online. deathcobra
Joined: 16 Sep 2009
Total Posts: 94
03 Jun 2013 10:35 AM
Thank you, I'll try it out and come back with my results.
Report Abuse
VirtualUser is not online. VirtualUser
Joined: 16 Aug 2010
Total Posts: 533
03 Jun 2013 10:35 AM
Remember though, this event also fires when you stop. The variable is the walkspeed so... lets say you add


game.Workspace.Player.Humanoid.Running:connect(function(blah)
if blah > 0 then
...
end
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image