Hello, i was creating a plugin and i would like to add a setting called “Filter text” since this plugin adds text that will be showed to players (a typewriter) and i would allow users to choose to filter the string that they input in the plugin if they want to. Anyways i need to make a function that filter the text and since i would filter the text right after that it is inputted and not during the game i cannot use the functions of the ChatServiceRunner and the TextService function because for the first i need to be in the game and for the second, the id of the user is required and even if i get it using StudioService:GetUserId() it says that the user has to be connected to a server.
Is there any way to do this, or do i need to filter the text when the game is runned?
Thanks!