Im having a issue with networking for some reason.
Server side code
util.AddNetworkString("EndRoundSong") net.Start( "EndRoundSong" ) net.WriteString( EndRoundMusic.song ) net.WriteString( result ) net.Broadcast()
This is the client side code
net.Receive("EndRoundSong", function() local song = net.ReadString() or "" local winners = net.ReadString() or "" LocalPlayer():ChatPrint( "Song: "..song ) sound.PlayFile( song, "mono", function( station ) if IsValid( station ) then EndRoundMusic.Station = station EndRoundMusic.Station:Play() end) end)
Currently the issue is the client isn’t receiving anything not even running the function in net.Receive() i debugged what I’m sending and every value is set before it is sent.