Roblox Studio and Luau Tutorial
Learn Roblox Studio and Luau step by step: 37 lessons in 9 chapters with examples, quizzes, diagrams and projects.
Start learning →
of lessons completed
Getting Started
- What Are Roblox Studio and Luau? Learn what Roblox Studio and Luau are, how an experience is built from places and scripts, and what you can and cannot run on this site while following the course.
- Installing Studio and Your First Experience Install Roblox Studio, sign in, create a place from a template, move around the viewport, test with Play and Run, and save your work locally and to Roblox.
- Servers and Clients: A First Look A beginner's first look at how Roblox runs one server and many clients, what gets replicated, which script types run where, and why important decisions belong on the server.
Studio and Basics
- A Tour of the Studio Interface "A guided tour of Roblox Studio: the ribbon tabs, viewport, Explorer, Properties, Toolbox and Output windows, the select, move, scale and rotate tools, and snapping."
- The Explorer, Instances and Properties Learn how Roblox organises a place as a tree of instances, how classes, properties, names and parents work, and how scripts find, clone and destroy instances.
- Your First Script and the Output Window "Write and run your first Roblox Script: add it in Explorer, use print, warn and error, change a part from code, wait with task.wait, and read errors in the Output window."
- Services and Containers "Learn Roblox's services and containers: Workspace, Players, ReplicatedStorage, ServerStorage, ServerScriptService and the Starter folders, who can see what, and GetService."
Luau Scripting
- Luau Variables and Types Learn Luau variables with local, the basic types (number, string, boolean, nil, table, function), Roblox types like Vector3 and Color3, typeof, scope and naming rules.
- Strings and Operators in Luau "Work with Luau strings and operators: quotes, concatenation, backtick interpolation, string functions, arithmetic, comparison, logical operators, and the length operator."
- Control Flow: Decisions and Loops in Luau Control the flow of Roblox scripts with if, elseif and else, numeric and generic for loops, while and repeat loops, break and continue, and safe loops with task.wait.
- Functions, Events and Errors in Luau Write Luau functions with parameters and returns, use closures and varargs, connect to Roblox events, handle errors with pcall, and run code later with task.spawn and task.delay.
- Tables: Lists and Dictionaries in Luau "Master Luau tables for Roblox: arrays and dictionaries, 1-based indexing, the table library, sorting, nested tables, references vs copies, clone and freeze."
- Modules, Types and Strict Mode Organise Roblox code with ModuleScripts and require, then catch bugs early with Luau type annotations, custom types, optionals, unions and --!strict mode.
Parts, Physics and Building
- Creating and Configuring Parts in Code Build parts with Instance.new, set Size, Position, Color, Material, Shape and Transparency, set Parent last, build with loops, and tidy parts into models and folders.
- Vectors and CFrames Learn Vector3 math (add, scale, Magnitude, Unit, Dot, Lerp) and CFrame (position plus rotation, Angles, lookAt, LookVector, multiplication, PivotTo) for placing and moving Roblox parts.
- Anchoring, Collisions and Physics "Understand Roblox physics: Anchored and CanCollide, gravity, mass and velocity, WeldConstraint and hinges, collision groups, and how to make parts move without fighting the engine."
- Touched Events and Hazards Use the Touched event to build kill bricks, coin pickups and checkpoints. Find the Humanoid and Player, add a debounce, handle many touches, and use GetPartsInPart as an alternative.
- Tweening and Moving Parts "Animate parts smoothly with TweenService and TweenInfo: easing styles, repeating and reversing tweens, the Completed event, Heartbeat loops, and moving doors, lifts and platforms."
UI and Events
- GUI Basics: ScreenGui, Frames, Labels and Buttons Build your first Roblox interface with ScreenGui, Frame, TextLabel and TextButton, learn where GUIs live, and change them from a LocalScript.
- UI Layout, UDim2 and Responsive Design Learn how UDim2 scale and offset, AnchorPoint and layout objects such as UIListLayout and UIGridLayout make Roblox interfaces fit phones, tablets and PCs.
- Buttons and Events: Connect, Once, Wait and Disconnect Understand Roblox events and signals: connect a function to a button click, listen once, wait for an event, disconnect, and debounce repeated clicks.
- BindableEvents and ModuleScripts Share code and talk between scripts on the same side with ModuleScripts, require, BindableEvents and BindableFunctions, and build your own Signal module.
Data Stores and Services
- Services and GetService: The Tools Built Into Roblox Meet the Roblox services you will use daily, learn why you call game:GetService, and see where each one belongs, from Players and Workspace to RunService and Debris.
- TweenService: Smooth Animations for Parts and UI Animate parts and GUI properties smoothly with TweenService, TweenInfo, easing styles and directions, and understand how a tween interpolates values over time.
- DataStores: Saving and Loading Data in Roblox Learn how Roblox DataStores store data between sessions, how keys and values work, why every call needs pcall, and how to test saving safely in Studio.
- Saving Player Data: leaderstats, PlayerAdded and BindToClose Build a complete save system: create leaderstats, load on PlayerAdded, save on PlayerRemoving and BindToClose, merge defaults with saved data and retry failed requests.
- DataStore Limits, UpdateAsync and Safe Updates Go beyond SetAsync with UpdateAsync, request limits, session locking against duplicate saves, OrderedDataStore leaderboards and safe patterns for data that must never be lost.
Multiplayer and Security
- The Client-Server Model: Scripts, LocalScripts and Replication Understand how Roblox runs one server and many clients, what replicates between them, when to use Script, LocalScript and ModuleScript, and why the server must stay in charge.
- Remote Events: Talking Between Client and Server Learn how a RemoteEvent sends messages from a client to the server and back with FireServer, OnServerEvent, FireClient and FireAllClients, with safe examples.
- RemoteFunctions and Input Validation Use RemoteFunctions to get an answer from the server, learn why InvokeClient is dangerous, and write reusable validators and rate limiters for every remote.
- Anti-Exploit Security: Never Trust the Client Learn how exploiters attack Roblox experiences and how to defend with server-side checks, sanity limits, network ownership awareness, safe remotes and good logging.
Publishing and Monetization
- Publishing Your Experience: Settings, Testing and Launch Take your Roblox experience from Studio to the public: save and publish, configure game settings, test with multiple players, write a good icon and description, and follow a launch checklist.
- Monetization: Gamepasses, Developer Products and Premium Learn how to earn Robux with gamepasses, developer products and Premium payouts, prompt purchases with MarketplaceService, and process receipts safely so players never lose purchases.
- Live Operations: Analytics, Performance and Updates Run a published Roblox experience well: read retention and engagement analytics, find performance problems with the MicroProfiler, use StreamingEnabled, log errors and ship updates safely.
Projects and Practice
- Project: Build an Obby With Checkpoints and a Timer Build a complete obstacle course in Roblox Studio and Luau with kill bricks, checkpoints, a stage counter, a finish line and a speedrun timer, plus runnable logic models.
- Project: Coin Collector With a Shop and Saving Combine spawning coins, server-validated pickups, a shop UI with RemoteFunctions and saved inventory into one complete Roblox project, with runnable logic models for each system.
- Practice Challenges: UI, Data, Remotes and Security Test your Roblox skills with twelve challenges on UI maths, events, DataStore safety, remotes and security, each with a runnable JavaScript model and a read-only Luau solution.