I need help with a server music system

I have made a system for playing music on the server of my game. It gets the assetID of the song from a textbox on the client, but my issue is that, as of now, the user has to put “rbxassetid://” in front of the song’s ID. Is there a way around this? Thanks.

Local script: image hosted at ImgBB — ImgBB

Server script: image hosted at ImgBB — ImgBB

sound.SoundId = "rbxassetid://" .. assetID
1 Like

This works, thank you so much.