Skip to main content

Snippets

In order to help you write code fast, several snippets have been premade to autocomplete common boilerplate you may write. This file is a work in progress.

import

Generates a variable importing a specified module. Ex:

local ModuleName = Import("ModuleName")

preamble

Generates a header block for any file you create. It will automatically fill in the date and the respective class, but you will have to manually enter your name.

-- YourName (YourUserName)
-- Month Day, Year
--[=[
@class MyClass
]=]

--// Services //--
local ReplicatedStorage = game:GetService("ReplicatedStorage")

--// Imports //--
local Import = require(ReplicatedStorage.Orion.Import)

method

--[=[

]=]
function ModuleName:MethodName()

end

class

Generates a generic class inheriting from BaseObject

story

Generates a hoarcekat story

roamservice

Generates a template for a generic Roam Service.

instancecomponent

fusioncomponent