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

Any help plz?

Not working I bet its easy to fix..

game.Workspace.Part.Transparency = "0.5"

Why not working?

3 answers

✓ Accepted answer

There are two possibilities for you here, seeing as how you aren't completely clear in your question:

  1. You want the part to have 0.5 Transparency when someone enters the game. Easiest thing to do is go into the properties of your chosen part and change the 'transparency' to what you want it to be. No scripts needed.

or, 2) You want it so that when you touch a brick, it changes the transparency. You've had a go, but you'll need a function to activate the script:

function onTouch()
	script.Parent.Transparency = 0.5
end

script.Parent.Touched:connect(onTouch)

Make sure the script is inside the part you're wanting to be transparent.

Don't put the quotes around .5 and make sure the part name is actually the name of the part in the workspace.

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