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?
:FindFirstChild
takes a string, because it for an instance by its name. local a = game.Workspace.Bags:FindFirstChild(bag.Name):Clone()
.