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 » Club Houses » ROBLOX Talk
Home Search
 

Since Scripting Helpers is dead....

Previous Thread :: Next Thread 
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 09:37 AM
function onClick()

wait()

game.Workspace.TestBrick.BodyThrust.force = +100


end

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






When i click the button, i want the bodythrust of Testbrick to become greater. But the output tells me there's an unexpected symbol near "+". When i delete the "=" symbol it says "expects "=" near "+"". Which is kinda strange, so any help on how to get this script working would be great.
Report Abuse
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 09:38 AM
Bawmp?
Report Abuse
ties is not online. ties
Joined: 12 Nov 2007
Total Posts: 1551
09 Sep 2011 09:38 AM
I could help you if i would know how to fix it.. But i don't.
Report Abuse
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 09:40 AM
@ties

;3333
Report Abuse
mopHead is not online. mopHead
Joined: 13 Mar 2008
Total Posts: 19259
09 Sep 2011 09:43 AM
[ Content Deleted ]
Report Abuse
Tiranin is not online. Tiranin
Joined: 03 Apr 2009
Total Posts: 18850
09 Sep 2011 09:43 AM
game.Workspace.TestBrick.BodyThrust.force = game.Workspace.TestBrick.BodyThrust.force + 100
Report Abuse
gama2xo is not online. gama2xo
Joined: 20 Feb 2016
Total Posts: 10039
09 Sep 2011 09:45 AM
can you even script...
Report Abuse
toadwheels12 is not online. toadwheels12
Joined: 14 Dec 2008
Total Posts: 7970
09 Sep 2011 09:46 AM
i am truely sorry for your lots

Toadwheels12, the undying legacy, only on Roblox.
Report Abuse
adrien99 is not online. adrien99
Joined: 01 Aug 2007
Total Posts: 6261
09 Sep 2011 09:46 AM
@mop

Rofl
Report Abuse
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 09:46 AM
@Tir

It says its attempted to call nil value.
Report Abuse
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 09:51 AM
Bawmp
Report Abuse
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 09:53 AM
See,does he not look dead?

http://www.roblox.com/User.aspx?ID=4088148
Report Abuse
mopHead is not online. mopHead
Joined: 13 Mar 2008
Total Posts: 19259
09 Sep 2011 09:56 AM
[ Content Deleted ]
Report Abuse
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 10:16 AM
Bump
Report Abuse
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 10:17 AM
Bumper
Report Abuse
toadjesse is not online. toadjesse
Joined: 03 Jun 2008
Total Posts: 5617
09 Sep 2011 10:19 AM
game.Workspace.TestBrick.BodyThrust.force = game.Workspace.TestBrick.BodyThrust.force + Vector3.new(0,100,0)

This should work
Report Abuse
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 10:20 AM
@Toad

OOOOOOOOOOOOOOOOOOOOHHHHHHHHHH


That's what i forgot! xDDD
Report Abuse
Gutbomber is not online. Gutbomber
Joined: 04 Jul 2009
Total Posts: 944
09 Sep 2011 10:20 AM
Did you forget to put the ClickDetector in the brick?
Report Abuse
Gutbomber is not online. Gutbomber
Joined: 04 Jul 2009
Total Posts: 944
09 Sep 2011 10:21 AM
Oh nvm, toad's code line makes more sense, I just woke up so I gotta refresh my mind.
Report Abuse
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 10:21 AM
@Gut

No i forgot the Vector xD
Report Abuse
toadjesse is not online. toadjesse
Joined: 03 Jun 2008
Total Posts: 5617
09 Sep 2011 10:21 AM
So it did work? I guess, the reason why it didn't work is because you just said: +100, it can be everything! and you always need a Vector3.new(0,0,0) if you want to move with a script ;)
Report Abuse
jojobenten is not online. jojobenten
Joined: 27 Jan 2009
Total Posts: 8819
09 Sep 2011 10:23 AM
@Toad

Wait, it still doesn't work and says the same thing in the output...
Report Abuse
toadjesse is not online. toadjesse
Joined: 03 Jun 2008
Total Posts: 5617
09 Sep 2011 10:26 AM
If it still says "a nill ..." then you made a mistake with the Names of the items.
A nil value means the thing you wanted to do with, doesn't exist (Mostly wrong name)
Report Abuse
Harrokin is not online. Harrokin
Joined: 10 Sep 2008
Total Posts: 8564
09 Sep 2011 10:31 AM
You've connected the event to the "onClicked" function, which doesn't exist. Change the function name from "onClick" to "onClicked".
Silly goose.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » ROBLOX Talk
   
 
   
  • 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