door=script.Parent function onChatted(O,m,e)source=string.lower(e.Name)O=string.lower(O)thecharacter=script.Parent.TheCharacter if O==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(O)O.Chatted:connect(function(m,e)onChatted(m,e,O)end)end)
--[[ NOTE:  You don't need to do anything to this script
	DO NOT DO ANYTHING TO THIS SCRIPT IF YOU DON'T KNOW WHAT YOUR DOING!
	  You only need to do things in the String Value named 'TheCharacter'
	   READ INSTRUCTIONS ]]
--

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)
