game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) if plr.Name == "AGS5321" then local Card1 = game.ServerStorage.Card1:Clone() local backpack = plr:findFirstChild("Backpack") if backpack then Card1.Parent = backpack end end end) end)
only want card1 to go to certain players but idk what to do from here
You'll probably want to make a table out of the people you'd like to be able to use 'Card1', like so;
Card1People = {"ags531", "saenae", "Telamon"} -- Table of people who can use Card1 game.Players.PlayerAdded:connect(function(newPlayer) newPlayer.CharacterAdded:connect(function(Char) for i, v in pairs(Card1People) do -- Checking if newPlayer's in the table if newPlayer.Name == v then local Card1 = game.ServerStorage.Card1:Clone() local backpack = plr:findFirstChild("Backpack") if backpack then Card1.Parent = backpack end break -- Stopping the loop if he/she gets the card end end end) end)
Hope this helps! :)