I am making a script that when a music function is called, it changes UI on the players.
for i,v in pairs(game.Players:GetChildren()) do
local get = game:GetService("MarketplaceService"):GetProductInfo(thisfunctionssong)
v.PlayerGui.MusicTips.Hint.Text = get.Name
end
As I see it, the script should work, but for whatever reason, it shows something about the sky.
As far as I know, the sky has nothing to do with the players and is not placed into it.
It looks like you have a Skybox in Players for some reason. I’d figure out what’s creating that but the quick solution is to use :GetPlayers() instead of :GetChildren()
Also, it’s best practice to modify Guis on the client, not the server. I’d recommend using a RemoteEvent instead