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: Velocity

Previous Thread :: Next Thread 
hovertank7 is not online. hovertank7
Joined: 15 Nov 2008
Total Posts: 178
18 Aug 2013 08:32 AM
I am making a roller coaster and it want the velocity to be 20 so i am using this script...

while true do
script.Parent.Velocity = script.Parent.CFrame.lookVector *20
wait(0.1)
end

which works but it is making the X value 20 but i want it to make the Z value 20. (The brick is a cylinder)
Report Abuse
DragonODeath is not online. DragonODeath
Joined: 02 May 2011
Total Posts: 1252
18 Aug 2013 08:35 AM
Velocity property of a part is how much velocity it stores. Meaning any part that touches it will get that velocity
Report Abuse
hovertank7 is not online. hovertank7
Joined: 15 Nov 2008
Total Posts: 178
18 Aug 2013 08:43 AM
Yes but i want it so that the cart is storing 20 velocity along the Z axis
Report Abuse
hovertank7 is not online. hovertank7
Joined: 15 Nov 2008
Total Posts: 178
18 Aug 2013 08:50 AM
I mean track not cart
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