I receive the following output after a couple times clickin a brick which starts the script.
22, The Parent property of ChosenOne is locked, current parent: NULL, new parent Workspace
Script underneath
local modelGroup = game.ReplicatedStorage:FindFirstChild("Maps"):GetChildren()
local PickedModel = modelGroup[math.random(1, #modelGroup)]
local Model = PickedModel:Clone()
local destroy = game.ServerScriptService.RoundStats.ShouldDestroy
local damage = destroy.Parent.MostDamage
destroy.Changed:connect(function(property)
if destroy.Value == true then
--[[ Reset Round Stats ]]--
destroy.Value = false
damage.Value = ''
--[[ End Reset Sequence ]]--
game.Workspace.ChosenOne:Destroy()
wait(.3)
----------
local pl = game.Players:GetChildren()
for i=1,#pl do
pl[i].Character.Humanoid.Health = 0
----------
Model.Parent = game.Workspace
Model.Name = 'ChosenOne'
Model:MakeJoints()
end
else
end
end)

3 comments
I got that same parent error on my question...
Has it ever worked before?
It works a couple of clicks then it stops. Without problems with continual clicking, no.