Hello!
I am having an issue where whenever a new round starts, there is a chance for the Monster to spawn twice every round, but whenever that happens the timer is stuck at one second and then an error comes up with “The Parent property of Big Cube is locked, current parent: NULL, new parent Workspace”, and then when I click where the error is occuring it shows me this:
local chosen = BigCube[math.random(1, #BigCube)]
chosen.Parent = workspace
Status.Value = The ..chosen.Name.. is here! Survive!
The chosen.Parent = workspace line works fine whenever its a different monster that spawns but if it is the same one the round system breaks and it stops working!
I don’t know what to do and I thought using the WaitForChild function would fix this problem, but it wouldn’t and the first round would just freeze on one second with no error.
How can I fix this problem?