optimize native scripts

This commit is contained in:
2024-09-06 14:58:12 -04:00
parent f0bf277d13
commit a5afa7792a
61 changed files with 45 additions and 96 deletions

View File

@@ -1,5 +1,4 @@
--!optimize 2
--!native
--!strict
--Not a good idea to call modules from other services here

View File

@@ -1,5 +1,4 @@
--!optimize 2
--!native
--!strict
local load_elapse_start = os.clock()
@@ -22,10 +21,10 @@ local function LoadingIntroGUI()
task.wait()
until Player
end
local PlayerGui = Player:WaitForChild("PlayerGui")
IntroGui = PlayerGui:WaitForChild("rhpidframework_intro", 10)
if IntroGui then
--Let the magic begin
RunIntroGui(IntroGui, load_elapse_start)