ezModules
  • ezModules
  • Task Scheduler
    • Basics
    • Key Features
    • How It Works
    • Advantages of using the TaskScheduler Module
    • Usage Examples
    • Installation
  • Data Handler
    • Getting Started
    • Usage Examples
    • Installation
Powered by GitBook
On this page
  • TaskScheduler Installation Guide
  • Option 1: Installing the Module from Roblox Creator Shop
  • Option 2: Directly Requiring the Module by Asset ID
  1. Task Scheduler

Installation

Learn how to install the TaskScheduler module in your game!

PreviousUsage ExamplesNextGetting Started

Last updated 8 months ago

TaskScheduler Installation Guide

This guide will walk you through the simple steps to install the TaskScheduler module in your Roblox game. The TaskScheduler allows you to manage multiple tasks easily, set priorities, handle retries, and much more, making your game's task management smoother and more efficient.

Option 1: Installing the Module from Roblox Creator Shop

  1. Get the TaskScheduler model from the Roblox Creator Shop:

  2. Insert the TaskScheduler model into your game:

    • Once you have the model, go to Roblox Studio and insert it into your game.

    • The model will appear in your game's Explorer window under Workspace or StarterPack depending on where you inserted it.

  3. Move the TaskScheduler to ReplicatedStorage:

    • To make sure the module is accessible across different scripts, move the TaskScheduler module to ReplicatedStorage:

      • In the Explorer, drag the TaskScheduler model from Workspace or StarterPack and drop it into ReplicatedStorage.

  4. Using the TaskScheduler in your script:

    • Once the module is in ReplicatedStorage, you can access it in your scripts like this:

local TaskScheduler = require(game.ReplicatedStorage.TaskScheduler) -- Make sure to use the correct path
TaskScheduler:AddLog("TaskScheduler Module Loaded", "require module")

Important Notes:

  • ReplicatedStorage is a service in Roblox that allows you to store items that need to be accessed by both the server and clients.

  • If you choose to place the TaskScheduler module inside a folder within ReplicatedStorage, make sure you reference it correctly in your script. For example, if you put the TaskScheduler module in a folder called Modules, you would use:

local TaskScheduler = require(game.ReplicatedStorage.Modules.TaskScheduler) -- Make sure to define the correct path
TaskScheduler:AddLog("TaskScheduler Module Loaded", "require module")

Option 2: Directly Requiring the Module by Asset ID

If you prefer not to insert the model into your game, you can directly use the TaskScheduler module via its Asset ID. This method is quick and easy.

  1. Add the following line to your script to require the TaskScheduler by its Asset ID:

local TaskScheduler = require(121440418698601) -- Directly require the TaskScheduler using its Asset ID
TaskScheduler:AddLog("TaskScheduler Module Loaded", "require module")
  1. Done! You can now use the TaskScheduler module in your game without needing to manually insert the model.

TaskScheduler Model