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: why do these two scripts not work together

Previous Thread :: Next Thread 
atcop12 is not online. atcop12
Joined: 12 Jun 2011
Total Posts: 236
21 Jul 2013 04:31 PM
function touch()
game.Workspace.base1.windowset1.window1.Transparency = 1
game.Workspace.base1.windowset1.window1.CanCollide = false
end

game.Workspace.base1.windowset1.window1.Touched:connect(touch)

function touch()
game.Workspace.base1.windowset2.window1.Transparency = 1
game.Workspace.base1.windowset2.window1.CanCollide = false
end

game.Workspace.base1.windowset2.window1.button1.Touched:connect(touch)
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
21 Jul 2013 04:33 PM
touch gets overridden the second time it's used
Report Abuse
atcop12 is not online. atcop12
Joined: 12 Jun 2011
Total Posts: 236
21 Jul 2013 04:43 PM
thx
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