···5566BlockManager.BlockIdMappings = {} :: {BasePart}
7788-for i,v in pairs(game:GetService("ReplicatedStorage"):WaitForChild("Blocks"):GetChildren()) do
88+for _,v in pairs(game:GetService("ReplicatedStorage"):WaitForChild("Blocks"):GetChildren()) do
99 BlockManager.BlockIdMappings[v:GetAttribute("n")] = v
1010end
11111212BlockManager.UpdateIdMappings = {} :: {BasePart}
13131414-for i,v in pairs(game:GetService("ReplicatedStorage"):WaitForChild("BlockUpdateOperations"):GetChildren()) do
1414+for _,v in pairs(game:GetService("ReplicatedStorage"):WaitForChild("BlockUpdateOperations"):GetChildren()) do
1515 local success, reason = pcall(function()
1616 BlockManager.UpdateIdMappings[v:GetAttribute("n")] = require(v)
1717 end)
···3737 local b = BlockManager.BlockIdMappings[blockId]:Clone()
3838 b.Size = Vector3.new(3.95,3.95,3.95)
39394040- for i,v in pairs(attr or {}) do
4141- b:SetAttribute(i,v)
4040+ for _,v in pairs(attr or {}) do
4141+ b:SetAttribute(_,v)
4242 end
43434444 if BlockManager.UpdateIdMappings[blockId] then
···117117 if existing then
118118 task.defer(function()
119119 task.synchronize()
120120- RunService.RenderStepped:Wait()
120120+ -- RunService.RenderStepped:Wait()
121121 if existing.Parent then
122122 existing:Destroy()
123123 end