Adonis ;localscript command

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.

2 Likes

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.

Basic example
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
1 Like

Thanks!

I will try soon.
Gonna let you know if it works.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.