Require() Not working

I’m just trying to require something. But whenever I use require(). It just doesn’t work. I couldn’t find this error anywhere else.

I’ve tried using InsertAsset. But that only works for models owned by the game developer.

// In this case, I set the id to the HD Admin Loader, as I know that they require the main module to run HD Admin

print(id)
local main = require(id)

1 Like

The id variable is a string, try passing in a number.

5 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.