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

This wont work?[SOLVED]

if function(clicked) then
game.Workspace.Part.transparency = 0.5
end

1 answer

✓ Accepted answer
function onClicked(part)
	game.Workspace.Part.Transparency = 0.5
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)

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