aqua77
|
  |
| Joined: 15 Mar 2011 |
| Total Posts: 53 |
|
|
| 18 Sep 2015 12:00 PM |
Trying to make a restricted door. The door is named restrictedDoor.
local allowed, door = {aqua77= true, aqua91=true, minion3103=true}, workspace.restrictedDoor door.Touched:connect(function(hit) if game.Players:FindFirstChild(hit.Parent.Name) and allowed[hit.Parent.Name] then door.CanCollide=false wait (1.5) door.CanCollide=true end end)
We are all lost... |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2015 12:03 PM |
local allowed = { ["aqua77"] = true, ["aqua99"] = true, }
I was gonna make a dubstep joke but I guess ill just drop it. |
|
|
| Report Abuse |
|
|
aqua77
|
  |
| Joined: 15 Mar 2011 |
| Total Posts: 53 |
|
|
| 18 Sep 2015 12:04 PM |
Thanks. I'll test it!
We are all lost... |
|
|
| Report Abuse |
|
|
aqua77
|
  |
| Joined: 15 Mar 2011 |
| Total Posts: 53 |
|
|
| 18 Sep 2015 12:09 PM |
Sadly it did not work...
We are all lost... |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
| |
|
aqua77
|
  |
| Joined: 15 Mar 2011 |
| Total Posts: 53 |
|
|
| 18 Sep 2015 12:58 PM |
How would I be able to fix it? @vlekje513
We are all lost... |
|
|
| Report Abuse |
|
|