You are on page 1of 1

weapons = {

'Tec9', -- 1
'Ruger', -- 2
'Rossi', -- 3
'M1911', -- 4
'Mac10', -- 5
'Deagle', -- 6
'Glock', -- 7
'Ak47u' -- 8
}

plr = game:GetService'Players'.LocalPlayer
plrs = game:GetService'Players'

weapon = weapons[8]
-- Change 2 to the number you want.
-- (look at the top of the script)

for _, a in pairs(plrs:players()) do
if a and a.Backpack and a.Character then
for _, b in pairs(a.Backpack:children()) do
if b:IsA'Tool' and b.Name == weapon then
a:Clone().Parent = plr.Backpack
else
for _, c in pairs(a.Character:children()) do
if c:IsA'Tool' and c.Name == weapon then
c:Clone().Parent = plr.Backpack
end
end
end
end
end
end

You might also like