I was hoping on play a song while my loading screen is playing however it doesn't want to play music and I am stumped I was hoping that you guy could help me. (PS I plan on adding more things to the screen but I need to get the sound in) If it helps, I was hoping to have the loading screen displayed as long as the Song plays. Here is the script-
local PlayerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
PlayerGui:SetTopbarTransparency(0)
local screen = Instance.new("ScreenGui")
screen.Parent = PlayerGui
local textLabel = Instance.new("TextLabel")
textLabel.Parent = screen
textLabel.Text = "Welcome to the City of bloxbury"
textLabel.Size = UDim2.new(1,0,1,0)
textLabel.FontSize = Enum.FontSize.Size14
textLabel.Font = Enum.Font.SourceSansLight
local sound = Instance.new.sound(334321597)
timelength = (60)
game.ReplicatedFirst:RemoveDefaultLoadingScreen()
local count = 0
local start = tick (1)
while tick(60)- start < 6 do
textLabel.Text = "Almost done" .. string.rep(".",count)
wait(.3)
end
