Input Image Library issue

In this wiki article (Documentation - Roblox Creator Hub), it gives sample code for a local script. When I run that code, it breaks the entire script and says it can’t run the code from a local script. It would be very much appreciated if someone can tell me how I can fix this.

Thanks for reading,
-Sutic

Funnily enough, that script is messed up, I’m pretty sure you can’t load an asset like that from a local script, what I’ve done is just use command line to load it and put it inside the script, and require that.

Since clients can no longer use InsertService (as per last year or so), you need to add the ModuleScript into your game yourself.

Or have a Script (server-side) run the LoadAsset method to get the latest version of the modulescript into your game, then wait for it on the client.

1 Like

I added it in, and used it, but all I get is this https://gyazo.com/71b95b63c65c1a2d2a88f6dac24e5790

EDIT: Nvm, I found what was the problem.