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

How to make a script start when player says something?

How to make a script run whenever the player says for example: "on".

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.