Game Guides > Game FAQ >  

How do you make a car on roblox

How do you make a car on roblox
Making a car is easy unless you don't know how to script LUA. If you don't, look in the Roblox wiki; it's extremely helpful.

First- Make two squares, and attatch them together. This will be the body.

Second- Add a joint on each side (not the front) of the front square of the body.

Third- Add a motor joint on each side (not the back) of the back square of the body.

Fourth- Make four wheels.

Fifth- Attatch one wheel to each joint/moter on the body. The joints on the car should connect with a FLAT side of the wheels.

Sixth- Place a seat on the top of the front square of the body. This will be the driver seat.

Seventh- Open your scripting thingy. Script instructions for the following:

-when the seat is sat in, the user controls the moters of that exact car;
-when the user presses the "up arrow" key, both of the motors accelerate forward;
-when the user presses the "left arrow" key, the right side motor accelerates backwards, and the left side motor accelerates forwards;
-when the user presses the "right arrow" key, the right side motor accelerates forward, and the left side motor accelerates backwards;
-when the user press the "down arrow" key, both of the motors accelerate backwards.


You also need to script and tell the computer the following:

-This is the driver seat;
-this is the left motor;
-this is the right motor;
-left motor accelerates forward: counter-clockwise;
-right motor accelerates forward: clockwise;
-left motor accelerates backwards: clockwise;
-right motor accelerates backwards: counter-clockwise.


If you don't know how to script LUA, look in the Roblox wiki; its extremely helpful.


Now, you can add a passenger seat on the top of the back block on the body (this is optional).