I am trying to make it when the player says print hello it prints hello but it isn’t working.
Code:
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(msg)
local message = msg:lower()
if message == "print hello" then
print("hello")
end
end)
end)