EDIT: Nevermind I figured it out. I was being a dunce and figured out that "v" actually represented the TextButtons in the frame, and it was checking if the TextButtons had 0 children then it would Tween.
In my previus question, I asked what the "#" symbol does when placed before something like "game.Lighting:GetChildren()."
I am trying to use this to Tween a Frame when the frame no longer has any TextButtons.
Since the entire code is a bit lengthy, here's a quick explanation on how it works: Each time a player clicks one of the TextButtons inside this Frame, the clicked TextButton is destroyed. "v" is the Frame which all the TextButtons are in.
if #v:GetChildren() < 1 then
script.Parent:TweenPosition(UDim2.new(.5, -150, -1, 0), "In", "Back", .5, false)
end
No matter how many TextButtons are in the Frame, once any of them get Destroyed the Frame is tweened off the screen. My expected results being that only when there are no longer any TextButtons in the Frame, it would tween.
Any help is much appreciated!
