As the title suggests, what I'm trying do is when a button upon a SurfaceGui is clicked, a Gui inside the SurfaceGui is cloned into the Player's PlayerGui.
script.Parent.MouseButton1Click:connect(function(player)
clone=script.Parent.CheckIn:Clone()
clone.Parent=player.PlayerGui
if game:GetService("MarketplaceService"):PlayerOwnsAsset(player,311514562) then
clone.Frame.Pro.Value=true
print("Owns Pro")
elseif game:GetService("MarketplaceService"):PlayerOwnsAsset(player,311513602) then
clone.Frame.Eco.Value=true
end
end)
