Hello everyone, after a long break from scripting I want to get back to it but I forgot almost everything. I have small problems with this module script even tho it only has a couple of lines.
For some reason whenever I am using modulescript it seems like the game cannot find the functions
within the module
this is a normal script in a click detector
local RS = game:GetService("ReplicatedStorage")
local Module = require(RS.ModuleScript)
local ClickD = script.Parent
ClickD.MouseClick:Connect(function(player)
Module.TestText("Test123")
end)
this is the module script
local module = {}
function TextTest(Text)
print(Text)
end
return module
And for some reason I dont get any errors