I’m trying to put my functions in a ModuleScript, and then fire them in a local script.
In the ModuleScript
local windowFunctions = {}
function windowFunctions.windowCreate()
print("Window Creating")
print("Window Created")
end
return windowFunctions
Inside the LocalScript
local repStorage = game:GetService("ReplicatedStorage")
local windowFunctionsScript = repStorage:WaitForChild("windowFunctions")
local windowCreateFunction = windowFunctionsScript.windowCreate()
windowCreateFunction()