|
| 01 Jul 2012 07:59 AM |
When Player touches the door it doesn't open but it still prints "No". I tested this with Rudolph101 and the door still didn't open. Help anybody?D:
vip = {"rudolph101", "Rabbit101","Player"}
function millie(name) for i,v in pairs(vip) do if name==v then return true end end end
function touched(player) if millie(player.Name)then script.Parent.CanCollide=false script.Parent.Transparency=0.4 wait(2) script.Parent.CanCollide=true script.Parent.Transparency=0 else print("No!") end end
script.Parent.Touched:connect(touched)
|
|
|
| Report Abuse |
|
| |