What I'm asking is how do you make it so if the transperancy is 0, it kills you, but if it's transperancy is 1, it doesn't do anything to you? It'll go from invisible to visible in 10 seconds. Here is the script I am using.
function onTouched (part)
local h = part.Parent:findFirstChild ("Humanoid")
if h~=nil then
h.Health = 0
end
end
script.Parent.Touched:connect (onTouched)
