I am trying to write a code that checks if a block’s transparency is equal to 1, and if it is then the can collide will be set to false. However when I try this;
local Part = script.Parent
if Part.Transparency = 1 then
Part.CanCollide = false
else
return
end