Not working I bet its easy to fix..
game.Workspace.Part.Transparency = "0.5"
Why not working?
Not working I bet its easy to fix..
game.Workspace.Part.Transparency = "0.5"
Why not working?
There are two possibilities for you here, seeing as how you aren't completely clear in your question:
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.
I think you know this..
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.