This is printing normally inside a script
![]()
local qweuioqe = ""
for i = 1, 24 do
local a = math.random(1,#jk123ji)
qweuioqe = qweuioqe..jk123ji[a]
end
wait(1)
print(qweuioqe)
But once I try to put that inside a ModuleScript and require() the function I get this:

Line: 3
local req = require(game.ReplicatedStorage:WaitForChild("ModuleScript"))
Require (Script):
local req = require(game.ReplicatedStorage:WaitForChild("ModuleScript"))
function req.ui1h3ui212ji3(data)
print(data)
end
ModuleScript:
local jk123ji = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"}
local function ui1h3ui212ji3()
local qweuioqe = ""
for i = 1, 24 do
local a = math.random(1,#jk123ji)
qweuioqe = qweuioqe..jk123ji[a]
return qweuioqe
end
end
So basically what I am trying is to receive the information the function should give me.
Information would be a random generated string
I don’t have much experience with ModuleScript yet