of     1   

bil34
#45659200Saturday, April 16, 2011 9:09 PM GMT

how do you make a one way door?!
smurf279
#45664299Saturday, April 16, 2011 10:37 PM GMT

Brick = game.Workpsace.Part --[You may need to edit this line] enabled = true function onTouched(hit) if not enabled then return end enabled = false Brick.CanCollide = false wait(3) Brick.CanCollide = true wait(15) enabled = true end Brick.Touched:connect(onTouched) I would rather prefer to use 2 bricks and partially CFrame them together so that if someone is trying to come in from the other side of the brick they cannot go in through that side. If you do use 2 bricks heres a script for that. Brick = game.Workspace.Part1 --[You may ned to edit this line] Bricktwo = game.Workspace.Part2 --[You may need to edit this line] enabled = true function onTouched(hit) if not enabled then return end enabled = false Brick.CanCollide = false Bricktwo.CanCollide = false wait(3) Brick.CanCollide = true Bricktwo.CanCollide = true wait(15) enabled = true end Brick.Touched:connect(onTouched)
bil34
#45724404Sunday, April 17, 2011 11:23 PM GMT

can u make that i model or sumthin cuz i suck at scripting
master9125
#45728486Monday, April 18, 2011 12:35 AM GMT

All you need to do is get a brick then: Insert>Object>Script and paste the script he has written for you in the script and then put the script in the brick and there you go.
legolego376459
#45728753Monday, April 18, 2011 12:39 AM GMT

Or, give a brick maximum velocity and turn it upright. Works a lot easier.
legolego376459
#45728803Monday, April 18, 2011 12:39 AM GMT

I'll make you one.
legolego376459
#45729966Monday, April 18, 2011 12:54 AM GMT

Well, I've never had the need to make a one way door. I thought my idea would work, but it didn't. So, I put smurf's script inside a brick for you and resized it. Do with it what you may. http://www.roblox.com/One-Way-Door-item?id=50127398

    of     1