CodeHS AP CSP Roblox Tech Guide

Technical guide for educators using the CodeHS AP CSP Roblox course. The information included will help ensure that your class is a success.

Sara Jenis avatar
Written by Sara Jenis
Updated over a week ago

Minimum Technical Requirements

  • Computers less than 5 years old or laptops less than 3 years old

  • Mac OS 10.13 (or higher) or PC with Windows 10 (or higher) for every student and educator (Chromebooks are not sufficient)

  • Computers with 2GB+ of system memory and at least 1GB available hard disk space (at least 10GB of available hard disk space needed after installation)

  • High-speed internet access

  • Whitelisting of Roblox URLs on the school network for student access

  • Installed Roblox Client and Roblox Studio software on all student and educator devices

  • Current web browser to access the CodeHS platform, the Roblox website, and Roblox documentation sites

  • To work with 3D graphics in Roblox Studio, it’s highly recommended that each student and educator use a 2-button mouse with a scroll wheel middle button

Note: Roblox Studio is not available for use on Linux operating systems, ChromeOS/Chromebooks, and iOS/iPads.

Whitelist Domains

The URLs below will need to be whitelisted in the school firewall and security system to connect to the servers when using Roblox and Roblox Studio.

HTTP and HTTPS for these domains:

  • api.roblox.com

  • clientsettings.api.roblox.com

  • versioncompatibility.api.roblox.com

  • chat.roblox.com

  • chatsite.roblox.com

  • assetgame.roblox.com

  • setup.roblox.com

  • setup.rbxcdn.com

  • cdn.arkoselabs.com

  • roblox-api.arkoselabs.com

  • js.rbxcdn.com

  • static.rbxcdn.com

  • captcha.roblox.com

Note: Once the experience launches, it uses UDP ports 49152 - 65535. The IP ranges can be diverse and specific information may not be able to be provided in order to allow individual IPs.

See Firewall and Router Issues for more information about Roblox firewall issues.

Q&A

What software is needed for the AP CSP Roblox course?

In addition to using the CodeHS platform and editor, AP CSP Roblox students and teachers will need to install two Roblox software programs in order to play learning experiences and complete course assignments. The Roblox application (client) is used to launch and play experiences found on the Roblox website or within the app. The Roblox Studio program is used to develop, create, code, and test Roblox experiences.

Note: All of the software required for the course is free to download and use.

What is the Roblox Client?

Roblox is a global platform that brings people together through play. Each player requires a Roblox account in order to play games on the Roblox client or application. Roblox experiences can be played by a single player or with groups of players.

The Roblox Client is used to play experiences and games on the Roblox platform. The application is available to download and install on these devices:

What is Roblox Studio?

Roblox Studio is a free, easy-to-use game development platform that allows you to create your own 3D games. It's used by millions of people around the world, including students, teachers, and developers.

The Roblox Studio program is used to create experiences and games on the Roblox platform. The application is available to download and install on these devices:

Note: Roblox Studio is not available for use on Linux operating systems, ChromeOS/Chromebooks, and iOS/iPads.

How does Roblox software get updated?

Unlike other game engines and software, Roblox Client and Roblox Studio automatically update to the latest version everytime each program launches. Because of this, an internet connection and user permission to install software updates on the student computer is required in order to start Roblox software. It’s important to keep Roblox Studio up-to-date and current to utilize the latest APIs and features.

If your current version of Roblox Studio becomes outdated, you'll see an Update Available button in the upper-right corner. Clicking the button will prompt you to save/close the currently open place so that Studio can automatically update and restart.

Note: As a preliminary measure, please make sure that Roblox software is launched/updated at least once a week. If this has to be done by a school administrator or IT department, Roblox encourages you to schedule that to take place weekly.

Check out Setting Up Roblox Studio for more info!


Roblox Accounts

Who needs a Roblox account for the AP CSP Roblox course?

Every teacher and student enrolled in the CodeHS AP CSP Roblox course will need to create their own individual Roblox account in order to use the Roblox software and complete the course assignments. Accounts cannot be created in bulk and are not connected to a group, school, institution, or class account.

Roblox accounts are free to create and use. Teachers and students can create a new Roblox account on the Roblox home page.

Your Roblox account will give you access to:

Note: Your account will also give you access to the Creator portal that’s used to manage Roblox experiences and assets you create with Roblox Studio.

Are there age restrictions for Roblox accounts?

Account registration is through a form that asks for basic information like a birthday. Names are not needed for initial sign-up. While emails aren't requested at signup, it's recommended to add one since forgotten passwords can only be recovered through email.

If students list their age under 13, that account will have some restrictions. For instance, that student can only see curated games deemed appropriate by Roblox. It’s recommended that students using Roblox software and accounts with the CodeHS AP CSP Roblox course be at least 13 years old.

How can we keep Roblox accounts safe and secure?

There are several ways students and educators can help keep their Roblox accounts safe and secure:

  • Encourage students to choose a unique password and never share it with others

  • Add an email address to your account in order to recover your account if you lose your password

  • Enable 2-step verification (2SV) to your account

  • Always log out of your account when finished using Roblox Client or Roblox Studio

  • Never screenshare or share images of your account information with others

  • Learn how to recognize phishing or scam sites - there's no such thing as free Robux

  • Do not use web browser extensions - Roblox does not have one


Instructional Tips

How can I improve visibility in Roblox Studio for students with visual difficulties?

For students with visual difficulties, you may want to consider changing the theme, colors, or font style in Roblox Studio.

Changing the Theme

  1. Select FILE > Studio Settings

  2. Under the Studio tab, locate Theme

  3. Change to the desired theme - default, light, or dark

Changing the Script Editor Text Font and Size

  1. Select FILE > Studio Settings

  2. Under the Script Editor tab, locate Font

  3. Select the box containing the font name, size, and style

  4. In the new window that appears, adjust your font, size, and style to your preference

See Customizing Studio for more information!

What tools are available in Roblox Studio to help debug code?

Roblox Studio’s scripting editor offers code autocompletion, a color selection tool, and syntax highlighting. Additionally, we suggest opening the Output and Script Analysis windows within Roblox Studio.

To open the Output and Script Analysis panels:

  1. Select the View tab in the main menu toolbar

  2. Select the Output and Script Analysis buttons

  3. You may need to reposition the panels to the bottom of your Roblox Studio window

Students can include debugging print statements within their code to check the flow of their scripts in the Output panel when the experience is tested in Roblox Studio. The Script Analysis panel will show coding errors and script warnings in realtime as students write their Luau code.

Both of these tools may be beneficial to students as the complete assignments in the course.

See the Script Editor for more info!

How will students and teachers share/submit Roblox Studio projects in the course?

Copy and Paste Lua Code

Lua code in Roblox Studio scripts can be selected, copied, and pasted into the CodeHS editor for submission. This is the most common method for students to submit their code in the AP CSP Roblox course. It also allows teachers to use Fast Grade to quickly assess students’ code for the Roblox exercises.

Download and Share a Roblox Studio Project File

Roblox Studio projects can be shared by saving a .RBXL file to a local or shared drive. This file can then be shared and opened by anyone using Roblox Studio.

To download a Roblox project:

  1. Right click on any open script file in Roblox Studio

  2. Select Close All Scripts

  3. Select FILE > Download a Copy

  4. Select the folder or drive where you want to save the .RBXL project file

  5. Give your project file a name

  6. Select Save

Save to the Cloud and Share a Hyperlink

Roblox Studio projects are also saved on the Roblox server under the account logged in to Studio. These can be shared using a hyperlink, but the project must be made Public in order to share the hyperlink. To get a project hyperlink, select the share symbol in the top-right corner of Roblox Studio and follow the on-screen instructions.

Image of hyperlink symbol in top-right corner of Roblox Studio

Team Create or Collaborate

The Collaborate button also allows users to share Roblox Studio projects and give collaborators editing access. This may be useful for pair programming or team projects. Students should be encouraged to only share using the Collaborate button with trusted Roblox users.

Take a Screenshot or Screenshare Video

Additionally, students can take screenshots or even recordings of their Roblox Studio work and gameplay achievements in Roblox Client. Screenshots can be shared/submitted as a way to ensure and assess student progress.

What can I expect from CodeHS Roblox learning games?

The AP CSP Roblox course includes Roblox experiences created for students to play and learn specific course concepts. These experiences are linked in the course and include free-response reflection questions that students can respond to and submit in the CodeHS editor.

One experience is played individually by students, while the other can be played by up to two students in each instance of the game.

The chat and emote features have been disabled for all CodeHS-created Roblox experiences.

Players can earn a Roblox badge from some of the CodeHS experiences, showing they’ve completed and mastered the experience.

Private servers can be created for the multiplayer experiences where paired students can join a single instance of the game together.

Check out Creating Private Servers for more info!


Troubleshooting Tips

Why can’t I launch Roblox experiences or Roblox software?

Firewall Issues

A lot of antivirus or internet security software tries to control which programs can access the internet. Often, these programs err on the side of caution and by default many programs are not allowed access. The easiest thing to try is just turning your internet firewall software off to see if that allows you to join experiences. If it does, you can turn it back on and follow these steps to safely allow Roblox to access the internet:

  1. Find your firewall program's control panel or configuration settings.

  2. Find the program permissions section.

  3. Find Roblox and allow it unrestricted access to the internet.

Note: Permission settings for firewall and security software may need to be configured by your school’s IT department.

Antivirus Programs

If you have any antivirus/anti-malware programs running on the machine, there's a possibility that those programs are acting as a sort of overly cautious firewall that may be preventing some important communication between Roblox/Roblox Studio and the Roblox servers. If this is the case, you may need to update your antivirus software or add Roblox to the antivirus program’s list of allowed software (safe list).

Note: Permission settings for firewall and security software may need to be configured by your school’s IT department.

Server or Connection Issues

Occasionally there may be an issue connecting to the Roblox servers. If you receive a 502 or “no internet connection” error message, first check to ensure that your machine is properly connected to your school’s network either by LAN (hardwire) or WiFi. If the connection appears to be working (e.g. websites are working in the device’s web browser), check the Roblox platform’s status to see if Roblox servers are experiencing an outage or any other issues. You may need to wait to launch Roblox software or the website until any issues logged on the status web page have been resolved.

Why can’t I log in to Roblox Studio?

When logging in to Roblox Studio, you may get an error message saying something like: "Too many logins were attempted from this network. You must log in through a web browser."

To log in to Roblox Studio, you’ll need to open a web browser and log in to your Roblox account from the Roblox website. This adds an extra layer of security to prevent account cracking. Roblox engineers are currently working on improving the login process so users will only need to do this process through Roblox Studio and not a web browser.

Why does my Roblox Studio window look different after waking up my computer?

Sometimes when a computer goes to sleep or a laptop lid is closed with Roblox Studio open and running, the panels and graphics get readjusted when awakening the computer. Simply exit the Roblox software and restart the program to fix the rendering problems. To prevent this issue, it’s recommended that users logout and exit all Roblox software prior to leaving the computer for long periods of time or closing a laptop’s lid.

Still have questions? Contact our team at hello@codehs.com to learn more!

Did this answer your question?