I am trying to remove the code in this script that doesn't have to do with the ChatGui. I have tried removing a lot of items but all of the items I have removed either have destroyed the script in same way or the gui would work but the other parts of the script would also work, but all I want is just the ChatGui to work and nothing else.
I am not able to upload the code because it is to long so, I will just link the script I uploaded as a model.
https://www.roblox.com/library/895532680/Framework-SPS