This is what for loops are useful for.
I don't understand much about your game or what is in your script but if you use a for loop you can automatically do this - you don't need to copy and paste lots of variables.
Example:
local wave = 0
local zombies = 0
local workspace = game.Workspace:GetChildren()
for i,v in pairs(workspace) do
if v.Name = "zombie" then
zombies = zombies +1
end
end
if zombies == 0 then
wave = wave + 1
end
You need to script in a part where the zombies variable is decreased each time a zombie dies - I can't die that since as I said I don't know much about your game (workspace details, etc)
This obviously isn't a very detailed or "good" script, but it should work if you script it correctly. Also make sure you serverside it or it'll be only on the client's side.
2 comments
I am talking about when everyone kills zombies the round number text changes i wanna know how to do it without copy and pasting it and changing number.
There.