How to make a script run whenever the player says for example: "on".
COMMUNITY QUESTION
How to make a script start when player says something?
1 answer
game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(text)
if text == "on" then
print("its ont")
end
end)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
