I am attempting to make a scrolling frame list that prints out an entire item list from Server Storage
For some reason, it won’t print the items in this folder in ServerStorage.
I’ve attempted to make it local, getting the ServerStorage Service and nothing works. I’ve looked through all the DevForum and I haven’t found anything to help me.
Thank you for any help you give. I just want to know how to get this to print as I know it’s possible.
The Script itself.
--Made By MillerrIAm
--------------Variables------------
local 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