I have a module script that has a lot of values,
local module = {}
local RepStorage = game.ReplicatedStorage
module.Neighborhood = workspace:WaitForChild("Neighborhood", 10)
module.ToolsFolder = RepStorage:WaitForChild("ToolsFolder")
module.NoteTool = module.ToolsFolder:WaitForChild("Note")
module.SpeedCoilTool = module.ToolsFolder:WaitForChild("Speed Coil")
module.PlayerChestKey = module.ToolsFolder:WaitForChild("PlayerChestKey")
module.Toy_Crown = module.ToolsFolder:WaitForChild("Toy Crown")
module.ShovelTool = module.ToolsFolder:WaitForChild("Shovel")
module.MansionKey = module.ToolsFolder:WaitForChild("Mansion's Key")
module.CupTool = module.ToolsFolder:WaitForChild("Cup")
module.CupWaterTool = module.ToolsFolder:WaitForChild("Cup of Water")
module.RemEvents = RepStorage:WaitForChild("RemoteEvents")
module.EquipNewTools = module.RemEvents:WaitForChild("EquipNewTools")
module.ChangeTools = module.RemEvents:WaitForChild("ChangeTools")
module.DestroyGui = module.RemEvents:WaitForChild("DestroyGui")
module.GetPlayerItems = module.RemEvents:WaitForChild("GetPlayerItems")
module.DestroyMansionObj = module.RemEvents:WaitForChild("DestroyMansionObj")
module.TypeGuiText = module.RemEvents:WaitForChild("TypeGuiText")
module.GuiFolder = RepStorage:WaitForChild("GuiFolder")
module.EquipItemsGui = module.GuiFolder:WaitForChild("EquipItemsGui")
module.ReceivedItemGui = module.GuiFolder:WaitForChild("ReceivedItemGui")
module.MessageGui = module.GuiFolder:WaitForChild("MessageGui", 10)
module.PizzaManGui = module.GuiFolder:WaitForChild("PizzaManGui", 10)
-- there's a lot more values, just keeping it short
return module
And was wondering if it’s bad to do something like this, such as it affecting performance or if exploiters can do something with this. If nothing is said I’m gonna assume it’s safe :d