What the script is suppose to do.
It is suppose to print the list of items in the scrollframe while changing the name of the Label to what that section is suppose to be.
This does work but not in ServerStorage.
I know what ServerStorage is and that's why I'm trying to get this to work.
The Script itself
--Made By MillerrIAm
--------------Variables------------
Music = game:GetService("ServerStorage").MusicFolder:GetChildren()
SFrame = script.Parent.ScrollingFrame
Value = 0
Number = 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,Number)
frame.Label.Text = v.Name
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,Number)
frame.Label.Text = v.Name
Value = 0
Number = Number + 50
end
end
script.Disabled = true
end
Thank you for any help you give!

2 comments
Is this a local script? A local script can't access ServerStorage since it runs on the client.
Local Script