Anden2349
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 295 |
|
|
| 17 Aug 2011 05:56 PM |
if script.Parent.Door7.Position ~ script.Parent.Door7.Value.Value then print("Repair Started") script.Parent.Door1.Position = 35.5, 8.8, -22.5 wait(2.5) --Some extra that I cut out of the forums script.Parent.Door6.Position = 40.5, 8.8, -22.5 wait(2.5) print("Half Done Repairing") script.Parent.Door7.Position = 41.5, 8.8, -22.5 wait(2.5) --Some extra that I cut out of the forums script.Parent.Door12.Position = 46.5, 8.8, -22.5 wait(2.5) script.Parent.Door13.Position = 47.5, 8.8, -22.5 wait(2.5) script.Parent.Door14.Position = 48.5, 8.8, -22.5 print("Done Repairing") end
|
|
|
| Report Abuse |
|
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 17 Aug 2011 05:57 PM |
~=
~ doesn't do anything :P |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 17 Aug 2011 05:57 PM |
~?
Put ==
~I am currently looking for a decent ad maker |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 17 Aug 2011 05:59 PM |
| No one else noticed the lack of Vector3's? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 17 Aug 2011 06:00 PM |
I stopped reading when I saw "~"
~I am currently looking for a decent ad maker |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2011 06:00 PM |
if script.Parent.Door7.Position ~= script.Parent.Door7.Value.Value then print("Repair Started") script.Parent.Door1.Position = Vector3.new(35.5, 8.8, -22.5) wait(2.5) script.Parent.Door6.Position = Vector3.new(40.5, 8.8, -22.5) wait(2.5) print("Half Done Repairing") script.Parent.Door7.Position = Vector3.new(41.5, 8.8, -22.5) wait(2.5) script.Parent.Door12.Position = Vector3.new(46.5, 8.8, -22.5) wait(2.5) script.Parent.Door13.Position = Vector3.new(47.5, 8.8, -22.5) wait(2.5) script.Parent.Door14.Position = Vector3.new(48.5, 8.8, -22.5) print("Done Repairing") end
~ Mitch ~ |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 17 Aug 2011 06:01 PM |
Put this inbetween every position coordinate-
.Position=Vector3.new(x,y,z)
~I am currently looking for a decent ad maker |
|
|
| Report Abuse |
|
|
Anden2349
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 295 |
|
|
| 17 Aug 2011 06:04 PM |
| Oh I thought ~ meant not equal to since it should only rebuild if it is broken so if Door7's Position is off from normal it is broken |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 17 Aug 2011 06:11 PM |
~= is not equal, however == is.
~I am currently looking for a decent ad maker |
|
|
| Report Abuse |
|
|