"make it do the 'main' function when tick starttime is == 5"
xxxxxxxxxx
local boolValue = script.Parent.Start
repeat task.wait(1) until boolValue.Value == true
local model = script.Parent
local sound = script.Parent.Proppppp.Fly
local startTime = tick()
local TweenService = game:GetService("TweenService")
local function main()
local folder = game.Workspace.enemies
local children = folder:GetChildren()
for i = 1, math.min(100, #children) do
local child = children[i]
local zombie = child:FindFirstChildOfClass("Humanoid")
if zombie then
zombie.Health = 0
end
end
end