BESTDJ11
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 129 |
|
|
| 25 Mar 2012 11:24 AM |
I cant seem to find whats wrong with this script please help me....
local ball=workspace.Ball local center= Vector3.new(0 , 0, 0)--put the center position script.Parent.Touched:connect(function(p) if p=ball then p.Position=centerendend) |
|
|
| Report Abuse |
|
|
adjotur
|
  |
| Joined: 10 Oct 2011 |
| Total Posts: 892 |
|
| |
|
| |
|
|
| 25 Mar 2012 11:29 AM |
| at least put spaces between those 3 words :P |
|
|
| Report Abuse |
|
|
BESTDJ11
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 129 |
|
| |
|
BESTDJ11
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 129 |
|
|
| 25 Mar 2012 12:01 PM |
Still doesnt work there must be something else wrong
local ball=workspace.Ball local center= Vector3.new(0 , 0, 0)--put the center position script.Parent.Touched:connect(function(p) if p=ball then p.Position=center end end) |
|
|
| Report Abuse |
|
|
dmjoe
|
  |
| Joined: 01 May 2009 |
| Total Posts: 2387 |
|
|
| 25 Mar 2012 12:11 PM |
What outputs are showing?
~According to astronomy, when you wish upon a star; you are actually a few million years late. The star is dead. Just like your dreams.~ |
|
|
| Report Abuse |
|
|
BESTDJ11
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 129 |
|
|
| 25 Mar 2012 12:28 PM |
| Workspace.Script:5: 'then' expected near '=' |
|
|
| Report Abuse |
|
|
|
| 25 Mar 2012 12:31 PM |
if p==ball then p.Position=center
|
|
|
| Report Abuse |
|
|
BESTDJ11
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 129 |
|
|
| 25 Mar 2012 01:08 PM |
| Where do i place the script |
|
|
| Report Abuse |
|
|
| |
|
BESTDJ11
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 129 |
|
| |
|
breuning
|
  |
| Joined: 30 Oct 2008 |
| Total Posts: 4268 |
|
|
| 26 Mar 2012 11:35 AM |
| Dont put it in the ball. How can the ball touch itself? |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2012 11:41 AM |
xD , I didn't know you reversed the script I posted there,
well, yea he is right put it in goals. |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
|
| 26 Mar 2012 11:48 AM |
| he fixed that already. (I told him so if you could check the posts down) |
|
|
| Report Abuse |
|
|
BESTDJ11
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 129 |
|
|
| 26 Mar 2012 01:43 PM |
| Ohh k then because when i had it in the ball it was working aswell |
|
|
| Report Abuse |
|
|
BESTDJ11
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 129 |
|
|
| 26 Mar 2012 01:54 PM |
| I meant it was working aswell and it still doesnt work it says this is the OutPut Workspace.Script:5: 'then' expected near '= |
|
|
| Report Abuse |
|
|
hotty6903
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 8950 |
|
|
| 26 Mar 2012 03:29 PM |
:P
~hotty6903
New Message from hotty6903. :D |
|
|
| Report Abuse |
|
|
BESTDJ11
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 129 |
|
| |
|