hello!
i just wanna know how i can make a ;localscript command because I was Adonis doing this and I wanna know how it’s possible.
thanks
hello!
i just wanna know how i can make a ;localscript command because I was Adonis doing this and I wanna know how it’s possible.
thanks
Do you mean things like
;fly me
;kill others
???
no
i just wanna know how i can make a ;localscript command like Adonis has one
I have 0 idea what adonis is lol my bad dawg can’t help.
The loadstring()
function is probably what you want. Although, regular loadstring()
is only server-sided, so you’d have to use a community-made resource such as vLua
:
There’s tons of different versions out there, but vLua is the one I personally use.
local loadstring = require(<path to vLua>)
local Code = [[
print("Hello world!")
]]
local Function = loadstring(Code)
if Function then --the given function could be nil
Function()
end
Thanks!
I will try soon.
Gonna let you know if it works.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.