Files
block-game/StarterPlayer/StarterPlayerScripts/Actor/ActorInit.client.lua
2026-01-08 22:58:58 +02:00

29 lines
659 B
Lua

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