chore: refractor

This commit is contained in:
2026-01-08 22:58:58 +02:00
parent da7de7b08a
commit 2c41f40151
49 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -0,0 +1,9 @@
--!native
--!optimize 2
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local objects = ReplicatedStorage:WaitForChild("Objects", 9e9)
objects:WaitForChild("MLLoaded", 9e9)
objects:WaitForChild("CSMLLoaded", 9e9)
return

View File

@@ -0,0 +1,4 @@
{
"className": "Actor",
"ignoreUnknownInstances": true
}