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 » Scripters
Home Search
 

Secret door

Previous Thread :: Next Thread 
johnf78 is not online. johnf78
Joined: 24 Jan 2015
Total Posts: 2035
25 Sep 2016 04:57 PM
I want to make a secret door.. but I can't find out how to make the door close back up over time! any way you guys could give me some pointers?


The answer is 42
Report Abuse
iYzarky is not online. iYzarky
Joined: 01 Jun 2009
Total Posts: 1271
25 Sep 2016 05:42 PM

Door = script.Parent

Door.Transparency = .7
Door.CanCollided = false --might've spelled "CanCollided" wrong

wait(20) --change to how much seconds yuh want

Door.Transparency = 0
Door.CanCollided = true -- once again, might be spelled wrong




Cookiez
Report Abuse
iYzarky is not online. iYzarky
Joined: 01 Jun 2009
Total Posts: 1271
25 Sep 2016 05:43 PM
That wouldn't work if your place is filtering enabled btw, but pretty sure your place isn't, so you should be fine.


Cookiez
Report Abuse
DevObject is not online. DevObject
Joined: 28 Jul 2011
Total Posts: 7048
25 Sep 2016 05:48 PM
Add a ClickDetector in the door

part = script.Parent

function OnClicked()
part.CanCollide = false
part.Transparency = 0.7
wait(1) --- The time it takes to close
part.CanCollide = true
part.Transparency = 0
end

script.Parent.ClickDetector.MouseClick:connect(OnClicked)


Lol'd >Add 5k posts, R.I.P. ROBLOXBaseWarsFPS1
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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