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)?
✓ ANSWER ACCEPTED
Since LoadLibrary is deprecated (and soon removed), how would I use the RBXGUI directly?
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:
- Download the file (LoadLibrary.rbxmx) that contains 3 ModuleScripts in a Folder (Please see the devforum post for the download)
- Insert it into your game into ReplicatedStorage by right-clicking ReplicatedStorage, choosing “Insert from File…” and locating the file you downloaded.
- 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.

3 comments
I have never used RbxGui, or LoadLibrary in general, what did RbxGui do? Perhaps I can provide an alternative.
@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
@programmerHere it kinda just does some animation stuff too if you check the script