Kinemium Docs

Services

Use Kinemium singleton services through the data model.

Services

Services are dynamically loaded singletons. The service loader assigns each service its name, parents it to the data model, and gives it BaseClass = "Singleton".

Get a service

local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")

The data model also proxies service names, but explicit GetService() calls are clearer and make plugin security checks obvious.

Plugin intents and capabilities

Some services declare plugin intents/capability requirements. In a plugin execution context, GetService() can deny access when the plugin has not requested the needed intent. Treat direct access to graphics, threading, filesystem, networking, and other engine-facing capabilities as privileged surfaces.

Service lifetime

Do not create service objects manually. Retrieve the singleton owned by game.

Browse the complete service reference.

On this page