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
 

Humanoid.Status

Previous Thread :: Next Thread 
Xzerizon is not online. Xzerizon
Joined: 16 Aug 2011
Total Posts: 2174
29 Jan 2013 03:28 PM
How do I figure out what the status of a humanoid is when it's just walking around or standing there?
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
29 Jan 2013 03:35 PM
You can't really. The status is used for Roblox gears.
You can use Humanoid.Running.

The event returns a number describing the speed the humanoid is traveling.
Report Abuse
Xzerizon is not online. Xzerizon
Joined: 16 Aug 2011
Total Posts: 2174
29 Jan 2013 03:39 PM
Alright, thanks. What I'm trying to find is a way to figure out if the humanoid isn't Strafing anymore. So it's impossible?
Report Abuse
OwnsomeB is not online. OwnsomeB
Joined: 13 Apr 2010
Total Posts: 109
29 Jan 2013 03:46 PM
game.Workspace.Player.Humanoid.Running:connect(function(speed)
onRunning(speed)
end)

game.Workspace.Player.Humanoid.PlatformStanding:connect(function()
onPlatformStanding()
end)

-- OR --

if game.Workspace.Player.Humanoid.PlatformStand then
print "The player is PlatformStanding"
end
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
29 Jan 2013 03:49 PM
Humanoid.Strafing


Passes on a boolean describing whether the humanoid is strafing or not I believe.
Report Abuse
OwnsomeB is not online. OwnsomeB
Joined: 13 Apr 2010
Total Posts: 109
29 Jan 2013 03:54 PM
moving = false
strafing = false

game.Workspace.Player.Humanoid.Strafing:connect(function()
strafing = true
end)

game.Workspace.Player.Humanoid.Running:connect(function(speed)
if speed > 0 then
moving = true
else
moving = false
strafing = false
end
end)

-- This fails :P
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