What do you want to achieve?
I would like this script to detect when a timer value reaches a certain number and then clone a zombie from replicated storage and move it to a folder that spawns zombies to make the round harder as it progresses
What is the issue?
For some reason the script doesn’t do anything when the value reaches a number and it doesn’t say anything in the output
What solutions have you tried so far?
I used GetPropertyChangedSignal(‘Value’) but it didn’t do anything
local zombieContainer = script.Parent.Parent:WaitForChild("ZombieContainer")
local status = script.Parent.Parent:WaitForChild("Status")
status:GetPropertyChangedSignal('Value'):Connect(function()
if status.Value == "TIME: 15 then
local clone = script.Parent.GiantZombie:Clone()
clone.Name = "Zombie"
clone.Parent = zombieContainer
end
end)