So when I set the CanCollide to false and the transparency to 1 on a tycoon door I have, the tycoon door is removed from the game after maybe two seconds. When I don't the script runs fine. I really don't want the door removed from the game. Why is this happening and how can I fix it? Is it garbage collection maybe? I don't know. Anyway all I am doing is this:
script.Parent.CanCollide = false
script.Parent.Transparency = 1
No other code is the problem because I tested it without these to lines and it worked like a charm. Please help me out if you can. Thanks!

5 comments
Are you sayinig it was not anchored in the first place?
You know what you might be right lol.
I never checked about the anchoring
You were right thank you so much!
No problem :)