Services
Services are module scripts that serve a specific purpose. For example a experience may have a service for GameUI, Points, etc.
Creating a service
Template
local Knight = {
ServiceName = script.Name,
ServiceData = {
Author = "vq9o",
Description = "Example Service example"
},
CanStart = true,
CanUpdate = true,
}
function Knight.Init()
warn("Example Service inited!")
end
function Knight.Start()
warn("Example Service Started!")
end
function Knight.Update(DeltaFrame)
warn("Example Service called for new frame!")
end
return KnightDefault Functions
Init
Config
Priority Startup
Last updated