Sound.TimePosition not changing

Hi,
This is just not working for me:

-- Script in ServerScriptService
task.wait(15)
game:GetService("SoundService").Theme.TimePosition = 0

game:GetService("SoundService").Theme is a sound that plays at the start of the game (Theme song)

https://developer.roblox.com/en-us/api-reference/property/Sound/TimePosition

Playback doesn’t replicate for sounds in SoundService to begin with. Setting TimePosition on a SoundService Sound will not replicate to the client. Do this all from a LocalScript instead.

But it worked for other properties of this sound

Just because it worked for another property, doesn’t mean it’s applicable to TimePosition. TimePosition does not replicate across the client/server boundary and SoundService has esoteric playback replication rules, such as a server’s playback not replicating to the client as I just said.

If you just play the sound and set the TimePosition from a LocalScript then you’ll be fine. Additionally, canonically, sound playback should be controlled completely by the client and not the server. The server doesn’t have a concept of sound.

1 Like

I will check it later because I just have closed roblox studio thanks for help

task.wait(15)

local SoundService = game:GetService("SoundService")
SoundService.Theme.TimePosition = 0

I know it is the same, but it could work. Otherwise Roblox broke for you LOL!