As the video show my print “does +1” when I open and close my scrolling GUI I have no clue why it does this
Choose.MouseButton1Down:Connect(function()
print("Connect")
if Choose.Text == "Cancel" then
print("Animation Has Been Cancel")
EmoteChoosed = ""
Choose.Text = "Choose"
SP.ScrollingFrame.Visible = false
ListOpen = false
elseif not ListOpen then
ListOpen = true
print("List Of Animation Has Beed Open")
SP.ScrollingFrame.Visible = true
Choose.Text = "Pick An Emote"
for i, v in (SP.ScrollingFrame:GetChildren()) do
if v:IsA("TextButton") then
v.MouseButton1Down:Connect(function()
print("E")
end)
end
end
elseif ListOpen then
ListOpen = false
print("List Of Animation Has Beed Closed")
SP.ScrollingFrame.Visible = false
Choose.Text = "Choose"
end
end)