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

Does loading localscripts into a GUI with LoadAsset work?

I'm trying to load LocalScripts using LoadAsset into a GUI to control it, but it's not working. I know the scripts itself work because when it's just in there, everything does what it's supposed to.

1 answer

✓ Accepted answer

Yes.

-- In a local script.

game:GetService("InsertService"):LoadAsset(IDHERE)[1].Parent = game.Players.LocalPlayer.PlayerGui

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