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: Help :c

Previous Thread :: Next Thread 
barnslig101 is not online. barnslig101
Joined: 29 Aug 2008
Total Posts: 3225
25 Nov 2012 01:40 PM
Why isn't this working?

function onClicked()
local conv = script.Parent.Parent.Conveyor3
local bf = Instance.new("BodyForce",conv)
script.Parent.ClickDetector.MouseClick:connect(function)
bf.force = Vector3.new(0,0,500)
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
Report Abuse
eJorge is not online. eJorge
Joined: 09 Jun 2011
Total Posts: 5966
25 Nov 2012 01:47 PM
local conv = script.Parent.Parent.Conveyor3
local bf = Instance.new("BodyForce",conv)
script.Parent.ClickDetector.MouseClick:connect(function()
bf.force = bf.force + Vector3.new(0,0,500)
end)

Why did you change the script? It was right the way I PMed it :l
Report Abuse
barnslig101 is not online. barnslig101
Joined: 29 Aug 2008
Total Posts: 3225
25 Nov 2012 01:48 PM
It's not working.
Report Abuse
barnslig101 is not online. barnslig101
Joined: 29 Aug 2008
Total Posts: 3225
25 Nov 2012 01:56 PM
Bump
Report Abuse
MikeAnIkes is not online. MikeAnIkes
Joined: 13 Mar 2010
Total Posts: 1581
25 Nov 2012 01:58 PM
eJorge's code is correct. Something you're doing is wrong. Are you sure that the script is in the right place?
Report Abuse
barnslig101 is not online. barnslig101
Joined: 29 Aug 2008
Total Posts: 3225
25 Nov 2012 02:01 PM
It's all in the right place. it's not creating a BodyVelocity inside conveyor3
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