What the script is suppose to do.
It's suppose to print the frame twice across which it does but it is then suppose to continue printing the stuff down by 5 then repeat that exact same cycle until it goes through the entire list. So like this. Value1 Value2 then it goes down 5 then does Value3 Value4 It continues until it goes through the entire list.
What the script currently does.
It prints the audio's like it should but it doesn't go down like it's suppose to.
--Made By MillerrIAm --------------Variables------------ Music = game.Workspace.MusicFolder:GetChildren() SFrame = script.Parent.ScrollingFrame Value = 0 -------------Main Script------------ while script.Disabled == false do for i,v in pairs(Music) do if Value == 0 then frame = SFrame.MusicFrame:Clone() frame.Visible = true frame.Parent = SFrame frame.Position = frame.Position + UDim2.new(0,0,0,0) frame.Label.Text = v.Name wait(1) Value = 1 elseif Value == 1 then frame = SFrame.MusicFrame:Clone() frame.Visible = true frame.Parent = SFrame frame.Position = frame.Position + UDim2.new(0.5,0,0,0) frame.Label.Text = v.Name wait(1) end end end
Alright so, although no one on the site helped me... I figured I should help everyone else. My main issue is I didn't add a offset value that repeats itself inside the script so it just repeated the script over and over again.