Hi guys,
I need help with my script. Is there a method to find the first child that starts with XYZ?
For example, I have a part called XYZ93718361.But I only now that it starts with XYZ.
Something like
local x = game.workspace:FindFirstChildThatStartsWith("xyz")
if x then
print("Found a part that startswith XYZ")
end
Thanks ;)

3 comments
thanks! I'll try that.
it works. Accept his answer.
Explain what you're actually doing