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 » Building Helpers
Home Search
 

Re: How do you make a open/close door (with green and red buttonz)

Previous Thread :: Next Thread 
peanutbutter49 is not online. peanutbutter49
Joined: 07 Mar 2010
Total Posts: 29981
22 Oct 2011 03:33 PM
kk
Report Abuse
pauljkl is not online. pauljkl
Joined: 23 Oct 2008
Total Posts: 9364
22 Oct 2011 03:40 PM
Use 1 button, much easier

local open = true
script.Parent.ClickDetector.MouseClick:connect(function()
if open then
open = false
script.Parent.Parent.Door.Transparency = 0
script.Parent.Parent.Door.CanCollide = true
else open = true
script.Parent.Parent.Door.Transparency = 1
script.Parent.Parent.Door.CanCollide = false
end end)
Report Abuse
peanutbutter49 is not online. peanutbutter49
Joined: 07 Mar 2010
Total Posts: 29981
22 Oct 2011 03:55 PM
Doesn't work. I can't click the block to make it open.
Report Abuse
pauljkl is not online. pauljkl
Joined: 23 Oct 2008
Total Posts: 9364
22 Oct 2011 03:58 PM
Have this tree with that script

Model
-Button
--Script i gave
--ClickDetector
-Door (Part)
Report Abuse
EmeraldOfCancer is not online. EmeraldOfCancer
Joined: 21 Oct 2011
Total Posts: 48
22 Oct 2011 04:06 PM
Well, Your script helped me out with something! I was looking to help this guy when you helped him and me. My use for the script would be for things aside from doors though. Thank you!
Report Abuse
peanutbutter49 is not online. peanutbutter49
Joined: 07 Mar 2010
Total Posts: 29981
22 Oct 2011 04:38 PM
Bumpy.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building 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