This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
local UserInputService = game:GetService("UserInputService") | |
local GuiService = game:GetService("GuiService") | |
local RunService = game:GetService("RunService") | |
local VRService = game:GetService("VRService") | |
local isEdit = false | |
local isServer = RunService:IsServer() | |
local isClient = RunService:IsClient() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax({ | |
method: "POST", | |
url: "https://avatar.roblox.com/v1/avatar/thumbnail-customization", | |
contentType: "application/json", | |
data: JSON.stringify({ | |
"camera": { | |
// Ranges are inclusive. | |
"distanceScale": 1, // 0.5 to 4 (Must be 1 for FullBody) | |
"fieldOfViewDeg": 45, // 15 to 45 | |
"yRotDeg": 0 // -60 to 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Moonlite | |
-- Author: MaximumADHD | |
-- Description: A WIP lightweight in-game player for sequences created in Moon Animator (by xSIXx) | |
-- Version: 0.1.0 | |
--[[ | |
== API == | |
------------------------------------` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
local ScriptEditorService = game:GetService("ScriptEditorService") | |
local ALIAS = "game.Selection:Get()[%s]" | |
type AutocompleteItem = { | |
label: string, | |
kind: Enum.CompletionItemKind?, | |
tags: {Enum.CompletionItemTag}?, | |
detail: string?, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ScriptEditorService = game:GetService("ScriptEditorService") | |
local SNIPPET_NAME = "new_class" | |
local SNIPPET_DESC = "Create a new prototype class with an export type defined!" | |
local SNIPPET = table.concat({ | |
"local ${1:%s} = {}", | |
"${1}.__index = ${1}", | |
"", | |
"export type Class = typeof(setmetatable({} :: {", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
-- Animate | |
-- maximum_adhd | |
-- September 21st, 2022 | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
--!strict | |
local Players = game:GetService("Players") | |
local RunService = game:GetService("RunService") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------------- | |
-- Bitbuf implements a bit-level buffer, suitable for | |
-- serialization and storing data in-memory. | |
------------------------------------------------------------------------------------- | |
--!strict | |
local Bitbuf = {} | |
------------------------------------------------------------------------------------- | |
-- Internal utility functions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
local ChangeHistoryService = game:GetService("ChangeHistoryService") | |
local InsertService = game:GetService("InsertService") | |
local Selection = game:GetService("Selection") | |
local props = { | |
"Name", | |
"Color", | |
"CFrame", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------------------------------------------------------- | |
-- XmlNode | |
--------------------------------------------------------------------------------------------------------------------------- | |
local function XmlNode(class: string) | |
local node = Instance.new("Configuration") | |
node.Name = class | |
return function (attributes) | |
if next(attributes) then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------------------------------------------------------------------ | |
-- @ CloneTrooper1019, 2021 | |
-- Luau BinarySearchTree | |
------------------------------------------------------------------------------------------------------------------------------------------ | |
local BinarySearchTree = {} | |
BinarySearchTree.__index = BinarySearchTree | |
local VALUE = 1 | |
local LEFT_NODE = 2 |
NewerOlder