Loadstring Module Differences?

Hello, I am using a loadstring module for a system that developers can easily add to their game. I use this to simplify the step of enabling LoadStringEnabled. I am using this module for loadstring:

https://www.roblox.com/library/410455309/Custom-Loadstring

But this module runs lua code a bit differently. (I think it is outdated.)

An example of this is (Normal LoadString):

loadstring(‘local success,err = pcall(function() wait() error(“howdy partner”) end) print(success)’)()
false

vs this (Loadstring Module)

require(script.Loadstring)(‘local success,err = pcall(function() wait() error(“howdy partner”) end) print(success)’)()
(Error) Howdy Partner

Is there any updated module or alternative way to achieve this?
All answers are appreciated.

1 Like