I am making a door that will open when touched by a specific NPC, that works fine so far, but I am having a problem, when I want this function between the door and the NPC to happen a Vector3 command will be sent for put the door back to it's original position (I did this for prevent the door from moving multiple times with a CFrame command I used, since debounce isn't working):
door1.Position = Vector3.new(-5.93, 4.05, -10.925) door2.Position = Vector3.new(-6.43, 4.05, -11.675)
When this happens the door won't return to it's original position, instead it will be put on top of the door's frame, despite the "Collisions" box being unchecked.
I suggest you change the CFrame of the part instead of the Position if you want it to be accurate.
All you have to do is:
door1.CFrame= CFrame.new(Vector3.new(-5.93, 4.05, -10.925)) door2.CFrame= CFrame.new(Vector3.new(-6.43, 4.05, -11.675))