Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a door open by chatting a specific keyword?

1 answer

Maybe this.

game.Players.PlayerAdded:Connect(function(player)
  player.Chatted:Connect(function(msg)
        if msg == "your message" then
	--input code for the door
	end
  end)
end)

I haven't tested this out. If this dosen't work, look above at the chats and click that link for further info about Player.Chatted, but what this code does is when the player chats the set message it fires the Chatted event to open the door.

This discussion is preserved as it was. New answers, comments, and votes are closed.