I tried to run this code and it is not returning anything. And when I say anything, I mean anything at all.
local MarketplaceService = game:GetService("MarketplaceService")
local getName = game.ReplicatedStorage:WaitForChild("getName")
local plr = game.Players.LocalPlayer
local module = require(script.Module)
local radio = module:GetRadio(plr)
local function getNameInfo(plr)
print("1")
local radio = module.GetRadio(plr)
local sound = radio:WaitForChild("Music")
local stuf = MarketplaceService:GetProductInfo(sound.SoundId)
return stuf.Name
end
getName.OnServerInvoke = getNameInfo
and it returns nothing, setting a TextLabel’s text to the value does not change the text at all.
the
print("1!")
does not even print in the output, can anybody help explain this to me please? Thanks!