Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can someone give me some verification for a little script? [closed]

Asked by 5 years ago
Edited 5 years ago

This question already has an answer here:

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?

0
dont mine the ~! code block messed up Pr_ogram 17 — 5y
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 User#5423 17 — 5y

Marked as Duplicate by User#19524

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

2 answers

Log in to vote
0
Answered by
Talveka 31
5 years ago

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
Ad
Log in to vote
0
Answered by
Rare_tendo 3000 Moderation Voter Community Moderator
5 years ago

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