Rewuiring module causes infinite yield

This is the fraction of the code in the script that causes the issue

print("GettingSelfModule")
local EncounterInfo = require(Region.EncounterInfo)
print("ModulesChecked")

Region is the argument to a function, it is passed correctly and no errors happen, the script just yields forever, it is worth noting that this cript is a local script and the modulescript is a descendant workspace.

Can you elaborate on your issue, as it quite ambiguous. Why don’t use use just require the module script and reference your function, instead of requiring the function itself?

Oh i alrady fixed it :))
can’t remember what the problem was lol