I'm working on a script where a sphere expands then disappears and it works perfectly when tested in the workspace but the instant I clone it it no longer activates the script. I've attempted deactivating then activating it with a script once it gets added to the workspace but that didn't work either. Any help would be much appreciated thanks.
Grow = script.Parent magicgrowth = coroutine.wrap(function() for i = 1,20 do Grow.Size = Grow.Size + Vector3.new(.5,.5,.5) wait(.1) end end) trans = coroutine.wrap(function() for i = 1, 20 do Grow.Transparency = Grow.Transparency + 0.05 print("why") wait(.1) end end) coldweather = coroutine.wrap(function() for i = 1, 20 do Grow.Size = Grow.Size - Vector3.new(.5,.5,.5) wait(.1) end end) trans() magicgrowth() wait(3) coldweather() wait(2) Grow:Destroy()