What script should i use so that if the player touches an object, then another object must be False CanCollide and 1 Transparency. This would be helpful for making a level system in roblox.
First of all you can detect if a player touches the part with a touched function like i have done below then you can edit the properties of the other part.
script.Parent.Touched:Connect(function(hit) game.Workspace.Part2.Transparency = 1 --change part2 to the name of the part game.Workspace.Part2.CanCollide = false end)