@rbxts/humanoid-stat-manager 1.0.27 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/index.d.ts +7 -2
- package/out/init.luau +9 -8
- package/package.json +1 -1
package/out/index.d.ts
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { HumanoidStatManagerClient } from './client';
|
|
2
|
+
import { HumanoidStatManagerServer } from './server';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
HumanoidStatManagerServer: typeof import("./server") | typeof HumanoidStatManagerServer;
|
|
5
|
+
HumanoidStatManagerClient: typeof import("./client") | typeof HumanoidStatManagerClient;
|
|
6
|
+
};
|
|
7
|
+
export = _default;
|
package/out/init.luau
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
-- Compiled with roblox-ts v3.0.0
|
|
2
2
|
local TS = _G[script]
|
|
3
|
-
local
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
local RunService = game:GetService("RunService")
|
|
4
|
+
return {
|
|
5
|
+
HumanoidStatManagerServer = if RunService:IsServer() then TS.Promise.new(function(resolve)
|
|
6
|
+
resolve(TS.import(script, script, "server"))
|
|
7
|
+
end):expect() else nil,
|
|
8
|
+
HumanoidStatManagerClient = if RunService:IsClient() then TS.Promise.new(function(resolve)
|
|
9
|
+
resolve(TS.import(script, script, "client"))
|
|
10
|
+
end):expect() else nil,
|
|
11
|
+
}
|