So basically I’m trying to check all args of a text label to see if a specific string is found.
This is what I have so far;
local BADGES_TEXT = string.lower(TARGET_CHARACTER.Head.Rank2.PlayerBadges.Text)
if BADGES_TEXT:sub(4, 5) == "💝" then
--// code here
But this obviously wouldn’t work if the is between lets say 3,4, or 6,7. So how could I check all args to see if the exists? I don’t want to see if the text label has only the heart, the text label will also have other emojis. So how do I filter through all those emojis to see if the emoji is there?