I have a problem where I have a script that is supposed to play music. When I tested it on Roblox Studio it worked fine. Now in play mode in a server, it isn't working! Help!?
playmusic = game.SoundService.Floodwater -- Variables playmusic:play() wait(10) playmusic:stop()
This is working perfectly on test, not in play mode, remember that.
If you use a localscript add a wait(.5) at the first top, or first line, of the script. This allows for the player to load first instead of the script starting before the player inherits it.
try this
playmusic = game.SoundService.Floodwater -- Variables wait(3) playmusic:play() wait(10) playmusic:stop()