#pragma once // Services are top-level singletons and belong to a specific DataModel // They serve one specific task and can be accessed using game:GetService #include "objects/datamodel.h" #include class Service : public Instance { protected: Service(const InstanceType* type); virtual void InitService(); virtual void OnRun(); void OnParentUpdated(std::optional> oldParent, std::optional> newParent) override; friend class DataModel; };