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: VERY simple Body Velocity Script

Previous Thread :: Next Thread 
IAmYourDominus is not online. IAmYourDominus
Joined: 13 Aug 2012
Total Posts: 1197
15 Jul 2014 12:48 PM
script.Parent.BodyPosition.Position = script.Parent.Troll


The instance troll is a part.
I am going to make the part go to wherever the Instance Troll is but It's not working. I would appreciate any help!!! It says that Troll is not a valid member of Part in the output, I think that's the error.

- You can refer to me as Dominus-Sama
Report Abuse
marioblox1094 is not online. marioblox1094
Joined: 14 Aug 2010
Total Posts: 1839
15 Jul 2014 12:49 PM
script.Parent.BodyPosition.position = script.Parent.Troll.Position
Report Abuse
IAmYourDominus is not online. IAmYourDominus
Joined: 13 Aug 2012
Total Posts: 1197
15 Jul 2014 12:51 PM
Oh yeah XD forgot to make it the part's position not just the actual part :3
Report Abuse
IAmYourDominus is not online. IAmYourDominus
Joined: 13 Aug 2012
Total Posts: 1197
15 Jul 2014 12:52 PM
script.Parent.BodyPosition.Position = script.Parent.Troll.Position

Still not working
Report Abuse
IAmYourDominus is not online. IAmYourDominus
Joined: 13 Aug 2012
Total Posts: 1197
15 Jul 2014 12:58 PM
Same error, still broken, HALP MEH!
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
15 Jul 2014 01:02 PM
The 'p' in position for BodyPositon.position should be lower cased.
Report Abuse
marioblox1094 is not online. marioblox1094
Joined: 14 Aug 2010
Total Posts: 1839
15 Jul 2014 01:03 PM
-_- he thought i made a mistake
Report Abuse
thejonathann is not online. thejonathann
Joined: 14 Dec 2010
Total Posts: 76
16 Jul 2014 02:02 AM
Also make sure the part isn't connected to another part by doing part:BreakJoints().

The part will not move if the Anchored property is set to true, check and make that it is set to false.

Another part could also be blocking the first part from getting to troll.

Also, make sure to read what the other people said.
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