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

Since LoadLibrary is deprecated (and soon removed), how would I use the RBXGUI directly?

The question may be confusing but i've seen that LoadLibrary is deprecated (not just now), and I found the script on github. Is there a replacement for LoadLibrary and can I just paste this directly into a (e.g: ModuleScript)?

3 comments

1

I have never used RbxGui, or LoadLibrary in general, what did RbxGui do? Perhaps I can provide an alternative.

0

@programmerHere its basically an easy way to get things like styled text and stuff but i myself only used it once so im kinda new to it

0

@programmerHere it kinda just does some animation stuff too if you check the script

1 answer

✓ Accepted answer

You should check out the devforum post about that here.

But here's a summary of what you can do:

A. Rescript your scripts to not use loadlibrary

B. Add loadlibrary back by using the devforum's steps:

  1. Download the file (LoadLibrary.rbxmx) that contains 3 ModuleScripts in a Folder (Please see the devforum post for the download)
  2. Insert it into your game into ReplicatedStorage by right-clicking ReplicatedStorage, choosing “Insert from File…” and locating the file you downloaded.
  3. In your script code, replace LoadLibrary calls with require as follows:
local RbxGui = require(game:GetService("ReplicatedStorage"):
    WaitForChild("LoadLibrary"):WaitForChild("RbxGui"))

-- call RbxGui as usual

You could also change the RbxGui's to RbxUtility and RbxStamper

1 comment

0

thanks for the summary i went to check the devforum and it was just 7 paragraphs of half-junk

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