hi, what i’m trying to make is to play a sound locally, based on a value in a BoolValue in serverstorage, which is estabilished in a serverscript. here is my script, why doesn’t it work? (local script in starter gui)
local Soundservice = game.SoundService
local Player = game.Players.LocalPlayer
local gameinprogress = game.ServerStorage.GameValues.GameInProgress
if gameinprogress.Value == false then
Soundservice.Theme.Playing = false
Soundservice.Map.Playing = false
Soundservice.countdown.Playing = false
end
gameinprogress:GetPropertyChangedSignal("Value"):Connect(function()
if gameinprogress.Value == true then
Soundservice.Theme.Playing = false
Soundservice.Map.Playing = true
Soundservice.countdown.Playing = false
end
end)
GameInProgress is a BoolValue btw