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

For i,v Loop not firing?

Asked by 9 years ago
SG=game.Players.LocalPlayer.PlayerGui
Main=SG.DDR.Main

for i,v in pairs(Main.Left:GetChildren()) do
    print 'cat'
    if v.Position.Y.Scale ==-0.2 then
        v:remove() Lv=Lv+1
    end
end 

The Code wont fire. I put in print 'cat' to see if it'll at least fire but it doesn't. Where did I go wrong?

1
because theree'S no child in Main.Left XToonLinkX123 580 — 9y

Answer this question