You can Simplify it even more :
game.Players.ChildAdded:Connect(function(player)
player.CharacterAdded:Wait()--Wait Until The player is loaded
local humanoid = player.Character:WaitForChild("Humanoid")
print(humanoid)
end)
You can Simplify it even more :
game.Players.ChildAdded:Connect(function(player)
player.CharacterAdded:Wait()--Wait Until The player is loaded
local humanoid = player.Character:WaitForChild("Humanoid")
print(humanoid)
end)