From d2d9f5dd6349314510ebad5723db7b48fa89f4e4 Mon Sep 17 00:00:00 2001 From: MuramasaM <107993352+MuramasaM@users.noreply.github.com> Date: Mon, 4 Jul 2022 14:42:19 -0700 Subject: [PATCH] Delete 2 --- public/game/2 | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 public/game/2 diff --git a/public/game/2 b/public/game/2 deleted file mode 100644 index 318e116..0000000 --- a/public/game/2 +++ /dev/null @@ -1,23 +0,0 @@ -%2% --- Library Registration Script --- This script is used to register RbxLua libraries on game servers, so game scripts have --- access to all of the libraries (otherwise only local scripts do) - -local sc = game:GetService("ScriptContext") -local tries = 0 - -while not sc and tries < 3 do - tries = tries + 1 - sc = game:GetService("ScriptContext") - wait(0.2) -end - -if sc then - sc:RegisterLibrary("Libraries/RbxGui", "17") - sc:RegisterLibrary("Libraries/RbxGear", "18") - sc:RegisterLibrary("Libraries/RbxUtility", "19") - sc:RegisterLibrary("Libraries/RbxStamper", "20") - sc:LibraryRegistrationComplete() -else - print("failed to find script context, libraries did not load") -end