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

How to move a part when someone says the keyword?

I'm making a game and I want to make a secret area that only people who know the keyword and can say it in chat, how do I move a part when someone says something?

1 answer

✓ Accepted answer
game.Players.PlayerAdded:Connect(function(player)
	player.Chatted:Connect(function(message)
		if message == "yourword" then
			-- Put your code here
		end
	end)
end)

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