Essentially, i’m trying to create instances and update their positions via already existing parts in the game whilst being as efficient with the code as possible using the for i, loop.
Problem is, I can’t seem to get the script to properly locate the instances even though I’m pretty sure I have the correct syntax for the string to locate each part (i even printed the string and it’s identical to the instance names).
EDIT: as a sidenote, yes the existing parts are created by the same script but before the for i, loop.
EDIT 2: as some clarification I’m trying to locate Seabed1 all the way up to nine, not the actual string name seabed.
Don’t really know what’s going wrong here, any help?
Well uh I think I saw it off the bat without needing to even look in output, basically “seabed” probably hasnt loaded yet and its erroring because the script cant find it in the LandMasses folder
What I’m trying to say is I need to locate Seabed 1 - 9 using the string as a means of instance name identification. What is probably happening here is its trying to locate seabed and not Seabed1 which is what I actually want. That’s what I’m trying to fix. Sorry if I confused you
I’ve looked over different amounts of sources already and I can’t really find a fix for this situation; could anyone give some example code on how I could fix the error?