Loading gui work, needs finished

This commit is contained in:
2023-12-28 02:40:00 -05:00
parent e55b8763f3
commit c3069d11f9
9 changed files with 273 additions and 20 deletions

View File

@@ -1,6 +1,14 @@
local Storage = game:GetService("ReplicatedStorage")
local ClientStorage = Storage:WaitForChild("Client")
local LoadCompleted = ClientStorage:WaitForChild("LoadingComplete")
--We need to wait for the game to load before spamming functionality
repeat
local GameIsLoaded = LoadCompleted:Invoke()
task.wait()
until GameIsLoaded
local HumanoidRPSettings = require(script:WaitForChild("HumanoidRootPart"))
local CameraModule = require(script:WaitForChild("Camera"))
local CrouchModule = require(script:WaitForChild("Crouch"))