door=script.Parent function onChatted(Y,U,C)source=string.lower(C.Name)Y=string.lower(Y)thecharacter=script.Parent.TheCharacter if Y==string.lower(thecharacter.Value)then door.CanCollide=false door.Transparency=.7 wait(4)door.CanCollide=true door.Transparency=0 end end game.Players.ChildAdded:connect(function(Y)Y.Chatted:connect(function(U,C)onChatted(U,C,Y)end)end)
--

door = script.Parent
function onChatted(msg, recipient, speaker) 
source = string.lower(speaker.Name) 
msg = string.lower(msg) 
thecharacter = script.Parent.TheCharacter
if (msg == string.lower(thecharacter.Value)) then 
door.CanCollide = false 
door.Transparency = 0.7 
wait(4) 
door.CanCollide = true 
door.Transparency = 0 
end 
end 
game.Players.ChildAdded:connect(function(plr)
plr.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, plr) end) 
end)
