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 » Game Design
Home Search
 

Re: How do i make this faster?

Previous Thread :: Next Thread 
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
04 Aug 2015 08:18 AM
local model = game.Workspace.Model
local finish = model.Finish
local Platform = model.Platform
local start = model.Start
local bodyposition = Platform.BodyPosition

while wait(2) do
bodyposition.position = start.Position
wait(2)
bodyposition.position = finish.Position
end

--i want Platform to move faster
Can you help me?
Report Abuse
Exine is not online. Exine
Joined: 01 Apr 2013
Total Posts: 3783
04 Aug 2015 08:23 AM
lower wait time?

-I'm talented without the talented part.
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
04 Aug 2015 08:27 AM
I'm gonna try
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
04 Aug 2015 08:31 AM
I lowered it to 1.5

but platform doesnt even reach the other end before it starts to come back
Report Abuse
ArcticMage is not online. ArcticMage
Joined: 22 Nov 2010
Total Posts: 29384
04 Aug 2015 08:32 AM
did you change both of the wait times


~The LMaD Deer~
Report Abuse
Tycooons is not online. Tycooons
Joined: 13 Aug 2014
Total Posts: 5871
04 Aug 2015 08:38 AM
repeat bodyposition.position = bodyposition.position + whatever amount here
wait(.3)
until bodyposition.position = whatever amount here

could do a repeat
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
04 Aug 2015 08:41 AM
yup i changed them both
Report Abuse
Tycooons is not online. Tycooons
Joined: 13 Aug 2014
Total Posts: 5871
04 Aug 2015 08:52 AM
You could do:

local model = game.Workspace.Model
local finish = model.Finish
local Platform = model.Platform
local start = model.Start
local bodyposition = Platform.BodyPosition

while true do
repeat wait(.01) until bodyposition.position = start.Position
wait(2)
bodyposition.position = start.Position
repeat wait(.01) until bodyposition.position = start.Position
wait(2)
bodyposition.position = finish.Position
end
Report Abuse
MTamidex is not online. MTamidex
Joined: 17 Oct 2013
Total Posts: 1092
04 Aug 2015 09:05 AM
thanks guys. appreciate it
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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