I have a table that stores my guiObject elements tweened sizes and their original ones. Having this table in the local script takes up a ton of space so I decided to make it a module. I’m getting this error. It works when the table is in the client script I’m requiring it from
02:40:45.491 - Module code did not return exactly one value
02:40:45.493 - Requested module experienced an error while loading
02:40:45.494 - Stack Begin
02:40:45.494 - Script ‘Players.SovereignFrost.PlayerGui.gui.Menu Screen.Menu Client’, Line 8
Module below if you want to take a look at it.
local Sizes = {
['PlayButton'] = {
OriginalSize = {
[1] = 0.486,
[2] = 0,
[3] = 0.307,
[4] = 0,
},
TweenedSize = {
[1] = 0.496,
[2] = 0,
[3] = 0.317,
[4] = 0,
},
},
['TeamsButton'] = {
OriginalSize = {
[1] = 0.486,
[2] = 0,
[3] = 0.307,
[4] = 0,
},
TweenedSize = {
[1] = 0.496,
[2] = 0,
[3] = 0.317,
[4] = 0,
},
},
['ShopButton'] = {
OriginalSize = {
[1] = 0.461,
[2] = 0,
[3] = 0.254,
[4] = 0,
},
TweenedSize = {
[1] = 0.471,
[2] = 0,
[3] = 0.264,
[4] = 0,
},
},
['RulesButton'] = {
OriginalSize = {
[1] = 0.222,
[2] = 0,
[3] = 0.191,
[4] = 0,
},
TweenedSize = {
[1] = 0.232,
[2] = 0,
[3] = 0.201,
[4] = 0,
},
},
['SettingsButton'] = {
OriginalSize = {
[1] = 0.222,
[2] = 0,
[3] = 0.191,
[4] = 0,
},
TweenedSize = {
[1] = 0.232,
[2] = 0,
[3] = 0.201,
[4] = 0,
},
},
['ChangelogButton'] = {
OriginalSize = {
[1] = 0.461,
[2] = 0,
[3] = 0.149,
[4] = 0,
},
TweenedSize = {
[1] = 0.471,
[2] = 0,
[3] = 0.159,
[4] = 0,
},
},
}