RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a text label script that shows how many blocks are in the map"
-- local script local textLabel = script.Parent function updateBlockCount() local blockCount = 0 for _, part in ipairs(game.Workspace:GetChildren()) do if part:IsA("Part") then blockCount = blockCount + 1 end end textLabel.Text = "Blocks in Map: " .. blockCount end while true do updateBlockCount() wait(1) end