optigreen
|
  |
| Joined: 20 Apr 2010 |
| Total Posts: 417 |
|
|
| 13 Oct 2013 02:17 PM |
while true do if Workspace.Terminal.Time.Value == 4 then
wait () workspace.barrier.cancolide = true wait () workspace.barrier.Transparency = 0 end end
|
|
|
| Report Abuse |
|
|
optigreen
|
  |
| Joined: 20 Apr 2010 |
| Total Posts: 417 |
|
| |
|
|
| 13 Oct 2013 02:25 PM |
| CanCollide* Things in Lua are case-sensitive. |
|
|
| Report Abuse |
|
|
qrrrq
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 1252 |
|
|
| 13 Oct 2013 02:26 PM |
I am not sure you need a while loop unless you are checking it, and you spelled a lot of things wrong, such as CanCollide. Also, Rbx.Lua is very case sensitive.
Corrected:
while wait() do if Workspace.Terminal.Time.Value == 4 then wait () workspace.barrier.CanCollide = true wait () workspace.barrier.Transparency = 0 end end |
|
|
| Report Abuse |
|
|
optigreen
|
  |
| Joined: 20 Apr 2010 |
| Total Posts: 417 |
|
|
| 13 Oct 2013 02:31 PM |
| Sorry I should of stated the problem. I keep getting a stack end at line 2.. Though everything is listed properly in my workspace. |
|
|
| Report Abuse |
|
|
optigreen
|
  |
| Joined: 20 Apr 2010 |
| Total Posts: 417 |
|
|
| 13 Oct 2013 02:31 PM |
It wouldn't be because it starts off at 0, then works its way to 4?
|
|
|
| Report Abuse |
|
|
optigreen
|
  |
| Joined: 20 Apr 2010 |
| Total Posts: 417 |
|
|
| 13 Oct 2013 02:44 PM |
| Script Fixed As Of 13/10/2013 |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 13 Oct 2013 02:46 PM |
| ^ intense non-US date format above |
|
|
| Report Abuse |
|
|