This script is to clone a gun on click yet I can get loads of the same one I only want one is there a way to do that. This is the script that is in it
script.Parent.ClickDetector.MouseClick:Connect(function(player)
game:GetService("InsertService"):LoadAsset(5354029446):GetChildren()[1].Parent = player.Backpack
end

2 comments
Thanks for the help but it still manages to produce this error " Workspace.Gun Room.Guns.GunA.GiveItemScript:7: Expected ')' (to close '(' at line 2), got "
I fixed it.