Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why doesn't a simple part.Visible=false not work?

part = script.parent part.Visible=false is there something i am missing out?

3 comments

0

part.Transparency = 0

0

0 is completly visible while 1 is invisible

0

ik i got mixed up

3 answers

Visible isn't a property.

Try:

part = script.Parent
part.Transparency = 0

6 comments

0

u should have just commented wth

0

well this is an answer. not a comment is it?

0

shows ur doing it for the reputation i guess?

0

jk jk that is kinda rude

0

no point answering if its smth really simple

0

Ohh okay, well there is a checkbox in the properties that is names ''Visible''. I thought everything in the properties can be changed through script.

I read your comment, there is no check box for a parts visibility, you were probably looking at a GUI but in this case, you can use transparency.

local part = script.Parent
while wait() do
part.Transparency = 0
wait(1)
part.Transparency = 1
end

Part.Visible is not a valid property so use Transparency instead.

This discussion is preserved as it was. New answers, comments, and votes are closed.