Im making a global platform, you can choose your own name and profile image, but I want to filter the username, how?
Just use the filterStringAsync (there is more to it then just that so I will leave u a link so you can give it a read.)
I already read this, it’s kind of confusing.
It is not that confusing and is quite simple really.
So basically you just need to do FilterStringAsync. This function needs the text and then the player user ID.
Once done this you need to like change it so it can be used. There are a few ways to do this but you can use the below method due to it not being for chat (the :GetNonChatStringForBroadcastAsync() ).
This just requires you to just do the filtered object you got and then do the function to it as shown below.
(you should really use a pcall function for this because it requests off from studio so if it cannot do this for some reason you need to deal with this)
Also just something else is that the filter does not work if your testing in studio so you will need to test it in a game server.