Go to Roblox creator store and click "get model"
1. Open toolbox;
2. Go to your inventory;
3. Drag rDoors model to the workspace;
4. Click "ok";
local DoorAnimStyle = "StopAndGo"
"StopAndGo" (Default) or "Elastic" (Coming soon)
local DoorAnimTime = 4
Any number
local CustomTween = false
Boolean.
local CustomTween = TweenInfo.new()
Visit roblox documentation for more information.
We do NOT recommend making your own tween!
local OpenDegrees = 90
Any number between 0-360
local ClickDetector = false
Boolean. It will replace proximity prompt with click detector.
local MaxActivationDistance = 10
Number. This property controls the maximum distance, in studs, between a Character and the ClickDetector.
local ActionText = "Open"
String. An optional action name shown to the player.
local ClickablePrompt = true
Boolean. Whether the prompt can be activated by clicking/tapping on the prompt UI.
local GamepadKeyCode = Enum.KeyCode.ButtonX
Enum. The gamepad button the player should press to trigger the prompt. Visit roblox documentation for more keys.
local HoldDuration = 0
Number. The duration, in seconds, that the player must hold the button/key down to trigger the prompt.
local KeyboardKeyCode = Enum.KeyCode.E
Enum. The key the player should press to trigger the prompt. Visit roblox documentation for more keys.
local MaxActivationDistance = 10
Number. The maximum distance a Player's character can be from the ProximityPrompt for the prompt to appear.
local ObjectText = ""
String. An optional property that determines the object name text shown to the user.
local ReqCardLevel = 1
Number. Required card level to open the door.
local OpenDuration = 3
Number. How long the door will be unlocked.
local MaxActivationDistance = 10
Number. This property controls the maximum distance, in studs, between a Character and the ClickDetector.
Whitelist
local GroupWhitelist = {
[Group id: Number] = Group rank to enter: Number,
}
local PoepleWhitelist = {
UserId: Number,
}
OpenDuration
local OpenDuration = 3
Number. How long the door will be unlocked.
local CardLevel = 1
Number. Card level.