This script is meant to make its so when you touch the block it becomes transparent and CanCollide becomes false. Its not working. Please help!!!
script.Parent.Touched:Connect(function(p) p.Parent.Transparency (100) wait (0.2) p.Parent.CanCollide = false wait(1) p.Parent.Transpareny (0) wait (0.2) p.Parent.CanCollide = true end)
script.Parent.Touched:Connect(function(p) p.Parent.Transparency = 1 wait (0.2) p.Parent.CanCollide = false wait(1) p.Parent.Transparency = 0 wait (0.2) p.Parent.CanCollide = true end)
why Transparency (100) ? a value between 0 and 1 will do.