Getting Started with Roblox Studio

Image by Roblox Studio

Learn how to start making 3D games on this cool platform with over ninety million users.

Roblox. Given that they claim to have over ninety million active users a month, odds are pretty good that you’ve either played it or heard of it. For everyone else, Roblox is a platform for making 3D games with Lego-looking characters that can be used to create all sorts of free games to share with other people. It’s easy to pick up and play, but getting started coding with it can be a little intimidating. That’s what we’re going to tackle in this article!

To start with, you need to go to to download Roblox Studio, the big chunky development platform for making Roblox games. After you log in, you should see a series of options that looks like:

For the purposes of this introduction, select the option for “Baseplate”. This is the absolute minimum environment in Roblox!

Let’s talk a little bit about what you’re seeing here: this is the development environment for Roblox. It shows you all the things you’ve put in the game as well as a bunch of menus and informational windows about all the objects in the game. To make things easier, I recommend clicking on the “View” tab and then making it look like:

This lets us have windows that list all the items in our game as well as all the ways we can modify them.

Our very first test is to place some basic shapes by clicking on “Part”. If you click on the little black arrow under the word “Part” you’ll see that you can choose a few basic shapes to add into the game.

Every time you add something you’ll see a new thing be added to the “Explorer” window on the right-hand side of the screen. If you click on it, you’ll be able to see the properties of the object: its color, what its made of, and even things like its position and speed. Just for fun, set the y-velocity of one of the objects you placed to a big number and start the game. Hopefully you saw it shoot off right into the air then fall back down again!

What’s that? It happened really fast? Huh! I wonder how one would slow it down?
This is a good opportunity to go into something I think is missing from a lot of Roblox introductions: how do you code objects?! To start, click on the part you added in the Explorer tab and you should see a little “+” symbol that you can click on to add a child. Add a new script and replace the print(“Hello, World!”) with the following Lua code:

thing = script.Parent
thing.Velocity =,0,0)
thing.Velocity =,200,0)

Let’s talk out some of the concepts at play here:

  • Since the script you made is a child of the part, you can get access to the part itself with script.Parent.
  • We make sure the object is still at the beginning by giving it a velocity (which is like speed but where you list the speed in each direction instead of a single number like 55 MPH) where each of the three components is zero.
  • We wait fifteen seconds.
  • Then we set the velocity of the part to go straight up.

Now try your game again and stare intently at the part you put down. Wait for it… and pop! It goes into the air.

At this point, you can start playing around with the building tools. I’m de-emphasizing them a little bit here because the Roblox site has a number of tutorials that already cover how to place things. I will say that you should play around with hinges in order to try out how to connect objects together.

The next big concept I want to cover is how to make objects while the game is running.

Go to the ServerScriptService item in the Explorer and add a new script, then add the following code inside it:

function makePart()
	local newPart ="Part", workspace)
	newPart.Position =,50),0,math.random(-50,50))
	return function ()
		newPart.Velocity =,200,0)
jumper1 = makePart()
jumper2 = makePart()
jumper3 = makePart()

Here we defined a function to make new parts that returns a function, a closure actually (which is explained in a different article in this issue) that when called makes the part “jump”. We make new jumpers by calling this function and, one by one, make all three new parts jump!

This is a pretty bare bones example but it shows how just a little bit of Lua code can go pretty far! So try out Roblox, have fun with it, and use it as an opportunity to sharpen your coding chops!

Happy hacking!

Learn More


Wizard Tycoon

Roblox studio

Studio basics

Roblox Studio

Roblox coding courses

Walk-through Brick in Roblox

Game Creation Tools

Roblox Foundations


  • Clarissa Littler

    Clarissa has worked in mathematics, physics, and computer science research but spends much of her time now trying to make computer science education accessible to a broader audience.

Also In The October 2019 Issue

Bring out your virtual carving knives — it’s time to give your digital pumpkins some spooky faces!

30+ ideas for STEAM-theme gifts for kids of all ages!

Teach kids basic coding skills by letting them program Botley to zoom around the room, draw shapes, and even avoid obstacles!

How 3D printing could help us get to Mars, and create new tools, homes, spacecrafts — even organs!

No discussion of design is complete without the history of lorem ipsum. It's more than placeholder text you stuff into a visual design.

"Hello World!" is one of the first programs you learn how to code. Here's the phrase in 4 languages with links to 100 more examples.

Learn the delicious-sounding secrets that websites use to keep your passwords safe from hackers.

A simple, quirky theorem with big applications, from picking socks to counting hairs.

Are you ready to create your virtual own solar system? With a little Python code and a little math, the sky’s the limit!

Learn some of the tricks game developers use to simulate an extra dimension.

How scammers can trick you into downloading malware onto your own computer.

There are pros and cons to networking all the “smart” devices in your home. What surprises does the future hold?

Sometimes, even the most dynamic languages need to classify and check data. Now, you can add your own types to any language!

Is it possible to steal software? And how do we know who owns code?

Check out this nifty feature that helps programs distinguish between variables with different scopes.

Create a simple electronic game with CircuitPython and Adafruit, and test your reflexes against friends and family!

Links from the bottom of all the October 2019 articles, collected in one place for you to print, share, or bookmark.

Interested but not ready to subscribe? Sign-up for our free monthly email newsletter with curated site content and a new issue email announcement that we send every two months.

No, thanks!