Click Detector not working when part moves

I have a door script that turns using a Motor6D. It works perfectly fine, but the Click Detector isn’t registering. When the door is closed, I can press anywhere on its surface and it will detect my mouse. When it’s open, the surface area that detects my clicks is much smaller.

Here’s a link to a Gyazo GIF video demonstrating the issue.

How can I fix this?

Im guessing you didn’t move the click detector into the door.
Try moving it into the door part or have it turn the same way the door opens.
If the click detector is not in the door(model or part) then it will stay in the same place

Also,
Check your programming and the output. Is your script erroring?
Check in your script to see if you have the click detector disable itself when open

is your click detector on a different part?
just keep it on the door

btw nice room

I appreciate the compliment! The click detector stays on a single part the entire time.

The click detector doesn’t get disabled, because as you can see in the video, I can close the door. Also, it stays on a single part called “Door” the entire process.

this seems like a bug but idk because the click detector should be a part of the door, click detector properties:

can you show me how you parented the click detector?

Certainly! Here’s an image including a chunk of my script and the parenting.

are you trying the move the click detector too or just the door?

I’m just physically moving the door like a normal door would. Nothing else is moving.

I think maybe because the door is anchored?

I don’t think Motor6D can move anchored parts, and the door is not anchored either.

oh then is there another way to animate the door without using MOTOR6D ?

The entire build will be moved onto an aircraft, so Motor6D is my best solution right now. I don’t think it’s the problem though, since I haven’t seen this issue with any other builds.

You mean like other doors in the aircraft?

Precisely, but I have more doors in my “Château Seat” that work perfectly fine.

this is a stupid idea but do you want to try this lol?
compare ur scripts

What does this do? What am I supposed to do?

1 Like

Can you send me the door model? I can try to see whats wrong with it and then show you what went wrong with it

Sure, thanks for your help. AerodynamicRocket's closet door - Roblox

I have tried the door now and it seems to be working properly on me, not as it appears to you in Gif