THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 26 Feb 2009 12:31 PM |
function onClicked()
game.Workspace.ramp01.ramp1.Velocity = Vector3.New(10,0,0) end
script.Parent.ClickDetector.MouseClick:Connect(onClicked)
YES,there is a ClickDetector in the same group as the script (Parent) |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 26 Feb 2009 12:32 PM |
it says Connect is not a valid member on Workspace.ramp01.Button.Script, line 7
so what do i do? |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 26 Feb 2009 01:07 PM |
ok, so NOW, its: -------------------
function onClicked()
game.Workspace.ramp01.ramp1.Velocity = Vector3.New(10,0,0)
end
script.Parent.ClickDetector.MouseClick:Connect(onClicked)
------------------------------------------------_-_-_-_-_-*@4!!!------
and the error im getting is:
Workspace.ramp01.Button.Script:3: attempt to call field 'New' (a nil value)
HALPZ!!!!INEEDZ!!!!
|
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 26 Feb 2009 01:08 PM |
oops i meant: ------------------------------
function onClicked()
game.Workspace.ramp01.ramp1.Velocity = Vector3.New(10,0,0)
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
------------------------------------------------_-_-_-_-_-*@4!!!------
and the error im getting is:
Workspace.ramp01.Button.Script:3: attempt to call field 'New' (a nil value) |
|
|
| Report Abuse |
|
|
benblue9
|
  |
| Joined: 12 Aug 2008 |
| Total Posts: 11417 |
|
|
| 26 Feb 2009 02:20 PM |
| hmm it looks like it should work..... ask someone like blobbyblob he will know |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2009 02:31 PM |
| if its Locked or Ancored it wont work... |
|
|
| Report Abuse |
|
|
sdfgw
|
  |
 |
| Joined: 08 Jan 2009 |
| Total Posts: 41681 |
|
|
| 26 Feb 2009 02:36 PM |
| try changing "New" to "new" |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 26 Feb 2009 03:16 PM |
| thanks, cuz thats where it says i screwed up testing now... |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 26 Feb 2009 03:24 PM |
Thanks sdfgw, it works, u get a cookie!
.----. / o O \ | o o O| | O o |----- cookie lulz \ o o / `--- ' |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 26 Feb 2009 03:26 PM |
oops, cookie fiald, 2nd attempt...
---.----. -/ o O \ | o o O| | O O |----- cookie lulz -\ o o / --`- --' |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
| |
|
|
| 26 Feb 2009 03:34 PM |
function onClicked()
game.Workspace.ramp01.ramp1.Velocity = Vector3.new(10,0,0)
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
|
|
|
| Report Abuse |
|
|
|
| 26 Feb 2009 03:35 PM |
| O you already got it working xD. im slow today :3 |
|
|
| Report Abuse |
|
|
sdfgw
|
  |
 |
| Joined: 08 Jan 2009 |
| Total Posts: 41681 |
|
|
| 27 Feb 2009 10:20 AM |
woo i didnt expect that to work
wow ive got cookies from about 10 people in one day when i never have before! |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 27 Feb 2009 10:22 AM |
lol i get cookies all time time.... tracking cookies that my antivirus picks up lol... the fbi wants me ded..........rawr |
|
|
| Report Abuse |
|
|
sdfgw
|
  |
 |
| Joined: 08 Jan 2009 |
| Total Posts: 41681 |
|
|
| 27 Feb 2009 10:35 AM |
*secretly suspects theeric of being 1x1x1x1* oh i see well i think ur innocent and the most wonderful person ive ever met
...
the point of this forum has already been solved so lets all praise 1x1x1x1 WHOOPS i mean theeric |
|
|
| Report Abuse |
|
|