This time i will show you how to make a door that opens when you use a key.
How to make a locked door in roblox.
This kit grant you the possibility to place door that you can lock unlock with a key.
Place a small brick preferable with the same thickness of the frame at the bottom of the frame making sure that there is space between one side of the frame and the brick you just put down.
Link to the script.
I m going show how to make an opening and closing door in roblox studio with script and i ll use union and negate when building it.
Not building only scripting this time.
If a key has a same id then a door it can lock unlock it.
Town and city updated.
Create another key or door and change their id.
If a door is unlocked you can open it or close it.
It wouldn t let me put the script in the description so look in the comments.