server output-[07:55:52.398 - Use the new http api: yes 07:55:56.831 - Started network server on 192.168.1.177|53640 07:55:56.832 - Started network server on 127.0.0.1|53640 Loading Cutscene Editor... 07:55:57.163 - Successfully opened file - C:/Users/layfo/AppData/Local/Roblox/server.rbxl Cutscene Editor Loaded play play play play play play 07:56:06.141 - New connection from 127.0.0.1|51716
play play play play play play play play play play Player -1 added]
test mode [07:56:00.416 - Use the new http api: yes Loading Cutscene Editor... 07:56:06.028 - ! Joining game '' place 0 at localhost 07:56:06.033 - Connecting to localhost:53640 Cutscene Editor Loaded 07:56:10.628 - Connection accepted from 127.0.0.1|53640
07:56:11.582 - BlackFrame is not a valid member of ScreenGui 07:56:11.583 - Script 'LoadingScript', Line 508 - global fadeBackground 07:56:11.584 - Script 'LoadingScript', Line 576 07:56:11.585 - Stack End]
music = script:GetChildren()
while true do
wait(1)
function RandMusic()
for i,v in pairs(music) do
math.randomseed(tick()*math.random())
local MusicRandom = music[math.random(1, #music)]
if MusicRandom ~= nil then
print'play'
MusicRandom:Play()
local x = MusicRandom.TimeLength
wait(x)
end
end
end
RandMusic()
end

3 comments
The error is not in the script you have above. It is in LoadingScript on line 508
i dont have any other scripts in the game only 1
kingdom; that's actually a CoreScript. It's not a "real" error.