So, I made a button, then I put this into it:
local function onTouch(hit)
modelOfBricks = game.Workspace.Model
nameOfBricks = "Porto"
for i,v in pairs(modelOfBricks:GetChildren()) do
if v.Name == nameOfBricks then
v.Transparency = 0
v.CanCollide = true
end
end
end
.Parent.Touched:connect(onTouch)
Now I can't figure out how to make this button disappear immediately after being touched.
EDIT: Answered by rexbit, many thanks to her.

2 comments
What's the wait() for?
The wait isn't necessary, I add it just to keep things in order. If that's your reason to downvote then think twice, this script works, I just added a wait to keep it organized.