GamerX2O
|
  |
| Joined: 29 Nov 2013 |
| Total Posts: 93 |
|
|
| 07 Oct 2016 09:31 PM |
script.Parent.Parent.BlueLamp.LightPart.Position = script.Parent.Parent.BlueLamp.LightPart + Vector3.new(0, 6, 0)
thats the line of code, this is the error.
21:29:47.615 - Workspace.2by2Plate.Plate.Script:33: bad argument #1 to '?' (Vector3 expected, got Object)
|
|
|
| Report Abuse |
|
|
nobodyish
|
  |
| Joined: 12 Apr 2015 |
| Total Posts: 509 |
|
| |
|
GamerX2O
|
  |
| Joined: 29 Nov 2013 |
| Total Posts: 93 |
|
|
| 07 Oct 2016 09:33 PM |
| lol nevermind I found it. Maybe i'll leave this thread open to see if other people can figure it out. XD it was a dumb mistake |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2016 09:34 PM |
| You're trying to use the + operator between an object and a Vector3. Notice that you said "... BlueLamp.LightPart + Vector3.new( ..." |
|
|
| Report Abuse |
|
|
Egzekiel
|
  |
| Joined: 10 Jan 2011 |
| Total Posts: 1079 |
|
|
| 07 Oct 2016 09:34 PM |
You just forgot to put ".Position".
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
GamerX2O
|
  |
| Joined: 29 Nov 2013 |
| Total Posts: 93 |
|
|
| 07 Oct 2016 09:35 PM |
| Those last two guys figured it out GG |
|
|
| Report Abuse |
|
|
DevVince
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 9245 |
|
| |
|
Egzekiel
|
  |
| Joined: 10 Jan 2011 |
| Total Posts: 1079 |
|
| |
|
| |
|