local Menu = script.Parent.StartMenu
local Frame = Menu.Frame
local Pic = Frame.Huh
local ContentProvider = game:GetService("ContentProvider")
while true do
wait()
Pic.Rotation = Pic.Rotation + 5
end
local function LoadAssets(AssetList)
-- Takes an asset list and preloads it. Will not wait for them to load.
for _, AssetId in pairs(AssetList) do
ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
end
while ContentProvider.RequestQueueSize > 0 do
wait(0.1)
end
end
LoadAssets({316291477, 328017149, 328371540, 198614198})
wait(0.1)
Pic.Visible = false
That is my script. After I load it, it does not let me do anything. An example I put was making my spinning icon invisible, but it does not work. Do I need a wait somewhere in the script that I missed?

1 comment
Thank you so much! It worked!