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: Why wont this work?

Previous Thread :: Next Thread 
pikaard is not online. pikaard
Joined: 14 Nov 2012
Total Posts: 757
14 Jan 2014 06:14 PM
local Door = game.Workspace.MovingDoor
function onClick(Clicker)
Door.BodyVelocity.velocity = Vector3.new(100, 0, 0)
end

script.Parent.ClickDetector.MouseClick:connect(onClick)

function onClick2(Clicker)
Door.BodyVelocity.velocity = Vector3.new(100, 0, 0)
end

script.Parent.ClickDetector.MouseClick2:connect(onClick2)





+=~TRC IS AWESOME~=+ (Pikaard) *TRC: (LR) Captain*
Report Abuse
Hibobb is not online. Hibobb
Joined: 18 Apr 2010
Total Posts: 2146
14 Jan 2014 06:25 PM
What about it isn't working?
Report Abuse
shawnyg is not online. shawnyg
Joined: 21 Apr 2011
Total Posts: 1428
14 Jan 2014 06:48 PM
Are you sure that it's velocity, not Velocity?

~Hope I helped, if you need a script, PM me first then buy this when I tell you to: http://www.roblox.com/My-Script-Shirt-item?id=118961994~ ~Glory to CAT!~ !CAT General Shawnyg~
Report Abuse
Preponderance is not online. Preponderance
Joined: 30 Sep 2009
Total Posts: 21293
14 Jan 2014 06:49 PM
Velocity*
Report Abuse
VoidShredder is not online. VoidShredder
Joined: 06 Jan 2014
Total Posts: 1467
14 Jan 2014 06:50 PM
No its velocity for BodyVelocity

But

script.Parent.ClickDetector.MouseClick2:connect(onClick2)
dafaq is MouseClick2
Report Abuse
shawnyg is not online. shawnyg
Joined: 21 Apr 2011
Total Posts: 1428
14 Jan 2014 06:51 PM
That's what I basically just SAID!

~Hope I helped, if you need a script, PM me first then buy this when I tell you to: http://www.roblox.com/My-Script-Shirt-item?id=118961994~ ~Glory to CAT!~ ~CAT General Shawnyg~
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