Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Unable to cast string to token?

Asked by 5 years ago

I am trying to make a textbox but I want it to filter the text in it but the error in the title appears

localscript:

local TextService = game:GetService("TextService")
script.Parent.Value = script.Parent.Parent.Text
TextService:FilterStringAsync(script.Parent.Parent.Text, plr, script.Parent.Parent.Text )

Help!

0
Are you trying to do it for all players in the server, or is the text UI only for the local player? B_rnz 171 — 5y
0
FilterStringAsync doesn't work from LocalScripts. User#19524 175 — 5y
0
Oh. Ok. mixgingengerina10 223 — 5y
0
I am trying to make a note so everyone can see it but I dont want people to write inappropiate things. mixgingengerina10 223 — 5y

Answer this question