Statfire
|
  |
| Joined: 07 Nov 2009 |
| Total Posts: 5119 |
|
|
| 29 Aug 2014 11:47 PM |
idc if this is the wrong forum
▬☜✪☞▬RSF Navy General▬☜✪☞▬ |
|
|
| Report Abuse |
|
|
| |
|
bluefredy
|
  |
| Joined: 23 Oct 2010 |
| Total Posts: 59243 |
|
|
| 29 Aug 2014 11:49 PM |
| i am on, ask me any questions |
|
|
| Report Abuse |
|
|
Statfire
|
  |
| Joined: 07 Nov 2009 |
| Total Posts: 5119 |
|
|
| 29 Aug 2014 11:50 PM |
why doesnt this work function OnClicked() script.Parent.Parent.Stanley.Transparency = 0.5 script.Parent.Parent.Stanley.BrickColor = BrickColor.new("Royal purple") script.Parent.Parent.Stanley.Material = Granite script.Parent.Parent.Stanley.Size = Vector3.new(10,10,10)
end script.Parent.Parent.ClickDetector.MouseClick:connect (onClicked)
▬☜✪☞▬RSF Navy General▬☜✪☞▬ |
|
|
| Report Abuse |
|
|
Unclear
|
  |
| Joined: 27 Aug 2011 |
| Total Posts: 17060 |
|
|
| 29 Aug 2014 11:50 PM |
@blue
how do i set a new axis of rotation for my source cframe and a separate offset
~~ tu tu tu tu tu tu ru ♪♪ |
|
|
| Report Abuse |
|
|
Unclear
|
  |
| Joined: 27 Aug 2011 |
| Total Posts: 17060 |
|
|
| 29 Aug 2014 11:50 PM |
@stat
"script.Parent.Parent.Stanley.Material = Granite"
Granite needs to be an Enum.
I'm not sure if Granite is registered as one yet, but you can always use the string literal instead...
script.Parent.Parent.Stanley.Material = "Granite" should be correct
~~ tu tu tu tu tu tu ru ♪♪ |
|
|
| Report Abuse |
|
|
bluefredy
|
  |
| Joined: 23 Oct 2010 |
| Total Posts: 59243 |
|
|
| 29 Aug 2014 11:50 PM |
unclear stop i have a headache right now!
plus i'm only a month in... |
|
|
| Report Abuse |
|
|
| |
|
Unclear
|
  |
| Joined: 27 Aug 2011 |
| Total Posts: 17060 |
|
|
| 29 Aug 2014 11:52 PM |
@yellow
have you been gone from c&g for the past week or something
~~ tu tu tu tu tu tu ru ♪♪ |
|
|
| Report Abuse |
|
|
| |
|
Unclear
|
  |
| Joined: 27 Aug 2011 |
| Total Posts: 17060 |
|
|
| 29 Aug 2014 11:53 PM |
@yellow
"bae"
thats creepy yo
~~ tu tu tu tu tu tu ru ♪♪ |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Aug 2014 11:57 PM |
im sorry
yes i have sir!!! |
|
|
| Report Abuse |
|
|
Statfire
|
  |
| Joined: 07 Nov 2009 |
| Total Posts: 5119 |
|
|
| 29 Aug 2014 11:59 PM |
23:59:04.771 - Attempt to connect failed: Passed value is not a function 23:59:04.771 - Script 'Workspace.Model.Part.Script', Line 10 23:59:04.771 - Stack End
▬☜✪☞▬RSF Navy General▬☜✪☞▬ |
|
|
| Report Abuse |
|
|
| |
|
Statfire
|
  |
| Joined: 07 Nov 2009 |
| Total Posts: 5119 |
|
|
| 30 Aug 2014 12:01 AM |
halp
▬☜✪☞▬RSF Navy General▬☜✪☞▬ |
|
|
| Report Abuse |
|
|
Unclear
|
  |
| Joined: 27 Aug 2011 |
| Total Posts: 17060 |
|
|
| 30 Aug 2014 12:13 AM |
@stat
you named the function OnClicked but you passed onClicked to the event
fix the event connection line to script.Parent.Parent.ClickDetector.MouseClick:connect (OnClicked)
~~ tu tu tu tu tu tu ru ♪♪ |
|
|
| Report Abuse |
|
|