I am confused over what tense you ought be using, and that depends on context. Has the person already spoken, or are you advising the person how to speak? I'm guessing that it is the former that you intend. In that case, you need to use past tense:
"Every word you said, spoken to the people's hearts, hit the nail on its head"
Note: "hit" not "hits" because that is the past tense of "to hit"
Note: you have a choice between "spoke" (simple past) and "spoken" (past participle). It's 50-50 but I prefer "spoken" serving as an adjective modifying "word" (each "spoken" word). To use "spoke" you could say
"Every word you said hit the nail on its head, spoke to the people's hearts"
although it would be better to omit the comma and say "and spoke".