Server Script
--//Varibles\\-- wait(1) local InstallRegionModule = script.InstalizeRegionScript InstallRegionModule.Install()
Module script
local WorkspaceRegions = workspace.Regions local module = { Install = function() for i,v in pairs(WorkspaceRegions:GetChildren()) do v.RegionPart.Transparancy = 1 v.CanCollide = false end end } return module
You have to call require on ModuleScripts.
local InstallRegionModule = require(script.InitializeRegionScript)
to call a module you have to
local InstallRegionModule = require(script.InstalizeRegionScript)