Hi once again, yesterday I made a post regarding deleting a Decal with a local script, which in the end got figured out and it worked perfectly. Until, It brought another error saying this:
19:16:53.476 InsidePortal is not a valid member of Model "Workspace.Island2.TeleportingStuff2.PortalArea2To3" - Client - DecalDeleter2:4
19:16:53.477 Stack Begin - Studio
19:16:53.477 Script 'Players.tkuski08.PlayerGui.LockdecalDeleters.DecalDeleter2', Line 4 - Studio - DecalDeleter2:4
I put this error to the side for a bit as I thought there was another reason for this and began working on a ProximityPrompt to open a Gui (easy enough once again), but, once i tested this I got the same error (different place in workspace, but same exact things basically) , saying that this “InsidePortal” part isn’t a member, when I’m pretttyyy sure it is.
Does anyone know why this error is happening when “InsidePortal” is a valid part in the model? I was thinking it may be as it is a MeshPart (from Blender), but that wouldn’t make much sense.
No… that means InsidePortal doesn’t exist, can you show the explorer of Island2 and Island1 while testing, did it say infinite yield on InsidePortal?
I see, it seems to not exist in Island 1 but in Island 2 it does. It gives the error for it in Island 3 though, where it exists as well but has nothing inside
Edit: Oh and sorry this is the error
21:03:00.480 Infinite yield possible on 'Workspace.Island3.TeleportingStuff3.PortalArea3To4:WaitForChild("InsidePortal")' - Studio
21:03:00.480 Stack Begin - Studio
21:03:00.480 Script 'Players.tkuski08.PlayerGui.LockdecalDeleters.DecalDeleter3', Line 4 - Studio - DecalDeleter3:4
21:03:00.481 Stack End - Studio
Can you send a screenshot of the explorer of the islands together while testing? Also, you said that they don’t exist? Maybe they’re being destroyed by other scripts or it fell out of the map
Sure, one second. About the deleting part, theres something that is being deleted which is the decal inside of the “InsidePortal”, but not that part itself…
I should mention that theres a number value also, when set to 1 (the minimum number everyone begins with) everything works fine as nothing is really being run, but when its at or above a certain number like 2(for island 1) 3 (for island 2) and 4 (for island 3), thats when things start happening. So when testing, this script works and deleted what it was supposed to, just gives the error. Sorry its confusing lmao.