A lot of times loadstring may not be a very good way to execute scripts. I suggest using a lua VM module. Heres one of the first results I found: www.roblox.com/library/5041463280/Lua-VM
Just do
local vm = Path.to.Module
vm("your code")
A lot of times loadstring may not be a very good way to execute scripts. I suggest using a lua VM module. Heres one of the first results I found: www.roblox.com/library/5041463280/Lua-VM
Just do
local vm = Path.to.Module
vm("your code")