It's essential to note that laws can vary significantly depending on the jurisdiction, and legal situations can be complex. If you find yourself in legal trouble, it's crucial to seek advice from a qualified attorney.
The Miranda rights, also known as the Miranda warning, are the rights that must be read to a person in police custody before any custodial interrogation. These rights include the right to remain silent and the right to an attorney. The purpose of the Miranda warning is to protect an individual's Fifth Amendment right against self-incrimination.
If you are under arrest but not read your Miranda rights and you choose to speak voluntarily to the police, anything you say can potentially be used against you in court. However, once you are read your Miranda rights, anything you say during a custodial interrogation can be used in court, provided that you have waived those rights knowingly, intelligently, and voluntarily.
Admitting guilt and providing information to the police without being read your Miranda rights may not automatically guarantee that the evidence won't be used against you in court. Courts will look at the totality of the circumstances to determine if your statements were given voluntarily and if they violated your constitutional rights.
Moreover, laws and court decisions can change over time, so what might have been true at the time of this response could be different in the future. Again, I cannot stress enough the importance of consulting with a qualified attorney if you find yourself in a legal situation.
If you are ever detained or arrested by the police, it is generally best to remain calm, assert your right to remain silent, and request an attorney. Speaking to law enforcement without legal representation can be risky, even if you believe you are innocent or believe your statements won't be admissible as evidence.