|
| 30 Oct 2011 01:28 AM |
frame = script.Parent.Parent
if game.Workspace.Programs.A.Stage1.Gate.Door.Transparency == 1 then
frame.S1.Attempt:remove() frame.Pass.Visible = true wait(3) frame.Pass.Visible = false frame.S1.Visible = false frame.S2.Visible = true end
_______________________________________
What it's supposed to do is this.
Somebody clicks a button that makes a door Transparent. When the door's transparency is 1 it does a bunch of stuff (Not really important because I know that's not the problem).
The thing is, the stuff after the the door is transparent doesn't happen. Anyone know why? |
|
|
| Report Abuse |
|
|
pugzy
|
  |
| Joined: 16 Aug 2007 |
| Total Posts: 11957 |
|
|
| 30 Oct 2011 01:37 AM |
| You need a function and connection. |
|
|
| Report Abuse |
|
|
|
| 30 Oct 2011 12:29 PM |
What would that look like?
Is it like
function(click)
then
script.Somestuff.MouseclickBlah.(click)
Like that? |
|
|
| Report Abuse |
|
|
| |
|