Im not on my computer atm. I would like for someone to test this out. I want when anything touches the part, the transparecy is at .5
function touched(part)
part.Transparency=.5
end
script.Parent.Touched:connect(touched)
Im not on my computer atm. I would like for someone to test this out. I want when anything touches the part, the transparecy is at .5
function touched(part)
part.Transparency=.5
end
script.Parent.Touched:connect(touched)
I find it really easy doing touched functions like this
--Put this script inside the part
script.Parent.Touched:connect(function(part)
part.Transparency = .5
end
Perfect!
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
change funtion for function and it'll work
Ok thanks. If you dont mind, is there any other way of doing this?