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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Humanoid WalkSpeed Help

Previous Thread :: Next Thread 
TheGreenDeveloper is not online. TheGreenDeveloper
Joined: 29 Dec 2013
Total Posts: 776
03 Oct 2015 10:16 PM
I'm making a cutscene script, and i need help with how to make the humanoid move from where the point it is to another place in a certain amount of time. Help plox.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
03 Oct 2015 10:19 PM
well, walkspeed is stud per second i think, so it would be (without pathfinding)


find the ditance between two points, and divide it by walkspeed.



In alegbra, you can change the equation around to get the time
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
03 Oct 2015 10:20 PM
http://wiki.roblox.com/index.php?title=API:Class/Humanoid

-The [Guy]
Report Abuse
MakerModelLua is not online. MakerModelLua
Joined: 24 Feb 2013
Total Posts: 3544
03 Oct 2015 10:20 PM
http://wiki.roblox.com/index.php?title=API:Class/Humanoid/MoveTo
Report Abuse
TheGreenDeveloper is not online. TheGreenDeveloper
Joined: 29 Dec 2013
Total Posts: 776
03 Oct 2015 10:23 PM
Thx This line works like a charm

humanoid.WalkSpeed = ((walkpos.Position - torso.Position).magnitude) / walkpos:WaitForChild("DelayTime").Value
Report Abuse
chrismac724 is not online. chrismac724
Joined: 08 Nov 2014
Total Posts: 217
03 Oct 2015 10:57 PM
You can find good scripts in the tool box, that would've been easier.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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