generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Did I make this right? It won't work.

Previous Thread :: Next Thread 
RealPerson is not online. RealPerson
Joined: 16 Jun 2009
Total Posts: 2295
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 is not online. pugzy
Joined: 16 Aug 2007
Total Posts: 11957
30 Oct 2011 01:37 AM
You need a function and connection.
Report Abuse
RealPerson is not online. RealPerson
Joined: 16 Jun 2009
Total Posts: 2295
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
RealPerson is not online. RealPerson
Joined: 16 Jun 2009
Total Posts: 2295
30 Oct 2011 01:55 PM
Bump :P
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image