Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
5

Why won't this model destroy?

Asked by 9 years ago

Everything works with no errors.

It loops fine.

It's just one thing.

If you look on line 65, you can see I had mentioned

01h=Instance.new("Hint")
02    h.Parent=game.Workspace
03while wait(1) do
04 
05    script.StarterMusic:Play()
06    script.Hide:Stop()
07--variables
08 
09    h.Text=""
10 
11    --round starts
12    if game.Players.NumPlayers<=0 then
13        while game.Players.NumPlayers<=0 do
14            wait(1)
15    h.Text="Waiting for 2 players..."
View all 81 lines...

Help and upvotes are appreciated!

1 answer

Log in to vote
0
Answered by
wackem 50
9 years ago

This should work, if it does not, you have conflicting scripts I suppose.

1local v = mapclone:GetChildren()
2 
3v:Destroy()
0
Thanks, but I found the problem. I cloned the model twice. ChemicalHex 979 — 9y
Ad

Answer this question