Extremely easy elevator system

Hello!

My name is Froyo and the other day I was super bored so I made this really easy to use, elevator system!


So here I am letting anyone be able to use it!!

Get it here.

Download:
ElevatorSystem.rbxm (6.3 KB)

Marketplace item:
ElevatorSystem - Roblox


Some notes

If you wish to add more parts to the elevator such as walls, a roof, etc. Make sure you weld them to the models primary part.
also make sure that the parts you are welding to the root are unanchored. Other wise they will not move with the elevator

The primary part is in the elevator model and called “Root”


If you wish to make the the time it takes to get from one place longer or shorter,

Here's how

Open the elevator model.
There should be a folder called “Details”.
In there will be a value called “Time”, change its value to whatever you want!


Also

If you wish to make the elevator go to the side or up higher or whatever, there are some things you have to change!


You will probably notice that there are two parts.
One is red
And the other is green.

Red is the down position
And Green is the up position

  • when it goes up it goes to Green(The green part)
  • When it goes down it goes to Red(The red part)

You can move these parts where ever you want!

Note. When using this make sure the elevator model, red and green parts stay inside of the folder at all times! otherwise this will mess up the code!! This also allows you to have multiple elevators in one game!!


If you have any questions or feedback feel free to ask!

~Froyo~


also if you are going to flag.

Please correct me on what I did wrong that way I can keep this out there so people can find it!
If you tell me what I did wrong I will then correct it!
Thank you!


A video of it!


I am also going to add a calling system in a second or two, so you can call it from any floor

15 Likes

Great resource! Maybe consider adding some pictures and/or videos!

2 Likes

I will do that In a second, thanks!

1 Like

Just a quick suggestion, use Once for any Completed tween connections.

promt.Triggered:Connect(function()
	if moving == false then
		if upOrDown == 'Down' then
			moving = true
			warn('Going up')
			upOrDown = 'Up'
			upTween:Play()
			
			upTween.Completed:Once(function()
				moving = false
			end)
		else
			warn('Going down')
			upOrDown = 'Down'
			moving = true
			downTween:Play()
			downTween.Completed:Once(function()
				moving = false
			end)
		end
	end
	
	promt.ActionText = upOrDown
end)
4 Likes

Just a note.
I will be making a more advanced version of this soon!

4 Likes

What is the difference in using :Once() and :Connect() ?

1 Like

It automatically disconnects the connection after it’s done. Saves up memory.

2 Likes

Is this compatible if the player is holding a tool?

2 Likes

Yes. As long as they activate the prompt it will work.
Cause thats how prompts work so yeah!

1 Like