Oh god, dont be stupid please.
I JUST SCRIPTED THIS CODE, NOTHING MORE NOTHING LESS.
How can I fix my code?
The SendClientMessage is on playerid instead of the target. Also recommend using the r or u specifier instead of i or d for player targeting. That way they can type part of the players name or id instead of just id