function onTouch(part)
local r = script.Parent
r.Transparency = .5
wait(1)
r:remove(part)
end
script.Parent.Touched:connect(onTouch)
This script is currently working (sorta), The only problem is that I can't seem to make it so that the block only gets removed when a player touches it. I've tried a few things that result in breaking the script, so this is the version of the script that is halfway working.
Any help?
