Ad
Log in to vote
0

my Script Executon Gui doesn't exec scripts, also says "Loadstring not available" when I enabled it?

Asked by 9 months ago
local execme = script.Parent.Parent.TextBox

script.Parent.MouseButton1Down:connect(function(yee)
    loadstring(execme.Text)()
end)

Help me please!

1 answer

Log in to vote
0
Answered by
mattscy 3467 Moderation Voter
9 months ago

loadstring compatability with local scripts was removed. If you want to execute code, you can use loadstring through a server script, but you cannot use loadstring to execute client-sided code.

0
Can you give me a sample script please? iiDoge_Legend -7 — 9mo
Ad

Answer this question