I'm doing a roblox Obby were when you touch a part that part disappears and then you can fall through it but when I touch the part it doesn't do anything but the script says it's working.
function onTouched (Obj)
script.Parent.Transparency = Transparency.new ("1")
script.Parent.CanCollide = CanCollide.new (False)
end

2 comments
You don't need to instantiate anything to represent a primitive data type.
you don't have to make a new value to do it