Take the door here: https://www.roblox.com/library/6350548524/Fade-Door
This is a free door I quickly created, which fades using TweenService. If you have no idea how to script, this door is for you. It’s open-sourced as well, so you know what you’re putting inside of your game.
All you need to do is configure the values in the Configuration folder. Here’s how to do it:
Configuration
The script will read these values and assign them accordingly.
Main:
-
ClickPart
[ObjectValue] = Assign a part to the value, and the script will create a new ClickDetector instance in that part. -
OpenTime
[NumberValue] = Number of seconds the door will be open once clicked -
TweenSeconds
[NumberValue] = Number of seconds the door will take to open
Group Settings: (GroupId
+ RankAllowed
only work if isGroupEnabled
is true)
-
isGroupEnabled
[BoolValue] = For group compatibility - set to true if you want it to be group-only -
GroupId
[NumberValue] = ID of desired group allowed* -
RankAllowed
[NumberValue] = RoleSet above allowed of desired group allowed*
I created this low-poly barn door to showcase how the tweening works. Place parts that you don’t want to have tweened outside of the Geometry folder.
No credit is needed, enjoy!