How would I make a door open?

Hi! So I am developing a prison at the moment and I want staff to be able to open a door with Proximity Prompts, but I have no clue how to do it.

Any help would be appreciated, thanks.

That doesn’t tell me how to open the door, it tell’s me how to change the colour of the block.

Oops, hopefully this one works. Roblox Easy and Simple Proximity Prompt Door || Tutorial - YouTube

That doesn’t help.
I need it to be rank locked and it so it has an animation when being opened and when being closed.

Probably a matter for #scripting-support, you will need to detect when a player has the correct rank, locally keep or remove the proximity prompt, then animate the door.