Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago
Edited 4 years ago

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)?

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

1 answer

Log in to vote
1
Answered by
moo1210 587 Moderation Voter
4 years ago

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

0
thanks for the summary i went to check the devforum and it was just 7 paragraphs of half-junk speedyfox66 237 — 4y
Ad

Answer this question