So basically I scripted my game to infinitely generate parts or little blocks, and I wanted to add a counter to show how many blocks have been generated. How would I script that? I'm very new to scripting btw so please excuse my noobiness.
This is the script I used to make the parts spawn infinitely, if that helps.
while true do
wait(0.5)
part = Instance.new("Part")
part.Parent = game.Workspace
end

1 comment
No need to do game.Workspace, instead, just write workspace