LoadedUtil is essentially a custom API created by myself with multiple useful functions that can be used in plugins and games both on client and server. LoadedUtil is open-source and can be found here: https://www.roblox.com/library/1460018518/LoadedUtil
API:Class reference
Attachment Service
Properties
Functions
void AttachmentService:JoinAttachments ( Attachment Attachment0, Attachment Attachment1)
API:Class/AttachmentService/JoinAttachments
void JoinAttachments (
Attachment Attachment0,
Attachment Attachment1,
)Parameters:
Attachment0
Type: Attachment
RequiredAttachment1
Type: Attachment
RequiredReturns: void
Descriptions: Used to create a weld between two attachments similar to how accessories work on humanoids.void AttachmentService:MakeAttachments ( BasePart Handle )
API:Class/AttachmentService/MakeAttachments
void MakeAttachments (
BasePart Handle
)Parameters:
Handle
Type: BasePart
RequiredReturns: void
Descriptions: A recursive function that will go through the attachments of the Handle and connect them to the matching part’s attachment in the Handle’s parent.Events
Input Service
Properties
dictionary KeyBindings
API:Class/InputService/KeyBindings
Value Type: dictionary
Description: A list of binding names and there corresponding UserInputType and KeyCode. Functions with the same name under UserInput will fire if the key binding is fired.
Example:
local KeyBindings = { ['PrimaryActivate'] ={'Primary Use' ,true {{Enum.UserInputType.Gamepad1, Enum.KeyCode.ButtonR2} ,{Enum.UserInputType.MouseButton1, Enum.KeyCode.Unknown}} };
LoadedUtil:override('KeyBindings', KeyBindings)
dictionary UserInput
API:Class/InputService/UserInput
Value Type: dictionary
Description: The functions corresponding to the name of the keybinding in KeyBindings. Each function is fired with the value of Down which is if the key is down or not when one of the KeyCode or UserInputTypes is pressed or released.
Example:
local UserInput = { ['PrimaryActivate'] = function(Down) print('Mouse button 1 is down?: '..tostring(Down)) end }
LoadedUtil:override('UserInput', UserInput)
Functions
Events
Gui Service
The entire of my Gui Service has been deprecated due to it being unneeded in favour of PluginGui. Gui Service was only really good for plugins as using it in games would be impractical. There are still many functions and properties of Gui Service which can be found and used but there is no documentation on these but they will most likely be removed in future version. Use with care.
Properties
Functions
Events
Node Service
Properties
Functions
BasePart NodeService:CreateNode ( Vector3 Position )
API:Class/NodeService/CreateNode
BasePart CreateNode (
Vector3 Position
)Parameters:
Position
Type: Vector3
RequiredReturns: BasePart
Descriptions: Creates an invisible 1x1x1 part at the coordinates given. The parent of the node is nil so it must be set to workspace to be used. The returned BasePart is the node.Events