Is there any way to solve this?
local id = 268094947
path = game.Workspace.Radio.SurfaceGui.Frame
player = script.Parent.Parent.Parent
if game:GetService("MarketplaceService"):PlayerOwnsAsset(player, id) then
path.Input.Visible = true
path.Play.Visible = true
path.Stop.Visible = true
path.Title.Visible = true
path.Buy.Visible = false
else
path.Input.Visible = false
path.Play.Visible = false
path.Stop.Visible = false
path.Title.Visible = false
path.Buy.Visible = true
end
