chore: refractor
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
--!native
|
||||
--!optimize 2
|
||||
|
||||
if not game:IsLoaded() then
|
||||
game.Loaded:Wait()
|
||||
end
|
||||
|
||||
pcall(function()
|
||||
task.synchronize()
|
||||
task.defer(function()
|
||||
game:GetService("Workspace"):WaitForChild("$blockscraft_server",9e9):Destroy()
|
||||
end)
|
||||
end)
|
||||
|
||||
local ReplicatedStorage = game:GetService("ReplicatedStorage")
|
||||
|
||||
local objects = ReplicatedStorage:WaitForChild("Objects", 9e9)
|
||||
objects:WaitForChild("MLLoaded", 9e9)
|
||||
objects:WaitForChild("CSMLLoaded", 9e9)
|
||||
|
||||
do
|
||||
local PM = require(ReplicatedStorage:WaitForChild("Shared"):WaitForChild("PlacementManager"))
|
||||
PM:Init()
|
||||
end
|
||||
|
||||
do
|
||||
local CM = require(ReplicatedStorage:WaitForChild("Shared"):WaitForChild("ChunkManager"))
|
||||
CM:Init()
|
||||
end
|
||||
Reference in New Issue
Block a user