v.PlayerGui['build']["ImageLabel"]["label"].Text = tostring(game:GetService("TextService"):FilterStringAsync(key,v.UserId))

A relatively simple script, it didn't work before and caused an error so I wrapped it in a tostring(), however, when I execute it, it returns "instance", not the filtered text, how do I change it so it returns the actual text?

[Edit by JesseSong:] Please incorporate errors in the output or any relevant information which can assist us answer your question correctly, as the community will be well - equipped to resolve your perception. -- Thanks, JesseSong

2 comments

0

Have you tried troubleshooting yourself? Like using print()? Also check what the error message is.

0

The error message was that it expected a string and got an instance, and yes I have used print()