So this script won't work. I putted the script in workspace. It's suppost to print out the sound name but for some reason it doesn't. Can anyone fix this?
while wait(0.1) do print(game:GetService("MarketplaceService"):GetProductInfo(tonumber(game.Workspace.SoundFolder.GLOBAL_SOUND.SoundId,0)).Name) end
Thanks in advanced
Taken from the Roblox Wiki:
local Asset = game:GetService("MarketplaceService"):GetProductInfo(125378389) --id here print(Asset.Name .. " :: " .. Asset.Description)
Please accept my answer if this helped!
I don't understand 100% what you need but printing is in output, and if you wan't it in chat this would work:
wait(0.1) bc = BrickColor.new("Dark stone grey") game.StarterGui:SetCore("ChatMakeSystemMessage", { Text = "(Put name of song) is playing now!"; Font = Enum.Font.Cartoon; Color = bc.Color; FontSize = Enum.FontSize.Size96; })
And put the script in ServerScriptStorage! If the script of mine isn't the right script you need, It could be a problem of yours because it isn't in ServerScriptService! I hope I helped you out!
-Gamer_io