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 » Scripting Helpers
Home Search
 

Re: BodyVelocity Script problem

Previous Thread :: Next Thread 
EliteLuaScripter is not online. EliteLuaScripter
Joined: 10 Jun 2013
Total Posts: 31
03 Jan 2014 12:12 AM
r = game.Workspace.MannedRocket.Seat:findFirstChild(Humanoid)
function onTouched(Seat)
if
r~=nil
then
game.Workspace.MannedRocket.Seat.BodyVelocity.velocity = 0,4000,0
end
end
RocketScript.Parent.Touched:connect(onTouched)
----------------------------------------------------------------------------------

What is wrong with this script? I think its the syntax but it looks correct to me. Maybe its the connection line?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Jan 2014 12:14 AM
Vector3.new(0,4000,0)

chgurnamepls
Report Abuse
EliteLuaScripter is not online. EliteLuaScripter
Joined: 10 Jun 2013
Total Posts: 31
03 Jan 2014 12:14 AM
I thought Vector3 was only used for coordinates?
Report Abuse
Eternalfireeater is not online. Eternalfireeater
Joined: 01 May 2011
Total Posts: 10027
03 Jan 2014 12:15 AM
LOL @cnt

~ℇℸℇℛηαℒℱίℛℇℇαℸℇℛ~
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Jan 2014 12:15 AM
No, it's used for a lot of things:

Mesh.VertextColor, Part.Position, Part.Size, Part.Velocity, ...
Report Abuse
EliteLuaScripter is not online. EliteLuaScripter
Joined: 10 Jun 2013
Total Posts: 31
03 Jan 2014 12:16 AM
Wow thank you, I will try this and see what happens.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Jan 2014 12:17 AM
force property, and a lotish more
Report Abuse
EliteLuaScripter is not online. EliteLuaScripter
Joined: 10 Jun 2013
Total Posts: 31
03 Jan 2014 12:17 AM
game.Workspace.MannedRocket.Seat.BodyVelocity.velocity = Vector3.new(0,4000,0)
^^^Is this what it should be?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Jan 2014 12:21 AM
yes
Report Abuse
EliteLuaScripter is not online. EliteLuaScripter
Joined: 10 Jun 2013
Total Posts: 31
03 Jan 2014 12:22 AM
Ok thank you.
Report Abuse
EliteLuaScripter is not online. EliteLuaScripter
Joined: 10 Jun 2013
Total Posts: 31
03 Jan 2014 12:23 AM
Script still doesn't work....>:/
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