|
| 05 Mar 2014 03:04 PM |
| if someone touches a door and it locks them in and they leave how to unlock door? |
|
|
| Report Abuse |
|
|
Motimdy
|
  |
| Joined: 05 Mar 2012 |
| Total Posts: 490 |
|
|
| 05 Mar 2014 03:04 PM |
| Please rephrase your question. |
|
|
| Report Abuse |
|
|
|
| 05 Mar 2014 03:05 PM |
| Ok. If there is a door and when you walk through it you get locked inside. If a player leaves then you need to unlock the door, right? How do I do that? |
|
|
| Report Abuse |
|
|
roleo1122
|
  |
| Joined: 28 Jan 2013 |
| Total Posts: 971 |
|
|
| 05 Mar 2014 03:09 PM |
| Ok so if your locked in some room and you cant get out there is really nothin you can do accept rest yourself. |
|
|
| Report Abuse |
|
|
Motimdy
|
  |
| Joined: 05 Mar 2012 |
| Total Posts: 490 |
|
|
| 05 Mar 2014 03:13 PM |
Ignore the person above me.
Make a script and insert it into the brick. Copy and paste this into the script:
script.Parent.Touched = connect(function() script.Parent.Transparency = .6 script.Parent.CanCollide = false wait(3) script.Parent.Transparency = 0 script.Parent.CanCollide = true --made by Motimdy end)
This script makes the brick so that when a player touches it, it lets the player walk through it and then makes it solid again. This solves your problem. |
|
|
| Report Abuse |
|
|
Motimdy
|
  |
| Joined: 05 Mar 2012 |
| Total Posts: 490 |
|
|
| 05 Mar 2014 03:15 PM |
Additionally, people leaving has no effect. The door "unlocks" when someone touches it and the re-locks after 3 seconds.
|
|
|
| Report Abuse |
|
|