Browse 332 Lua Learning Community Tutorials

RbxWeb Tutorial

RbxWeb is a DataStore module made by movsb.

How to make Leaderstats

This will teach you how to script the leaderstats

Scripting 1: Leaderboards

This is a simple tutorial on how to make a leaderboard.

Basic Easter Eggs

This will teach you how to make basic easter eggs.

Beginner's Guide to RemoteEvents

An simple tutorial to teach you over the basics of RemoteEvents.

Sorting Tables!

Sorting tables is fun and easy to use! Find out how!

Discord Webhooks and it's utilities!

Learn how to use Http Service and Webhooks to send data to your discord server.

Tween Service

How to use TweenService

Intro to Typechecking

Learn how to use typechecking to make your scripts easier to read debug!

Changing the WalkSpeed

How to change the player's walk speed

Chat commands

Learn how to make chat commands.

Lua Scripting Tutorial - 18

Roblox Lua Scripting Tutorial - Episode 18: User Interface (UI) Design and Implementation

Basics of Making a Soccer Ball/Football

Making a kickable ball in Roblox.

ProcessReceipt - Gamepasses

Automatically gives you what you purchased right away.


Tutorial about Random object

Premium Membership Benefits

Learn how to give benefits to players for having premium.

Sound Visualisers

Learn to create your own audio visualiser

Clickable Door

How to make a clickable door, with Pictures.

VIP Chat Gamepass

VIP Chat Gamepass

Terrain generation

2d terrain generation using math.noise

Filtering Enable Tutorial

FE Scripting Basics

Scripting 3: Variables

Learning about variables

How to use Remote events and Remote func

This tutorial talks about Remote functions and events and the bindable versions.

2D detection by matrix rotation

This Tutorial is advanced its basically just matrix rotation


magnitude is the lenght of a vector

How to make a raytracer. PART 1

An indepth tutorial on how one could make a simple raytracer

Spinning Surface Gui

A tutorial on how to make a Image spin.

Ragdoll Death for R6 and R15

This tutorial teaches you how to make a ragdoll death for R6 and R15 in one script.

Getting Player Ping

How to get a player's ping using a RemoteFunction

Dungeon Generation

A Procedural Generation Guide

Variadic Functions

Accepting an infinite number of arguments

Memory Management & Leaks

Keeping memory usage under control is easy but usually looked over!


Learning about variables

Make a reflecting mirror

Learn to make a working mirror reflecting you and others.

Speed Boosts

Make the player faster

Object-Oriented Programming

A tutorial specified in Object-Oriented Programming

String Interpolation

Better concatenation just added!

Soft Shutdowns

Restart Servers for an update without losing players!

Why to use ModuleScripts.

Splitting up your code into modules may help a lot when debugging etc. So why don't you start using them today?

Avoiding Vulnerabilities

A basic tutorial on how to avoid vulnerabilities

Typewriter Effects (2023)

Make enhanced text for Prompts, Dialogues, and Conversations with this effect.

Leaderboard Rank

Put in ServerScriptService

Using string functions.

How to use the string functions.


Talks about BadgeService and how to award badges!

What is Scale and Offset?

This tutorial aims to aid your understanding of what Scale and Offset are.

FOV changed based off character velocity

How to make your FOV change when you move


Learn about tick()!

Lua Scripting Tutorial - 3

Roblox Lua Scripting Tutorial - Episode 3: Loops and Basic Conditions

ProcessReceipt - DevProducts

Once something is bought, their is an immediate outcome

Design Patterns - Introduction

Design patterns are general tools for solving recurring software problems. In this tutorial, we will use pattern to refactor our code.

Make animation for characters

Learn to animate characters models and run them in-game.

Simple Shift (Mobile)

Shift running made easy!


Learn how ReplicatedStorage works!

How to make a choppable tree!

This tutorial will show you how to make a tree that can be cut down

How to substitute built-in APIs

This tutorial shows you how to substitute *some* built in Roblox APIs when coding in normal Lua.

How to Welding (Basics)

This tutorial will teach you the basics to welds.

Explode Players

Use the Explosion object to blow up players.


Intro to variadic tables & their uses.

Practice New Instances

This tutorial let's you practice with NewInstances


Have a pet companion right by your side everywhere you go!

Changing Your In-Game Cursor

This tutorial shows you how you can change the in-game cursor.

Global Leaderboards

A Leaderboard for most points, money, etc.

Plugin Widgets

What are Widgets and how to create them.

3D renderer

cool thingy

The guide to Minimalistic GUI Design

The one guide featuring Dark Mode GUI designs.

Opening and Closing a GuI

These are basic Open/Close functions that can be used to make frame visible


Learn how to make an auto-save for your game.

Metatable Tutorial

A basic overview of how metatables work.

Server Lock Script for Groups!

Use this Script if you want only customers and staff in your game.

Different Data Types

Learn about different data types for variables and what they do.

Introduction to RbxScriptConne

Introduction to a major part of roblox scripting

Create a Quest System!

Ever wanted a quest for your game? Well I will show you how to make quests for your game! Read the Notes for Important Information.


Precedence in detail

Function Calling (with Syntactic Sugar)

An overview of Lua (and as an extension, Luau's) function calling. Taking a look at some lesser known ways of calling a function.

How to Make a Plugin

This will guide you through the steps of coding a plugin.

Kill Bricks

How to make bricks that kill.

Using scripts via dev console.

How to use your in-game developer console to execute some small scripts.

Connection and Memory Leak

Advanced topic, decent scripting knowledge and experience required.

Part Spawning

This will teach you how to spawn Parts!

How To Make a Sandbox Game

This tutorial shows you how to create and make a sandbox-building game.

Idle/Walk Animation system

Idle/Walk Animation system

Randomizing Text

Learn how to use tables and math.random() to constantly randomize text.

Basics of CFrame

Very simple tutorial/explanation on CFrame

Understanding os.date

A guide to using os.date

Secure your RemoteEvents/RemoteFunctions

a guide on how to avoid ruining your game with under 5 lines of code!

Make a random player chooser

In this tutorial, I will teach you how to make a random player chooser!


What is a Debounce script?


How to check if a player owns a specific gamepass.

Global Metatable Functions

Raw functions and newproxy.

Walljump System

In this tutorial, I will teach you how to make a functional walljump.

String Manipulation

Learn how to manipulate strings!

How to change a Sword's Damage

In this tutorial it will teach you how to change a Sword's Damage.

Player Trail

Use Instance.new() to give the player their own trail.

Lua Scripting Tutorial - 13

Roblox Lua Scripting Tutorial - Episode 13: Creating a Tycoon Game

Spawning A Player

Spawn, position, and assign a player's team

Disappearing Part

Learn how to make a part disappear when a player steps on it.

Creating Chat Tags

A simple guide to an adaptable Chat Tag System.

Gun Tool Skeleton/Basics

A simple skeleton version of a gun that can be upgraded to be a lot better.

Scripting 1: Indexing

How to index objects

Keycard Reader

Learn to have multiple keycards accepted or denied!

Datastore Introduction

An intro to Datastores!

How To Make a Tool Giver

How to make a functioning tool giver with a cooldown. Works for any tool.

Custom Player Overhead Gui

Use Clone() to give the player their own custom overhead Gui.

Thread and Scopes

Basic Lua knowledge

Currency Script

This is a simple Currency maker/saver

Chat Welcomer

This is a super simple script that welcomes a player in your game in chat.

How to optimize your game

This tutorial will show you how to optimize your game's fps

NPC AI Pathfinding

Learn how to make AI move with PathfindingService

Kadane's Algorithm and Time Complexity

A tutorial to find the largest subarray sum in an array of n elements. Includes also time complexity.

Lua Scripting Tutorial - 17

Roblox Lua Scripting Tutorial - Episode 17: Game Optimization Techniques

Lua Scripting Tutorial - 9

Roblox Lua Scripting Tutorial - Episode 9: Creating Game Passes and In-Game Purchases

Overhead Gui

Creates a Overhead Gui for the owner admin ect


Learn how to put comments in scripts.

Changing Properties

Change properties through script!

Making a Working Plugin

This will teach you how to make a plugin that makes a new script in studio!

MISUSING the Client-Server Model

Please stop doing this.

Anti-Gravity Block!

How to make an Anti-Gravity Block like one you would find in space!

Dropable Tool

If you want mobile players to be more happier in your game

Notifications in a Nutshell

Implement in-game notifications into your game

Teleportation Pad

Whenever player touches Part1 it'll teleport the player to Part2.

Trigonometric Functions

An introductory view into the world of trigonometric functions, and their applications in Roblox scripting.

Server and Client

Server and Client side, what do they mean?

How to make a Quick and Easy Datastore

Datastoring with Kevin! Using Leaderstats!

Guard Clauses - Improving Readability

Streamline Lua code with guard clauses – simpler checks and improved efficiency.

Useful operators

Operators that you will use frequently!

Lua Scripting Tutorial - 4

Roblox Lua Scripting Tutorial - Episode 4: User Input and Advanced Functions

TextService - GetTextSize

a guide to sizing your text

Game Optimization: Parts

How to optimize your games better; discovering the secrets of parts and models.

Protected Calls

Protected Calls [pcalls] help spot and manage errors in your Lua code

Exploit Side of Things: Part 1

Your own game can be exploited and it's probably your code.

GetChildren & GetDescendants

Explains how GetChildren and GetDescendants work.

Lua Scripting Tutorial - 8

Roblox Lua Scripting Tutorial - Episode 8: Advanced Multiplayer Features

Hover Over Effect

This will help you learn how to add Hover Over Effects to gui objects


You will learn about CollectionService.

The Lua Virtual Machine [Part 2]

The Implementation of Lua Virtual Machine, This is an Advanced topic. Due to text contraints, this tutorial is a multi-parter.

Script Architectures

A long tutorial about script architectures & how to use them effectively

The Click Detector

The Click Detector Explained for Beginners

Classes in Lua

Use metatables and metamethods to bring object-oriented features to Lua.

Chat controlled door

How to make a chat controlled door.

Indexing Properly

How to index objects

Robbing/Earning Money

This shows you how to make a robbable store in LUA

Global Variable

Learn and how to use it.

It's about relationship!

Learn how to use the relational operators.

Ban List

Ban players from your Roblox game.

Basic modelling + Properties

Hey! This is just some simple modelling for beginners.

Recursive functions

What happens when a function tries to run itself? Recursion!?

What is Filtering Enabled?

An explanation of Filtering Enabled

Create a Checkpoint System

Checkpoints for obbies that only require scripting one time.

creating game teleport

learn how to create teleport to other game

Generating Numbers

Using Math.Random

Chatted Events

Learn how to use "Chatted Events".

Basic Player Leaderstats

The basics of Player's leaderstats code.

Understanding math.random

math.random() selects a random number

UserInputService in-depth.

Learn how to make a debounced, tool compatible UserInputService script!


This lesson covers the basis of dictionaries

Making Plugins: The basics

Make a simple plugin.

Custom Player Commands

This tutorial will teach you how to create custom player commands.

For Loops

Explanation of For Loops.


A short tutorial about Attributes and how useful they are

Make NPC Talk

Make an NPC or part speak random phrases at a specified interval!

How to monetize your games

A tutorial that explains how you should go on monetizing your game.

How to make an Abbreviation System

Make an abbreviation system

Account Age

What is Account Age and effective ways of using it for your game!

Dynamic Depth of Field

A quick tutorial on how to make a simple Dynamic DOF effect

AI Chatbot

Make A Simple AI Chatbot

Lua Scripting Tutorial - 10

Roblox Lua Scripting Tutorial - Episode 10: Data Storage and Game Saving

How to make a 4D table

This will show you how to make a table with 4 axis!

PCALL and XPCALL - Very useful

How pcall and xpcall works

Basic Data Store Tutorial

This tutorial will teach you how to save data!

Understanding OOP

Tutorial on the basics of OOP.

Scaling a ScreenGUI

In this tutorial, you'll learn how to scale ScreenGUI's properly!

Lua Scripting Tutorial - 2

Roblox Lua Scripting Tutorial - Episode 2: Variables, Events, and Functions

Problem Solving for Scripting

Problem Solving is important for Programming and Scripting here in ROBLOX.

Tweening Guis

The Easy way of Tweening Gui Size and Position

Lua Scripting Tutorial - 12

Roblox Lua Scripting Tutorial - Episode 12: Building a Basic Obby (Parkour) Game

Keycard Door Tutorial

How to make a keycard door work.

Simple Leaderstats

How to make leaderstats and add a value to it


An introduction to raycasting

Gamepass Tools

Learn how you can make a gamepass script

Iterating through Objects

Use 'for' loops to iterate through objects

Cancellable Typewriter Effect

Learn how to script a simple typewriter effect that's cancellable!

Lua Scripting Tutorial - 1

Roblox Lua Scripting Tutorial - Episode 1: Getting Started

How to make a raytracer. PART 2

An indepth tutorial on how one could make a simple raytracer

Player Joined/Left Message

TextChatService instead of LegacyChatService.

How to create a cutscene?

Here, you will learn how to create a cutscene.

Creating a simple door

This shows you how to make a door using LUA.

Smaller Conditional Statements

If statements are so big. Learn how to make smaller versions for variables!

Projectile Desynchronization

When you fire a projectile, but it lags behind...

how to make an rng

an rng is a random number generator

Basics Of Functions

This tutorial is about the basics of functions

Pathfinding NPC Advanced [PART 1]

In this part of this tutorial, I'll show you how to pathfind using PathfindingService, move a NPC and prevent to block the NPC.

Lua Scripting Tutorial - 15

Roblox Lua Scripting Tutorial - Episode 15: Implementing a Crafting System

Datastore WORST Practices

Because a little pessimism never hurt anyone.


Adding objects into workspace with a script!

Extending Leaderboard Limit

If you work on a simulator, this is neccessary.

How to make a successful game

This tutorial will show you how to make a game successful.

Adding Chat Filter Modules

Learn to add custom chat filters and prevent bot spam in your game.


The coroutine library

Camera bobble movement

Learn to make bobble camera so when you move, the camera shakes.

Player Mouse Manipulation

Manipulates your camera by moving your mouse!

Touched and TouchEnded

On Touch event

The Wait Script

This is about the wait script.

Random Tables

Learn how to use "random" on a table.

Beginner Scripting Tutorial - 1

To get started scripting, you have to learn the basics. We will learn about variables, the output window, math, and functions.

Basics of Tables

Teaches you how to use tables in the simplest way

Use Noise To Generate Terrain

This tutorial assumes you're familiar with lua and roblox's API

Lua Scripting Tutorial - 5

Roblox Lua Scripting Tutorial - Episode 5: Scripting GUIs and Using External Libraries

Basic Daylight Cycle

I will show you how to make a Daylight Cycle

String Interpolation

Simple tutorial on how to use an under used method.

Only player door

This shows you how to make a part "open" when a specific player touches it

Using Key Detection

This will teach you key detection for LUA.

How to Make a Simulator Game - 1

Everybody wants to make a simulator game, so here's how!

Disable Core GUIs (Chat, Backpack, etc)

A quick method of disabling the chat, the backpack, etc...


Explaining the difference between RETURN, BREAK and CONTINUE when coding Lua.

Random Asset (Non-Recurring & Specific)

Creating a function to grab random assets from a storage objects (Accounting for grabbing specific objects & non recurring random objects)

Click Functions

How to make a block run a script when you click it

The Lua Virtual Machine [Part 1]

The Implementation of Lua Virtual Machine, This is an Advanced topic. Due to text contraints, this tutorial is a multi-parter.

Debugging your first program

You will learn how to identify issues with your code, and then fix them

How to use variables

In this tutorial you'll learn about variables

Gradually appearing text

Learn how to make 1 simple function to make text appear gradually

Looping And Breaking

Here you will learn all about loops

What really is an object?

Will hopefully give you a better understanding.

Object Oriented Programming

Learn how to create your own object in Roblox!

String Formatting

How to use string formatting, and what it is.

CollectionService Tutorial

This tutorial covers how to use CollectionService.

Styling WORST Practices

...and possibly the best style guide ever?


Learn how to create tables.

How to make a Team Change GUI

In this tutorial, you will learn how to make a team change gui.

Make a notification!

Make a notification (basic roblox style).

Union and Negate

Using the Union and Negate tools in Studio

Auto Updating Model

Automatically updating model in game.

How To Make A Basic Door

This tutorial is about making a basic opening and closing door.


Create collision groups and customize how they can collide with each other!

Calculating Bezier Curves

How to calculate a point on a bezier curve

An efficient and simple ban system

In this tutorial im going to show you how to make an efficient ban system using a datastore and some string manipulation


Learn What's Lerping and how to use it

easy sprint script

lua keybinded sprint

GUI Button Animation: TweenService/UDim2

How to make animations with TweenScreening + UDim2

color changing brick

how to make a brick color change

Game Enhancement Tips

Learn everything about how to make a perfect game!

Player CFrame Control w/ Mouse

How to make the player turn towards the mouse, like in Dungeon Quest.

Make Your Character Invisible!

How to make your Character Invisible and then visible! Like an ability!

Code Readability

Goes over naming conventions and organized code.

Simple Lava (Beginner Tutorial)

A simple way to make Lava that you can use in your game!

Exploit proof Touch detection!

In this tutorial I will explain why .Touched is easily exploitable and what simple step you can take to make your game extra secure!

If Statements & Loops

A tutorial on conditional statements and loops

Hinge Constraints: Servo

Learn to set up hinge constrains as servos!

Variadic functions

Learn what variadic arguments and functions are

Custom Character Morphing

This will teach you how to make both GUI morphs and button morphs!

Serializers - The Complete Guide

This tutorial gives a basic guide to how serializers work, where they're used, and how you can make your own.

RemoteEvents & Admin Panel Demonstration

This tutorial talks about the FireServer function in remote events. It will be demonstrated using an admin paneI.

Rainbow Effect!

Give a Part a color changing rainbow effect

Advanced-ish string manip

excessive use of patterns included

Lua Math 101

1 + 1 = 2

Messaging service

The system will send the message to every server on your game!

OnTouch Events

How to make a part do things.

Intro to OOP

Out-of-the-box thinking is necessary!


Learn what is returning and how to use it!

Lua Scripting Tutorial - 14

Roblox Lua Scripting Tutorial - Episode 14: Creating a Role-Playing Game (RPG)

Custom Characters

Learn to spawn as a custom character!

Understanding Modulo

Here, you will learn how modulos work in Lua.

Only Owner Door

Make a door like in tycoons using Physics Service!

Loading Screen

Insert a Local Script in Replicated First

Deprecated Methods

Learn what deprecation is

Lexical Analysis

This lesson will teach you the basics of how to preform lexical analysis!

Custom Pathfinding with A*

Describes how to create a custom 2D pathfinding system using the A* algo.

Module Scripts

This will teach you the basics of module scripts.

Lua Scripting Tutorial - 6

Roblox Lua Scripting Tutorial - Episode 6: Advanced Topics and Game Development Tips

Custom Chat Tags

Learn how to add custom chat tags to your game!

Forcing The Chatted Event

Ever wanted to force the player to say something?

Lua Scripting Tutorial - 16

Roblox Lua Scripting Tutorial - Episode 16: Implementing Multiplayer Features

Re-bind ShiftLock

Tired of using LeftShift as ShiftLock? This is the right tutorial for you!

Simple Transportation System!

This is a Simple Transportation System made using bodyposition

Pathfinding: Creating a Path

Learn how to create a path using PathFindingService.

Bindable Event

Learn theory/Practice of BindableEvent!

Adding donations (Basic)

This tutorial will tell you how you can add donations.

Moving Screen Tutorial

How to make a simple one text moving screen.

Basics of Coroutines in Lua

Dive into the world of coroutines in Roblox with this guide.

Threading Basics

Explanations for spawn, delay and the coroutine library.

Understanding Variables

Variables are an extremely useful tool for scripting. Get familier!

Tonumber and tostring

Learn how to use "tonumber()" and "tostring()".

HOW TO: Build a Tycoon

This will show you how to start building you very own tycoon!

The Tables Of Possiblity

Learn about Tables

Song Playlist

How To Create a Song Playlist That Everyone in Your Game can Listen To!

Modulated OOP

This tutorial teaches you how to create a module using OOP!

The beginner UI coding guide

The beginner UI coding guide! This will teach you some stuff about coding the UI.


Numerical analysis technique to fit a function to data points.

Overhead GUI

Shows you how to make a overhead gui.

2D Terrain Generator

2D Terrain Generation using Perlin noise!

Quick Hull Algorithm 2D

Here we can learn about Convex Hull, his function.

How to make a level system

This tutorial will teach you how to make a good level system

Making Custom Commands

Make your own custom commands

GUI Animations

Basic Tweening, Additional Options, Advanced Tweening And More!

Minor Optimization tricks for your game

This tutorial helps teach some easy optimization tricks that can be very helpful for your game's performance.

Press a key to play animation

From this you'll learn how to play an animation when pressing a key

Randomized Map

Gets a random map that you made and places it into workspace.

Remote Events

Tutorial on Remote Events and how to use them

Dynamic Depth of Field

Create a dynamic changing depth of field effect for your game.

Sound Region

Learn how to make an advanced sound region system

How to Make a Sit Button

I'll be showing you how to make a sit button, commonly used in RP games.

All the types of scripts!

Learn all three types of scripts that make a roblox game!

Make your own iterator function

Tired of pairs and ipairs? Well, make your own epic custom iterator function... I guess?


Debounces add cooldowns to functions to prevent scripts from breaking.

Keyboard Input

To detect when a player pushes a certain key

Click for coins tutorial

How to make a 'Click For Coins' gui in Roblox (Maybe Outdated)

How to reposition the chat!

How to reposition the roblox default chat!

Controller Input

How to get and do stuff with controller input!

Properly save data on close

A tutorial that teaches how to properly save player data on server close

Sync your time with the server

Learn how to sync your time with the server time.

Functions and their uses

Understanding functions in a easy way!

OOP in more detail

Looks at subjects like inheritence

Filtering Enabled

Explains to you what it is, and how to avoid it from breaking your script.

Detecting Commands by Message

Learn how to detect commands when the Player chats!

Animated TweenService Door

Learn how to make an Animated TweenService Door.

Shift To Sprint (With Animation)

In this post I'll go through a decently simple script that implements a sprint mechanic into your game, along with a custom animation!

How to Create a Flashlight

This lession will show you how to create a flashlight.

Camera Manipulation Tutorial

This tutorial will teach you about the Camera

Basic Scripting - 1

Learn about functions, variables, and instancing!

Basic CFrame

This tutorial will tell you about CFrame, and what it is.

Make A Shift to Sprint Script

Make A Shift to Sprint Script for your ROBLOX Game!

UserInputService & key input

Learn UserInputService and its importance.

Understanding CFrames

How CFrames are represented, created, and manipulated.

Load Catalog Items, And Models

Learn how to load catalog items and models with insertservice!

Viewport frame tutorial

How to use viewport frame

Lua Scripting Tutorial - 7

Roblox Lua Scripting Tutorial - Episode 7: Multiplayer and Team-Based Games

What are events?

Basic tutorial of what events are and how to use them.

Maximizing Performance with Parallel Lua

Multithreading in Roblox: A Guide to Parallel Lua

Variable Types

The identities of a variable

Lua Scripting Tutorial - 11

Roblox Lua Scripting Tutorial - Episode 11: Advanced Animation and Character Control

String Patterns

How string patterns work.

GUI Button

Once clicked, this button will do as suppose to


Understand how variables can switch values with simple commands.