can I get your help for my script I Dont see whats wrong and woud like to add multiple tools Like guns and make it a team color 01 game:GetService("Players").PlayerAdded:Connect(function(plr) 02 local rank = plr:GetRankInGroup(4207836) 03 04 -- You can also say: plr.GetRankInGroup(plr, 4207836) . The above line is syntax sugar for plr.GetRankInGroup(plr, 4207836) 05 06 if rank >= 100 then 07 -- the > was behind the =, it's >= not => 08 if plr.TeamColor == BrickColor.new("Really black") then 09 -- BrickColor constructor 10 11 for _, item in pairs(game:GetService("ReplicatedStorage"):GetChildren()) do 12 -- Iterate through the children of replicatedstorage 13 14 if item.Name == "X26" or item.Name == "Handcuffs" then 15 -- if name is x26 or handcuffs 16 item:Clone().Parent = plr.Backpack 17 item:Clone().Parent = plr.StarterGear 18 -- Create clones of the item, clone to backpack and starter gear. StarterGear 19 cloned the item to the backpack when the humanoid dies. 20 21 end 22 end 23 end 24 end 25 end)

1 comment

0

CODE BLOCK.