of     1   

Bisoph
#222830228Monday, July 31, 2017 1:31 PM GMT

I'm making a BrickBattle game and I added a regeneration script into landscape. But when it regenerates the second time, it adds another Landscape model into the workspace. Then when it regenerates again, it squares how many landscape models are in the workspace. I don't know why this is happening please help me. Regen script: --[[for _, kid in pairs(script.Parent:GetChildren()) do if kid:IsA('Model') then local scr = script.RegenScript:Clone() scr.Parent = kid ############ = false end end]] local model = script.Parent local backup = script.Parent:Clone() while true do wait(5) model:Destroy() wait(1) local clone = backup:Clone() clone.Parent = workspace clone:MakeJoints() end

    of     1