-- Compiled with roblox-ts v3.0.0 local TS = _G[script] local Janitor = TS.import(script, TS.getModule(script, "@rbxts", "janitor").src).Janitor local Destroyable do Destroyable = setmetatable({}, { __tostring = function() return "Destroyable" end, }) Destroyable.__index = Destroyable function Destroyable.new(...) local self = setmetatable({}, Destroyable) return self:constructor(...) or self end function Destroyable:constructor() self.janitor = Janitor.new() end function Destroyable:destroy() if not (self.janitor.Destroy ~= nil) then return nil end self.janitor:Destroy() end end return { default = Destroyable, }