generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How to make an elevator!?!

Previous Thread :: Next Thread 
Joey51110 is not online. Joey51110
Joined: 29 Sep 2011
Total Posts: 1
07 Aug 2014 08:46 PM
I have looked all the over the web and cannot possibly find out how to make an elevator. I need an elevator that will be able to have multiple floors for an apartment building I am currently working on I know Studio very well but I am not good at scripting😐
Report Abuse
seanbenish is not online. seanbenish
Joined: 31 Jul 2009
Total Posts: 429
07 Aug 2014 08:54 PM
You could constantly move the CFrame of the elevator. EX:

while wait (.2) do
if --button function-- == true do
for i = 1, --difference in floors by 1 stud-- do
game.Workspace.--object--.CFrame = CFrame.new (0,1--positive up, negative
down--,0)
wait (.1)
end
end
end
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image