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 » Scripters
Home Search
 

Re: How can I add Acceleration/Deceleration to this script?

Previous Thread :: Next Thread 
Eauz is not online. Eauz
Joined: 23 Jul 2013
Total Posts: 2942
12 Jan 2016 03:30 PM
I tired for loops to slowly go up to the forwards speed which is 50 but the script couldn't keep up if there was to be fast clicks.

Anyway, here's the main part of the script script

seat.Changed:connect(function()
if seat.Throttle == 1 then
body.velocity = seat.CFrame.lookVector*50
elseif seat.Throttle == -1 then
body.velocity = seat.CFrame.lookVector*-20
else
body.velocity = Vector3.new(0,0,0)
end
end)


Report Abuse
koen523 is not online. koen523
Joined: 23 Feb 2011
Total Posts: 4026
12 Jan 2016 03:37 PM
my little brother koen500 told me once to add a wait or something
(don't take my advice I can't script that well ^^)
Report Abuse
Happywalker is not online. Happywalker
Joined: 05 Mar 2010
Total Posts: 3672
12 Jan 2016 03:46 PM
^ that should fix it
Report Abuse
Eauz is not online. Eauz
Joined: 23 Jul 2013
Total Posts: 2942
12 Jan 2016 03:47 PM
what do you mean by adding wait()? I don't think that helps at all xD
but thanks for trying :). You are rare nowadays.


Report Abuse
koen523 is not online. koen523
Joined: 23 Feb 2011
Total Posts: 4026
12 Jan 2016 03:47 PM
you serious?
Report Abuse
koen523 is not online. koen523
Joined: 23 Feb 2011
Total Posts: 4026
12 Jan 2016 03:48 PM
^talking to the guy above
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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