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

How to make a script that changed transparency of a part?

I am making a script that changed transparency of a part but I dont know where to start.

2 answers

✓ Accepted answer

NOTE: This is a website for HELPING not making scripts, next time how anout you try before asking how to do it

game.Workspace.Part.Transparency = (What transparency you want) 

In each base part (regular Part, mesh Part, e.t.c.), there is a property called Transparency

For instance, there is a part in the Workspace named "Part"

To make it half-transparent, you will use this line of code:

workspace.Part.Transparency = 0.5

The value for every transparency property is in a percentage (100% = 1; 50% = 0.5) so you'll have to use it that way.

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