#Make a part invisible per script

1 messages · Page 1 of 1 (latest)

formal glacier
#

Hey I want to make a part Transparent per script the part I want to make invisible is the open thing and the one I want to make visible is the open thing 2 when I use this script it says: Players.Flipy_XYZ.PlayerGui.ScreenGui.Frame.Mc.LocalScript:11: attempt to index nil with 'Transparency' so that it doesnt exist but I dont know how to do that ca anyone help?

cloud nebula
#

try waiting for it

#

it might not exist when the code initially runs

formal glacier
#

sadly doesnt chage anything

#

change

honest parrot
#

You need to use WaitForChild, your FindFirstChild doesn't care if the instance exists or not

formal glacier
#

I did

rare jetty
#

Do find descendants instead

#

U have it inside 2 diff models

#

Or get descendants*

#

Or

#

Workspace.doors.model.model:getchildren

#

Getchildren() only works for that one specifc instance

#

It doesnt go further into it