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?
✓ ANSWER ACCEPTED
How to move a part when someone says the keyword?
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.
