You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
When you click once, the part appears, when you click again, the part dissapears. -
What is the issue? Include screenshots / videos if possible!
I cannot make it so when you click once, it appears, when you click again, it dissapears. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried changing the first “end)” around but couldn’t figure that out.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
MasterKey = script.Parent
Click = workspace.MasterKeyInsert.ClickDetector
Click.MouseClick:Connect(function()
MasterKey.Transparency = 0
end)
Click.MouseClick:Connect(function()
MasterKey.Transparency = 1
end)
This is probably really simple, but then again we all make mistakes.