I've been working on a different method for my game instead of lumping everything all into one Master Script(It isn't bad, but I wanted to switch things around a bit more.)
So basically, I have ScriptA.
while true do -- Random Stuff here wait(1) Owl = game.Lighting.Location.ScriptB:clone() Owl.Parent = game.Workspace wait(1) game.Workspace.ScriptA:remove()
So ScriptA is located in the Workspace, and I am moving ScriptB to the workspace from the lighting. Now my problem is, I am trying to get rid of ScriptA. Disabling won't do(It tends to pile up ._.)
And ScriptB technically does the same thing as ScriptA(Does stuff, then moves onto ScriptC)
-Thanks!
Try taking it out of the loop. Put it after the loop, it should still run. I think your script is bugging out because that same code keeps running over and over. Once you've done this, try the disabling method again. And another thing, master scripts are not bad. Try using those (if you really don't want to, that is fine, it is just what I recommend).
I have an idea. Disable ScriptB, then before ScriptA commits suicide, (use :Destroy() instead) enable the clone of ScriptB. Voila?
while true do --Whatever here wait(1) Owl = game.Lighting.Location.ScriptB:clone() Owl.Parent = game.Workspace return false