I'm wondering if you guy could guide into the correct path of categorizing my weapons in groups like "Primary" and "Secondary" so it could be easier to go about making a code that would allow the user to have only one of each category. I would also like to know how what I would have to add into my script
local ToolPickup = game.Lighting.ToolPickup
ToolPickup.OnServerEvent:Connect(function(Player)
game.Lighting.Uzi:Clone().Parent = Player.Backpack
game.Workspace.Part:Destroy()
end)
so it would make that if the player already has a one primary and secondary, he would have to trade the previous gun in that category to pick up the new one.

1 comment
How would I add my other weapon which is an G36 and a primary into the script? Do I create a new local and implement it into the script or do I create a new script all together for that weapon? (I named it Part2)