I need to make the decal go transparent with the decal. And also add a glass smashing noise.
local debounce = false
script.Parent.Anchored = true -- Anchores brick
script.Parent.ClickDetector.MouseClick:Connect(function()
if debounce == false then
debounce = true
script.Parent.Transparency = 1 -- Makes Block Invisible
script.Parent.CanCollide = false -- Lets Player Walk Through Block
debounce = false
end
end)
I do not know Lua, I copypasted this code. Give me what I need to add. I'll try to learn it.

1 comment
You can make a decal transparent by doing decal.Transparency = 1