how can i make a door or any other objects to click on them and open or close?
That is very simple, here's how to do it.
Step 1: Build your door.
Step 2: Insert a ClickDetector inside your door.
Step 3: Insert a Script inside your door.
Step 4: Copy and paste the following coden into the script
local isDoorOpen = false local door = script.Parent local click = door.ClickDetector click.MouseClick:connect(function() if isDoorOpen == false then door.Transparency = 1 door.CanCollide = false else door.Transparency = 0 door.CanCollide = true end