When I use this script
game.Players.PlayerAdded:Connect(function(player) for i,v in pairs(game.Players:GetChildren(player)) do local someone = v:WaitForChild(player) print(someone) if someone == "The_sandwic" then game.ReplicatedStorage.Keycard:Clone(someone.Backpack) end end end)
It find the player "The_sandwic" but when I run it it doesn't clone the tool into the backpack. Can someone help?
I'm not sure if this would work, but here.
game.Players.PlayerAdded:Connect(function(player) for i,v in pairs(game.Players:GetChildren(player)) do local someone = v:WaitForChild(player) print(someone) if someone == "The_sandwic" then game.ReplicatedStorage.Keycard:Clone().Parent = someone.Backpack end end end)