Is there a way to use/a workaround for http requests in a localscript in Roblox?
I’m making a roblox game, and am using a localscript to handle some of the ui stuff. I need to use an http request to grab the contents of the local players’ inventory (not in-game inventory, but the one with the stuff they can buy from the catalog/marketplace) but you can’t use http requests in localscripts, so I’m looking for a workaround. I’ve also tried putting the code that handles getting the inventory into a separate modulescript. That didn’t work, as roblox holds any modulescripts to the restrictions of whatever script they’re being run in (at least to my knowledge).
here’s some code to illustrate where I am atm:
(here’s the modulescript contents: