✓ Accepted answer
What you need to fix is what the transparency is set to. Your code is correct its just that you need to use a 1 instead of a 0
local money = 20
script.Parent.Touched:connect(function(work)
if money > 10 then
workspace.Block.Transparency = 1
end
end)
For transparency you can pick numbers between 1-0 (side note: numbers bigger than one and less than 0 can be used but wont change much as something cant be more invisible then 100% and something can't be less than 0% invisible) the bigger the number you put the more transparent the object will be while the less the number you put the more visible it will be.
4 comments
Is this in a script or local script?
for all i can see this should make the block visible
It's in a local script
You'll need to move it to a script as a local script wont be able to change anything in the server