Try my new code please
(char limit))
it doenst appear to work
(char limit)
try only this:
local text = "Text here"
local success, errorMessage = pcall(function()
text = game:GetService("TextService"):FilterStringAsync(text, plr.UserId)
text = feedback:GetNonChatStringForBroadcastAsync()
end)
print(text)
still no results
(char limit))))
can you show me out put?
(char limit)
oh sorry you have to get playerâs userid
Check this line:
text = game:GetService("TextService"):FilterStringAsync(text, plr.UserId)
it simply just doesnt give me any output for this script, no error, no print
You just have to put UserId
text = game:GetService("TextService"):FilterStringAsync(text, plr.UserId)
No. You can and will be punished for this.
Additionally, you should be running any user text through FilterStringAsync()
anyway.
We already talking about that -,-
I have that, but it still gives no output
can I see script please?
char limit_
local text = workspace.Pc.TextBox.SurfaceGui.Frame.TextLabel.Text
local success, errorMessage = pcall(function()
text = game:GetService("TextService"):FilterStringAsync(text, plr.UserId)
text = feedback:GetNonChatStringForBroadcastAsync()
end)
print(text)
You Must change this line Called plr.UserId
to REAL playerâs userId
how would i do this if i want it to be affected to every user though?
Can you tell me more about what you make?
i have a text box, and letters are scattered around the map, you collect the letters and u can fill them into the text box, but i want to filter out the bad words
that mean text that you want to change, that doesnât typed by player?
No, i want to make it so when a player types a bad word into the text box, it turns into hashtags