Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I'm making an elevator and I need help with the script?

What I want the elevator to do is wait a bit then go down and then stop and then go up and stop ONLY when it gets touched by a player, please help. Sorry if there is not much script, It's just I don't really know about CFrame and new positions.

local model = script.Parent
 
local function onModelTouched(part)
   
end

2 comments

1

I don't have an answer but for the move up thing and move down thing you could use TweenService()

0

ok

1 answer

✓ Accepted answer

As suggested by 123nabilben123, you'll want to look into the tween service. It's a very user friendly service that's incredibly simple to understand. You will need to understand about how to use CFrames and Positions a bit but most of what you'll need to know is basic math. For a great tutorial on the tweening service try this one by Alvinblox. It's short and VERY simple to understand.

https://www.youtube.com/watch?v=qgGDwTn0zgo

1 comment

0

alright

This discussion is preserved as it was. New answers, comments, and votes are closed.