Tutorials

Browse 237 Lua Learning Community Tutorials

Understanding os.date

A guide to using os.date

Lexical Analysis

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

2D Terrain Generator

2D Terrain Generation using Perlin noise!

Comments

Learn how to put comments in scripts.

Player Trail

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

Raycasting

An introduction to raycasting

Classes in Lua

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

Randomized Map

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

Creating Chat Tags

A simple guide to an adaptable Chat Tag System.

String Formatting

How to use string formatting, and what it is.

Pathfinding: Creating a Path

Learn how to create a path using PathFindingService.

Moving Screen Tutorial

How to make a simple one text moving screen.

Making a Working Plugin

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

Adding donations (Basic)

This tutorial will tell you how you can add donations.

tick()

Learn about tick()!

Song Playlist

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

Intro to OOP

Out-of-the-box thinking is necessary!

Adding Chat Filter Modules

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

Auto Updating Model

Automatically updating model in game.

Currency Script

This is a simple Currency maker/saver

Messaging service

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

Basic Easter Eggs

This will teach you how to make basic easter eggs.

Disappearing Part

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

ReplicatedStorage

Learn how ReplicatedStorage works!

It's about relationship!

Learn how to use the relational operators.

Dictionaries

This lesson covers the basis of dictionaries

PhysicsService

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

Functions and their uses

Understanding functions in a easy way!

how to make an rng

an rng is a random number generator

What is Scale and Offset?

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

How to Make a Plugin

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

Touched and TouchEnded

On Touch event

Animated TweenService Door

Learn how to make an Animated TweenService Door.

Typewriter Effects

Make Enhanced Text for Prompts, Dialogue and Conversation with this Effect.

How to make a 4D table

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

Premium Membership Benefits

Learn how to give benefits to players for having premium.

How To Make A Basic Door

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

Keycard Reader

Learn to have multiple keycards accepted or denied!

Problem Solving for Scripting

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

Basic CFrame

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

CollectionService Tutorial

This tutorial covers how to use CollectionService.

Remote Events

Tutorial on Remote Events and how to use them

Scripting 1: Indexing

How to index objects

How to make Leaderstats

This will teach you how to script the leaderstats

Using scripts via dev console.

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

Debugging your first program

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

Memory Management & Leaks

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

Understanding Modulo

Here, you will learn how modulos work in Lua.

How to make a level system

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

All the types of scripts!

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

Custom Player Commands

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

Explode Players

Use the Explosion object to blow up players.

UserInputService in-depth.

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

Lerp/Lerping

Learn What's Lerping and how to use it

How to make a Team Change GUI

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

HOW TO: Build a Tycoon

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

Practice New Instances

This tutorial let's you practice with NewInstances

Filtering Enabled

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

Tonumber and tostring

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

Chat Welcomer

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

ProcessReceipt - DevProducts

Once something is bought, their is an immediate outcome

Basic Data Store Tutorial

This tutorial will teach you how to save data!

Click for coins tutorial

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

How to optimize your game

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

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!

Account Age

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

Player Mouse Manipulation

Manipulates your camera by moving your mouse!

Tween Service

How to use TweenService

Make a notification!

Make a notification (basic roblox style).

Filtering Enable Tutorial

FE Scripting Basics

Interpolation

Numerical analysis technique to fit a function to data points.

Basic Player Leaderstats

The basics of Player's leaderstats code.

Controller Input

How to get and do stuff with controller input!

The Click Detector

The Click Detector Explained for Beginners

DataStore

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

String Patterns

How string patterns work.

Extending Leaderboard Limit

If you work on a simulator, this is neccessary.

Ban List

Ban players from your Roblox game.

Leaderboard Rank

Put in ServerScriptService

Pets!

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

Random.new()

Tutorial about Random object

Avoiding Vulnerabilities

A basic tutorial on how to avoid vulnerabilities

Notifications in a Nutshell

Implement in-game notifications into your game

Exploit Side of Things: Part 1

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

Spinning Surface Gui

A tutorial on how to make a Image spin.

Scripting 1: Leaderboards

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

Load Catalog Items, And Models

Learn how to load catalog items and models with insertservice!

Make a reflecting mirror

Learn to make a working mirror reflecting you and others.

Chatted Events

Learn how to use "Chatted Events".

Precedence

Precedence in detail

Robbing/Earning Money

This shows you how to make a robbable store in LUA

GUI Button

Once clicked, this button will do as suppose to

Custom Player Overhead Gui

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

Advanced-ish string manip

excessive use of patterns included

Deprecated Methods

Learn what deprecation is

Forcing The Chatted Event

Ever wanted to force the player to say something?

Custom Characters

Learn to spawn as a custom character!

Overhead GUI

Shows you how to make a overhead gui.

Create a Checkpoint System

Checkpoints for obbies that only require scripting one time.

Understanding Variables

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

Leaderstats and Adding a Value

How to make leaderstats and add a value.

Iterating through Objects

Use 'for' loops to iterate through objects

Looping And Breaking

Here you will learn all about loops

Metatable Tutorial

A basic overview of how metatables work.

Basic Scripting - 1

Learn about functions, variables, and instancing!

Gamepass Tools

Learn how you can make a gamepass script

PCALL and XPCALL - Very useful

How pcall and xpcall works

Variables

Learning about variables

Useful operators

Operators that you will use frequently!

Speed Boosts

Make the player faster

How to reposition the chat!

How to reposition the roblox default chat!

Chat controlled door

How to make a chat controlled door.

Gradually appearing text

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

What is Filtering Enabled?

An explanation of Filtering Enabled

Tweening Guis

The Easy way of Tweening Gui Size and Position

Introduction to RbxScriptConne

Introduction to a major part of roblox scripting

ProcessReceipt - Gamepasses

Automatically gives you what you purchased right away.

Keyboard Input

To detect when a player pushes a certain key

color changing brick

how to make a brick color change

Variadic Functions

Accepting an infinite number of arguments

Click Functions

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

Make NPC Talk

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

Connection and Memory Leak

Advanced topic, decent scripting knowledge and experience required.

Changing the WalkSpeed

How to change the player's walk speed

Modulated OOP

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

Camera bobble movement

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

Part Spawning

This will teach you how to spawn Parts!

How to use variables

In this tutorial you'll learn about variables

Use Noise To Generate Terrain

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

How to Welding (Basics)

This tutorial will teach you the basics to welds.

Chat commands

Learn how to make chat commands.

Re-bind ShiftLock

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

Game Enhancement Tips

Learn everything about how to make a perfect game!

If Statements & Loops

A tutorial on conditional statements and loops

How to make a choppable tree!

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

Camera Manipulation Tutorial

This tutorial will teach you about the Camera

Press a key to play animation

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

Quick Hull Algorithm 2D

Here we can learn about Convex Hull, his function.

The Tables Of Possiblity

Learn about Tables

Scripting 3: Variables

Learning about variables

Terrain generation

2d terrain generation using math.noise

Thread and Scopes

Basic Lua knowledge

Kill Bricks

How to make bricks that kill.

Tables

Learn how to create tables.

Global Variable

Learn and how to use it.

TextService - GetTextSize

a guide to sizing your text

How to monetize your games

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

Idle/Walk Animation system

Idle/Walk Animation system

Module Scripts

This will teach you the basics of module scripts.

String Manipulation

Learn how to manipulate strings!

Global Metatable Functions

Raw functions and newproxy.

UserOwnsGamePassAsync

How to check if a player owns a specific gamepass.

Threading Basics

Explanations for spawn, delay and the coroutine library.

Only player door

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

RbxWeb Tutorial

RbxWeb is a DataStore module made by movsb.

Using Key Detection

This will teach you key detection for LUA.

Custom Pathfinding with A*

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

Dropable Tool

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

Basics of CFrame

Very simple tutorial/explanation on CFrame

How to make a successful game

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

Tables

Intro to variadic tables & their uses.

Protected Calls

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

Overhead Gui

Creates a Overhead Gui for the owner admin ect

Changing Your In-Game Cursor

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

Returning

Learn what is returning and how to use it!

Gun Tool Skeleton/Basics

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

Understanding CFrames

How CFrames are represented, created, and manipulated.

easy sprint script

lua keybinded sprint

Viewport frame tutorial

How to use viewport frame

creating game teleport

learn how to creat teleport to other game

Variable Types

The identities of a variable

Indexing Properly

How to index objects

Only Owner Door

Make a door like in tycoons using Physics Service!

Random Tables

Learn how to use "random" on a table.

Making Custom Commands

Make your own custom commands

Projectile Desynchronization

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

Coroutines

The coroutine library

The Wait Script

This is about the wait script.

Sorting Tables!

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

Properly save data on close

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

Instance.new

Adding objects into workspace with a script!

GetChildren & GetDescendants

Explains how GetChildren and GetDescendants work.

NPC AI Pathfinding

Learn how to make AI move with PathfindingService

Understanding math.random

math.random() selects a random number

Sound Visualisers

Learn to create your own audio visualiser

Datastore Introduction

An intro to Datastores!

Custom Chat Tags

Learn how to add custom chat tags to your game!

Sync your time with the server

Learn how to sync your time with the server time.

CollectionService

You will learn about CollectionService.

Simple Shift (Mobile)

Shift running made easy!

Basics Of Functions

This tutorial is about the basics of functions

GUI Animations

Basic Tweening, Additional Options, Advanced Tweening And More!

Basic modelling + Properties

Hey! This is just some simple modelling for beginners.

Make Your Character Invisible!

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

Recursive functions

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

How to Make a Sit Button

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

Debounces

Debounces add cooldowns to functions to prevent scripts from breaking.

Player CFrame Control w/ Mouse

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

Spawning A Player

Spawn, position, and assign a player's team

UserInputService & key input

Learn UserInputService and its importance.

Basic Daylight Cycle

I will show you how to make a Daylight Cycle

For Loops

Explanation of For Loops.

Teleportation Pad

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

Object Oriented Programming

Learn how to create your own object in Roblox!

What really is an object?

Will hopefully give you a better understanding.

Make animation for characters

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

Server and Client

Server and Client side, what do they mean?

Server Lock Script for Groups!

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

BadgeService

Talks about BadgeService and how to award badges!

Randomizing Text

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

Make a random player chooser

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

How To Make a Tool Giver

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

Magnitude

magnitude is the lenght of a vector

Understanding OOP

Tutorial on the basics of OOP.

How to change a Sword's Damage

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

Generating Numbers

Using Math.Random

OnTouch Events

How to make a part do things.

Lua Math 101

1 + 1 = 2

Loading Screen

Insert a Local Script in Replicated First

Keycard Door Tutorial

How to make a keycard door work.

Dynamic Depth of Field

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

Union and Negate

Using the Union and Negate tools in Studio

Hinge Constraints: Servo

Learn to set up hinge constrains as servos!

Variadic functions

Learn what variadic arguments and functions are

OOP in more detail

Looks at subjects like inheritence

VIP Chat Gamepass

VIP Chat Gamepass

Getting Player Ping

How to get a player's ping using a RemoteFunction

Opening and Closing a GuI

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

What are events?

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

Rainbow Effect!

Give a Part a color changing rainbow effect

Changing Properties

Change properties through script!

Anti-Gravity Block!

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

Simple Transportation System!

This is a Simple Transportation System made using bodyposition

Debounce

What is a Debounce script?

Using string functions.

How to use the string functions.

Basics of Tables

Teaches you how to use tables in the simplest way