Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Can you help me do this it says unable to cast instance to token? pls help!

print(game.TextService:FilterStringAsync("hello",game.Players.Trampyling,game.Players.Trampyling))

1 answer

✓ Accepted answer

3rd parameter must be either Enum.TextFilterContext.PrivateChat or Enum.TextFilterContext.PublicChat or you can leave it blank and let the Roblox deal with it. You would want to leave it black unless you’re making your own chat system separate from Roblox’s chat service.

This discussion is preserved as it was. New answers, comments, and votes are closed.