Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Can Anyone Explain What This Script Means?

2 answers

✓ Accepted answer

The basic function on how this works is that it will load the code from above. The bottom code will explain it.

code = [[ p = Instance.new("Part", game.Workspace) p.Anchored = true ]] -- The code that will be called on.

loadstring(code)() -- Calls on the code, using loadstring.

Now if you would like to read more on it, here is the wiki page.

2 comments

0

thanks this really helped!

0

No problem.

"code = [[ p = Instance.new("Part", game.Workspace) p.Anchored = true ]" That means that the part will be anchored, and it will not fall. "loadstring(code)()" I do not know what that means, sorry :(

This discussion is preserved as it was. New answers, comments, and votes are closed.