game.ReplicatedStorage.GetBag.OnServerEvent:Connect(function(player, bag)
& local a = game.Workspace.Bags:FindFirstChild(bag):Clone()
a.Parent = player.Character
a.Handle.Anchored = false
player.bagName.Value = bag
end)
For some reason it says 'argument 1 missing or nil' in the place where the ampersand(&) is. Can anybody help?

2 comments
it means 'bag' doesn't exist
is it possible that 'bag' was created on the client? it won't be replicated otherwise