How I am going to load my module script from library

Hello,
So I try to make a module script for my Animated UI Services so when there’s a changes It would be updated to all customer that using my modules but I want to keep them private and safe from other to copying it from studio and can still being used normally, So I decided to uploaded the ModuleScript to library and make them private, and I was wondered that how I can load the module script from library?

1 Like

Use this:

local Module = require(ModuleId)
2 Likes

Just realize that require function are not working with local script, Is there any other way?

Unfortunately, loading a module script by ID from a LocalScript is not possible.

1 Like

Is that possible If I load them from normal script and clone them so local script can use it :0