the script i made keeps throwing errors at me and i try to fix them but it doesn't work. I'm trying to find the path to a specific text area so that people with the vip pass won't see the message. i know it sounds weird that i need to find the path to a gui i made myself, but i made it where all gui objects move into different areas (e.g. game.StarterGui.example.stuff to game.StarterGui.example.oof)
for i,v in pairs(game:GetDescendants()) do
if string.find(v.StateType, Text) and v.Text == "gvbadfuyhvbhdu" then
print(v:GetFullName())
end
end

2 comments
Also I'd suggest not looping through all of the DataModel's descendants. If you really can't find another way to reference it then loop through just one service you know it will be in.
when doing get descendants with datamodel run that code with pcall or else it may error due to RobloxLocked objects