This is a script inside the Workspace.It should give a tool to a certain player that has a certain name but's not working , neither I don't have any errors.
function Add(Player)
Player:WaitForDataReady()
if Player.Name == "brokenrares" then -- Already tried with "Player" name but didn't work
game.Lighting.Emi:clone().Parent = Player.Backpack
end
end
game.Players.PlayerAdded:connect(Add)

1 comment
I believe ":WaitForDataReady()" is meant to be used if you have a large amount of data to fetch via Data Store. If you're not using Data Store, then I believe that the likely behavior of the script will wait until a set of data is fetched.