Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Sound Gets Changed on The Server, Not on Clients?

Asked by
INOOBE_YT 387 Moderation Voter
5 years ago

I have a server script that plays and stops music. The problem is that the change on the server does not replicate to the clients. This is the code snippet:

game.SoundService["Sound Track"].Fight:Stop()
game.SoundService["Sound Track"].Build:Play()

This actually works just once, but then stops working. Any reason why it doesn't replicate?

1
place the sounds in workspace and test if it works hellmatic 1523 — 5y
0
da hecc it works in workspace wot INOOBE_YT 387 — 5y

1 answer

Log in to vote
0
Answered by
LuaDLL 253 Moderation Voter
5 years ago

Use a script and put a local function in it maybe

Try this

local function Play()
    game.SoundService["Sound Track"].Fight:Stop()
    game.SoundService["Sound Track"].Build:Play()
end

Dont know if it will work Just a quick thing i thought of

0
That wouldn't make a difference Rare_tendo 3000 — 5y
Ad

Answer this question