I’m making a custom chat script, that uses / to type (like normal). The problem is that game isn’t registering that / has been pressed. Here is my code:

I’ve looked through a few devforum posts, but I couldn’t find anyone having similar issues.
If anybody knows why this happens or how I can fix this, please help me out.
(also, this is running on a localscript in playerGui)