of     1   

TheGamingHero
#63488798Sunday, February 26, 2012 6:35 PM GMT

print("VIP Door Script loaded") -- list of account names allowed to go through the door. permission = {"TheGamingHero"}--Put your friends name's here. You can add more. function checkOkToLetIn(name) for i = 1,#permission do if (string.upper(name) == string.upper(permission[i])) then return true end end return false end local Door = script.Parent function onTouched(hit) print("Door Hit") local human = hit.Parent:findFirstChild("Humanoid") if (human ~= nil ) then -- a human has touched this door! print("Human touched door") -- test the human's name against the permission list if (checkOkToLetIn(human.Parent.Name)) then print("Human passed test") Door.Transparency = 0.7 Door.CanCollide = false wait(4) -- this is how long the door is open Door.CanCollide = true Door.Transparency = 0 else human.Health= 0 -- delete this line of you want a non-killing VIP door end end end script.Parent.Touched:connect(onTouched) That's the script, I saved it but it doesn't work, what do I need to change?
Thunderx10
#63488969Sunday, February 26, 2012 6:38 PM GMT

Are you testing it in solo?
TheGamingHero
#63489204Sunday, February 26, 2012 6:42 PM GMT

I'm testing it in Edit mode, am I suppose to test it in solo mode?
TheGamingHero
#63489806Sunday, February 26, 2012 6:51 PM GMT

Help?
Rystronack
#63490170Sunday, February 26, 2012 6:56 PM GMT

Try testing it in Build or Play modes.
TheGamingHero
#63490811Sunday, February 26, 2012 7:05 PM GMT

I did, it still won't work.
TheGamingHero
#63491925Sunday, February 26, 2012 7:20 PM GMT

Somebody?

    of     1