diff --git a/src/VersionInfo.json b/src/VersionInfo.json index 7c08e7e..ec17021 100644 --- a/src/VersionInfo.json +++ b/src/VersionInfo.json @@ -1,4 +1,4 @@ { - "version": "0.571.0.5710526", - "guid": "version-4ef836e0430f4819" + "version": "0.573.0.5730507", + "guid": "version-da56b3062bbf4871" } \ No newline at end of file diff --git a/src/init.lua b/src/init.lua index d7a25bb..13d1c06 100644 --- a/src/init.lua +++ b/src/init.lua @@ -5,18 +5,23 @@ local StarterPlayerScripts = StarterPlayer:WaitForChild("StarterPlayerScripts") local module = {} local RbxCharacterSounds = script:WaitForChild("RbxCharacterSounds") +local versionInfo = require(script:WaitForChild("VersionInfo")) local MODULE_NAME = RbxCharacterSounds.Name -function module.get(): ModuleScript +function module.getVersionInfo(): {[string]: string} + return table.clone(versionInfo) +end + +function module.get(): LocalScript return RbxCharacterSounds end -function module.getCopy(): ModuleScript +function module.getCopy(): LocalScript return module.get():Clone() end -function module.replace(rbxCharacterSounds: ModuleScript) +function module.replace(rbxCharacterSounds: LocalScript) local existing = StarterPlayerScripts:FindFirstChild(MODULE_NAME) if existing then existing:Destroy() diff --git a/wally.toml b/wally.toml index 3fb1477..e15a4da 100644 --- a/wally.toml +++ b/wally.toml @@ -1,6 +1,6 @@ [package] name = "upliftgames/rbxcharactersounds" -version = "571.0.5710526" +version = "573.0.5730507" registry = "https://github.com/UpliftGames/wally-index" realm = "shared"