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

Can someone give me some verification for a little script?

Ahh... more trouble guys

if


child.Value == 1
~~~~~~~~~~~~~~~~~
then 
	wait (5)~~~~~~~~~~~~~~~~~

Parent.Part.PhysicalProperties.Transparency = 1
end

would this work?

2 comments

0

dont mine the ~! code block messed up

0

You should preview your question before posting it. Can you also not repost your question as you can edit them. Your question will be moderated as a duplicate. https://forum.scriptinghelpers.org/topic/82/how-to-format-questions-answers-on-the-main-site

2 answers

✓ Accepted answer

You've got an issue there, Transparency isnt a part of PhysicalProperties.

You can get transparency by Part.Transparency.

example;

script.Parent.Part.Transparency = 1

Transparency is a property of a Part, not PhysicalProperties. Also, PhysicalProperties isn't a property of Parts, it is a datatype.

Try this:

Parent.Part.Transparency = 1

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