I have a seemingly simple jukebox script that doesn’t work, with the error “Could not download sound data.”
This is my code.
script.Parent.MouseButton1Click:Connect(function()
local plots = workspace:WaitForChild("Plots")
local function getPlot()
return plots:FindFirstChild(game.Players.LocalPlayer.Name .. "'s Plot"):FindFirstChild("BuildPlot")
end
local function Sound()
local plot = getPlot()
if plot then
return plot:FindFirstChild("Jukebox"):FindFirstChild("Main"):FindFirstChild("Sound")
else
return nil
end
end
local JB = Sound()
Sound().SoundId = "rbxassetid//"..script.Parent.Parent.br.Text
end)
Ignore the overcomplex finding code, it’s a long story.
Late reply, but, I’m assuming this problem is due to the server changing this and trying to change this value to the same thing it was last time, while the client changes the value, meaning this doesn’t change on the client but the server says differently.