local playerid = game.Players[rapper.Name].UserId
local filteredlyric = textservice:FilterStringAsync(m, playerid)
print(filteredlyric)

This just prints "instance," with "m" being the message uttered by the speaker (comes from Player.Chatted).

Edit: Solved by removing .UserId from game.Players[rapper.Name].UserId. Idk why this works but it does!