I would like to know how to get the name of the newest child that has been added to the players back pack?
You could use the ChildAdded event.
1 Like
As @ItzMeZeus_IGotHacked stated, you should use ChildAdded, which has the first parameter as the child which was added.
local Players = game:GetService("Players")
local Client = Players.LocalPlayer
Client.Backpack.ChildAdded:Connect(function(child)
print(child.Name)
end)
2 Likes
Ok thank you,
I will test it now